mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-14 16:34:46 +00:00
Add a dogfood testenv
This commit is contained in:
parent
84af24f240
commit
497f52e4b1
1 changed files with 12 additions and 1 deletions
13
tox.ini
13
tox.ini
|
|
@ -14,6 +14,17 @@ deps =
|
||||||
.
|
.
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
|
# Dogfood our current mastera version
|
||||||
|
[testenv:dogfood]
|
||||||
|
skip_install = true
|
||||||
|
deps =
|
||||||
|
wheel
|
||||||
|
commands =
|
||||||
|
python setup.py -qq bdist_wheel
|
||||||
|
pip install --pre --find-links ./dist/ flake8
|
||||||
|
flake8 --version
|
||||||
|
flake8 src/flake8/ tests/ setup.py
|
||||||
|
|
||||||
# Linters
|
# Linters
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
skipsdist = true
|
skipsdist = true
|
||||||
|
|
@ -132,7 +143,7 @@ ignore = D203
|
||||||
# NOTE(sigmavirus24): Once we release 3.0.0 this exclude option can be specified
|
# NOTE(sigmavirus24): Once we release 3.0.0 this exclude option can be specified
|
||||||
# across multiple lines. Presently it cannot be specified across multiple lines.
|
# across multiple lines. Presently it cannot be specified across multiple lines.
|
||||||
# :-(
|
# :-(
|
||||||
exclude = .tox,.git,__pycache__,docs/source/conf.py,build,dist,tests/fixtures/*,*.pyc
|
exclude = .tox,.git,__pycache__,docs/source/conf.py,build,dist,tests/fixtures/*,*.pyc,*.egg-info,./.cache,./.eggs
|
||||||
max-complexity = 10
|
max-complexity = 10
|
||||||
import-order-style = google
|
import-order-style = google
|
||||||
application-import-names = flake8
|
application-import-names = flake8
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue