Skip to content

Commit

Permalink
Run flake8 in 2.7 as well, rm bare docs/flake8 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
brechin committed Jun 3, 2019
1 parent e923bc3 commit f1a5983
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
[tox]
envlist =
py27-flake8,
py37-{docs,flake8},
pypy-django{18,19,110,111}-{sqlite,sqlite_file,postgres},
py27-django{18,19,110,111}-{sqlite,sqlite_file,postgres},
py34-django{18,19,110,111,20}-{sqlite,sqlite_file,postgres},
py35-django{18,19,110,111,20,21,22}-{sqlite,sqlite_file,postgres},
py{36,37,py3}-django{111,20,21,22,trunk}-{sqlite,sqlite_file,postgres},
flake8,
docs

[testenv]

Expand All @@ -16,7 +15,6 @@ deps =
coveralls
pytest<4.0
pytest-django
pytest-mysql
py
six==1.11.0
coverage==4.4.2
Expand Down Expand Up @@ -44,6 +42,11 @@ commands =
coverage erase
coverage run -a runtests.py computed_property/tests

[testenv:py27-flake8]
deps = flake8
changedir = {toxinidir}
commands = flake8 .

[testenv:py37-flake8]
deps = flake8
changedir = {toxinidir}
Expand All @@ -56,4 +59,4 @@ commands =
sphinx-build -aEWq -b html . _build/html

[flake8]
exclude = .tox,.git,__pycache__,doc/conf.py,venv/
exclude = .tox,.git,__pycache__,doc/conf.py,venv/

0 comments on commit f1a5983

Please sign in to comment.