mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 18:46:52 +00:00
Add support for 'python -m flake8' on Python >= 2.7; issue #85
This commit is contained in:
parent
6c395673e2
commit
ed6d0398bc
2 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ CHANGES
|
|||
|
||||
- New option ``doctests`` to run Pyflakes checks on doctests too
|
||||
- New option ``jobs`` to launch multiple jobs in parallel
|
||||
- Add support for ``python -m flake8`` on Python 2.7 and Python 3
|
||||
- Fix Git and Mercurial hooks: issues #88, #133, #148 and #149
|
||||
- Fix crashes with Python 3.4 by upgrading dependencies
|
||||
- Fix traceback when running tests with Python 2.6
|
||||
|
|
|
|||
4
flake8/__main__.py
Normal file
4
flake8/__main__.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
from flake8.main import main
|
||||
|
||||
# python -m flake8 (with Python >= 2.7)
|
||||
main()
|
||||
Loading…
Add table
Add a link
Reference in a new issue