mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-04 12:16:53 +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}
|
||||
|
||||
# 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
|
||||
[testenv:flake8]
|
||||
skipsdist = true
|
||||
|
|
@ -132,7 +143,7 @@ ignore = D203
|
|||
# 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.
|
||||
# :-(
|
||||
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
|
||||
import-order-style = google
|
||||
application-import-names = flake8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue