- Bug Do not raise a
SystemError
unless there were errors in the setuptools command. (GitLab#39, GitLab!23) - Bug Do not verify dependencies of extensions loaded via entry-points.
- Improvement Blacklist versions of pep8 we know are broken
Bug Print filenames when using multiprocessing and
-q
option. (GitLab#31)Bug Put upper cap on dependencies. The caps for 2.4.0 are:
pep8 < 1.6
(Related to GitLab#35)mccabe < 0.4
pyflakes < 0.9
See also GitLab#32
Bug Files excluded in a config file were not being excluded when flake8 was run from a git hook. (GitHub#2)
Improvement Print warnings for users who are providing mutually exclusive options to flake8. (GitLab#8, GitLab!18)
Feature Allow git hook configuration to live in
.git/config
. See the updated VCS hooks docs for more details. (GitLab!20)
- Feature: Add
--output-file
option to specify a file to write to instead ofstdout
. - Bug Fix interleaving of output while using multiprocessing (GitLab#17)
- Flush standard out when using multiprocessing
- Make the check for "# flake8: noqa" more strict
Fix bugs triggered by turning multiprocessing on by default (again)
Multiprocessing is forcibly disabled in the following cases:
- Passing something in via stdin
- Analyzing a diff
- Using windows
Fix --install-hook when there are no config files present for pep8 or flake8.
Fix how the setuptools command parses excludes in config files
Fix how the git hook determines which files to analyze (Thanks Chris Buccella!)
- Actually turn multiprocessing on by default
- Re-enable multiprocessing by default while fixing the issue Windows users were seeing.
- Turn off multiple jobs by default. To enable automatic use of all CPUs, use
--jobs=auto
. Fixes #155 and #154.
- New option
doctests
to run Pyflakes checks on doctests too - New option
jobs
to launch multiple jobs in parallel - Turn on using multiple jobs by default using the CPU count
- 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
- Fix the setuptools command
python setup.py flake8
to read the project configuration
- Add FLAKE8_LAZY and FLAKE8_IGNORE environment variable support to git and mercurial hooks
- Force git and mercurial hooks to repsect configuration in setup.cfg
- Only check staged files if that is specified
- Fix hook file permissions
- Fix the git hook on python 3
- Ignore non-python files when running the git hook
- Ignore .tox directories by default
- Flake8 now reports the column number for PyFlakes messages
- Pyflakes errors are prefixed by an
F
instead of anE
- McCabe complexity warnings are prefixed by a
C
instead of aW
- Flake8 supports extensions through entry points
- Due to the above support, we require setuptools
- We publish the documentation
- Fixes #13: pep8, pyflakes and mccabe become external dependencies
- Split run.py into main.py, engine.py and hooks.py for better logic
- Expose our parser for our users
- New feature: Install git and hg hooks automagically
- By relying on pyflakes (0.6.1), we also fixed #45 and #35
- Fixes part of #35: Exception for no WITHITEM being an attribute of Checker for Python 3.3
- Support stdin
- Incorporate @phd's builtins pull request
- Fix the git hook
- Update pep8.py to the latest version
- fixed the NameError: global name 'message' is not defined (#46)
- fixed the mercurial hook, a change from a previous patch was not properly applied
- fixed an assumption about warnings/error messages that caused an exception to be thrown when McCabe is used
- changed the signatures of the
check_file
function in flake8/run.py,skip_warning
in flake8/util.py and thecheck
,checkPath
functions in flake8/pyflakes.py. - fix
--exclude
and--ignore
command flags (#14, #19) - fix the git hook that wasn't catching files not already added to the index (#29)
- pre-emptively includes the addition to pep8 to ignore certain lines.
Add
# nopep8
to the end of a line to ignore it. (#37) check_file
can now be used without any special prior setup (#21)- unpacking exceptions will no longer cause an exception (#20)
- fixed crash on non-existent file (#38)
- fixed the stdin
- make sure mccabe catches the syntax errors as warnings
- pep8 upgrade
- added max_line_length default value
- added Flake8Command and entry points if setuptools is around
- using the setuptools console wrapper when available
- git_hook: Only check staged changes for compliance
- use pep8 1.2
- fixed support for Python 2.5
- fixed false W402 warning on exception blocks.
- added a git hook
- now Python 3 compatible
- mccabe and pyflakes have warning codes like pep8 now
- fixed the value returned by --version
- allow the flake8: header to be more generic
- fixed the "hg hook raises 'physical lines'" bug
- allow three argument form of raise
- now uses setuptools if available, for 'develop' command
- Deactivates by default the complexity checker
- Introduces the complexity option in the HG hook and the command line.
- update pep8 version to 0.6.1
- mccabe check: gracefully handle compile failure
- fixed hg hook
- discard unexisting files on hook check
- Fix pep8 initialization when run through Hg
- Make pep8 short options work when run through the command line
- Skip duplicates when controlling files via Hg
- Fix the McCabe metric on some loops