Skip to content

Commit a2c7bdf

Browse files
feat: add __main__.py for python -m deadcode support
1 parent 9e98102 commit a2c7bdf

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/deadcode/__main__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""Allow running deadcode as: python -m deadcode"""
2+
from deadcode.cli import main
3+
4+
if __name__ == "__main__":
5+
main()

0 commit comments

Comments
 (0)