Add a dogfood testenv

This commit is contained in:
Ian Cordasco 2016-06-28 13:21:58 -05:00
parent 84af24f240
commit 497f52e4b1
No known key found for this signature in database
GPG key ID: 656D3395E4A9791A

13
tox.ini
View file

@ -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