mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 08:24:46 +00:00
Add flake8 linting as a testenv
This commit is contained in:
parent
8c872c4bb9
commit
629f796fc1
1 changed files with 12 additions and 1 deletions
13
tox.ini
13
tox.ini
|
|
@ -1,5 +1,6 @@
|
||||||
[tox]
|
[tox]
|
||||||
envlist = py26,py27,py32,py33,py34,py35
|
minversion=2.3.1
|
||||||
|
envlist = py26,py27,py32,py33,py34,py35,flake8
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
|
|
@ -8,6 +9,16 @@ deps =
|
||||||
commands =
|
commands =
|
||||||
py.test {posargs}
|
py.test {posargs}
|
||||||
|
|
||||||
|
[testenv:flake8]
|
||||||
|
skipsdist = true
|
||||||
|
skip_install = true
|
||||||
|
use_develop = false
|
||||||
|
deps =
|
||||||
|
flake8
|
||||||
|
flake8-docstrings
|
||||||
|
commands =
|
||||||
|
flake8
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
# Ignore some flake8-docstrings errors
|
# Ignore some flake8-docstrings errors
|
||||||
ignore = D203
|
ignore = D203
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue