hy/tox.ini
Kodi Arfer 4e93fcba8a 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.
2016-11-27 09:54:59 +02:00

16 lines
286 B
INI

[tox]
envlist = py27,pypy,py33,py34,py35,py36,flake8
skipsdist = True
[testenv]
commands =
pip install --allow-all-external -e .
nosetests
passenv =
TERM
deps =
-rrequirements-dev.txt
[testenv:flake8]
commands = flake8 hy bin tests --ignore=E121,E123,E126,E226,E24,E704,W503,E305