jorisroovers / gitlint

Linting for your git commit messages
http://jorisroovers.github.io/gitlint
MIT License
787 stars 99 forks source link

python -m support #552

Open tucked opened 1 week ago

tucked commented 1 week ago
/usr/local/pyenv/versions/3.8.18/bin/python3: No module named gitlint.__main__; 'gitlint' is a package and cannot be directly executed

It'd be handy to be able to invoke gitlint via python -m gitlint. This can be supported by adding a __main__.py which calls gitlint.cli:cli.