Skip to content

Commit

Permalink
Add linting to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesn committed Feb 2, 2017
1 parent f31db94 commit ccd76e8
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions tox.ini
Expand Up @@ -3,7 +3,10 @@
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[pep8]
[tox]
envlist = py27,py36

[pycodestyle]
ignore = E226
max-line-length = 120

Expand All @@ -13,11 +16,11 @@ addopts =
--cov-report html --cov-report term --junitxml=pytest.xml
--cov pyls --cov test

[tox]
envlist = py27,py36

[testenv]
commands = py.test
commands =
pycodestyle pyls
pyflakes pyls
py.test
deps =
pytest
coverage
Expand Down

0 comments on commit ccd76e8

Please sign in to comment.