diff --git a/tox.ini b/tox.ini index 3e387b4..1b9de4b 100644 --- a/tox.ini +++ b/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