mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 16:34:46 +00:00
Ensure flake8 passes itself in tests
This commit is contained in:
parent
247877b7c5
commit
a152f10d4c
1 changed files with 13 additions and 1 deletions
14
tox.ini
14
tox.ini
|
|
@ -1,7 +1,7 @@
|
||||||
[tox]
|
[tox]
|
||||||
minversion = 1.6
|
minversion = 1.6
|
||||||
envlist =
|
envlist =
|
||||||
py26,py27,py32,py33,py34
|
py25,py26,py27,py32,py33,py34,py27-flake8,py34-flake8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
|
|
@ -10,6 +10,18 @@ commands =
|
||||||
python setup.py test -q
|
python setup.py test -q
|
||||||
python setup.py flake8
|
python setup.py flake8
|
||||||
|
|
||||||
|
[testenv:py27-flake8]
|
||||||
|
basepython = python2.7
|
||||||
|
deps =
|
||||||
|
flake8
|
||||||
|
commands = flake8 {posargs} flake8/
|
||||||
|
|
||||||
|
[testenv:py34-flake8]
|
||||||
|
basepython = python3.4
|
||||||
|
deps =
|
||||||
|
flake8
|
||||||
|
commands = flake8 {posargs} flake8/
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
select = E,F,W
|
select = E,F,W
|
||||||
max_line_length = 79
|
max_line_length = 79
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue