flake8Code checking using pep8 and pyflakes | |
Download |
flake8 Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Publisher Name:
- Tarek Ziade
- Publisher web site:
- http://bitbucket.org/tarek/
flake8 Tags
flake8 Description
Code checking using pep8 and pyflakes flake8 is a merge of the PyFlakes and the pep8 projects into one single Python script.It runs both tests by launching the single 'flake8' script, but ignores pep8 options and just uses its defaults.It also adds a few features: * lines that contains a "# NOQA" comment at the end will not issue a warning * merging pep8 and pyflakes options * a Mercurial hook * more things to come..Original projects: * pep8: http://github.com/jcrocholl/pep8/ * PyFlakes: http://divmod.org/trac/wiki/DivmodPyflakesMercurial hookTo use the Mercurial hook on any commit or qrefresh, change your .hg/rc file like this:commit = python:flake8.hg_hookqrefresh = python:flake8.hg_hookstrict = 0If strict option is set to 1, any warning will block the commit. When strict is set to 0, warnings are just displayed in the standard output. Requirements: · Python
flake8 Related Software