Skip to content

Commit

Permalink
Add __main__.py (#612)
Browse files Browse the repository at this point in the history
* Add __main__.py

This allows you to use python -m proselint.

* Add a docstring to __main__.py

* Fix pep257 issue
  • Loading branch information
asmeurer authored and suchow committed Sep 4, 2016
1 parent a027619 commit a71d77c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions proselint/__main__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
"""
__main__.py.
This lets you run python -m proselint.
"""

from .command_line import proselint

if __name__ == '__main__':
proselint()

0 comments on commit a71d77c

Please sign in to comment.