Skip to content

Commit

Permalink
Merge pull request #1040 from cclauss/patch-1
Browse files Browse the repository at this point in the history
 Run a handful of key flake8 tests on all new PRs
  • Loading branch information
mnaberez committed Jan 12, 2018
2 parents 3fcf16f + 807bbb2 commit 693b982
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ matrix:
env: TOXENV=py36

install:
- travis_retry pip install virtualenv tox pexpect
- travis_retry pip install virtualenv tox pexpect flake8

script:
- travis_retry tox
3 changes: 3 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ commands =
basepython = python2.7
commands =
py.test --cov=supervisor --cov-report=term-missing --cov-report=xml {posargs}
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
deps =
{[testenv]deps}
pytest-cov
flake8

[testenv:cover3]
basepython = python3.6
commands =
py.test --cov=supervisor --cov-report=term-missing --cov-report=xml {posargs}
flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics
deps =
{[testenv:cover]deps}

Expand Down

0 comments on commit 693b982

Please sign in to comment.