Ignore a new Flake8 whitespace error (#1158)

Ignore a new Flake8 whitespace error

Fixes #1157.

The new check is E305. Since we're now using the `--ignore` option, we have to list all the checks that are ignored by default, too.

I decided that ignoring E305 was better than changing the whitespace it was complaining about because, in at least some cases in our current codebase, single blank lines are used to indicate that several top-level definitions are associated with each other. Don't try to ignore the undocumented Flake8 error W504.
This commit is contained in:
Kodi Arfer 2016-11-26 23:54:59 -08:00 committed by Tuukka Turto
parent c5ccd6c852
commit 4e93fcba8a
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ tox: venv
tox
flake:
flake8 hy tests
flake8 hy tests --ignore=E121,E123,E126,E226,E24,E704,W503,E305
clear:
clear

View File

@ -12,4 +12,4 @@ deps =
-rrequirements-dev.txt
[testenv:flake8]
commands = flake8 hy bin tests
commands = flake8 hy bin tests --ignore=E121,E123,E126,E226,E24,E704,W503,E305