Skip to content

Commit e13b430

Browse files
feat: add __main__.py for python -m deadcode support (#21)
1 parent 4f84bb2 commit e13b430

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)