This commit is contained in:
avk 2016-02-19 22:13:39 +01:00
commit 033ac0bbad
2 changed files with 4 additions and 13 deletions

View File

@ -16,7 +16,6 @@ env:
- TESTENV=unittests-nodisp - TESTENV=unittests-nodisp
- TESTENV=misc - TESTENV=misc
- TESTENV=vulture - TESTENV=vulture
- TESTENV=pydocstyle
- TESTENV=flake8 - TESTENV=flake8
- TESTENV=pyroma - TESTENV=pyroma
- TESTENV=check-manifest - TESTENV=check-manifest
@ -52,8 +51,6 @@ matrix:
env: TESTENV=misc env: TESTENV=misc
- os: osx - os: osx
env: TESTENV=vulture env: TESTENV=vulture
- os: osx
env: TESTENV=pydocstyle
- os: osx - os: osx
env: TESTENV=flake8 env: TESTENV=flake8
- os: osx - os: osx

14
tox.ini
View File

@ -4,7 +4,7 @@
# and then run "tox" from this directory. # and then run "tox" from this directory.
[tox] [tox]
envlist = py34,py35-cov,misc,vulture,pydocstyle,flake8,pylint,pyroma,check-manifest envlist = py34,py35-cov,misc,vulture,flake8,pylint,pyroma,check-manifest
[testenv] [testenv]
# https://bitbucket.org/hpk42/tox/issue/246/ - only needed for Windows though # https://bitbucket.org/hpk42/tox/issue/246/ - only needed for Windows though
@ -149,13 +149,6 @@ commands =
{envpython} -m pylint scripts qutebrowser --output-format=colorized --reports=no {envpython} -m pylint scripts qutebrowser --output-format=colorized --reports=no
{envpython} scripts/dev/run_pylint_on_tests.py --output-format=colorized --reports=no {envpython} scripts/dev/run_pylint_on_tests.py --output-format=colorized --reports=no
[testenv:pydocstyle]
basepython = python3
skip_install = true
passenv = PYTHON LANG
deps = pydocstyle==1.0.0
commands = {envpython} -m pydocstyle scripts tests qutebrowser
[testenv:flake8] [testenv:flake8]
basepython = python3 basepython = python3
passenv = passenv =
@ -174,8 +167,9 @@ deps =
flake8-deprecated==0.2 flake8-deprecated==0.2
flake8-mock==0.2 flake8-mock==0.2
flake8-pep3101==0.2 flake8-pep3101==0.2
flake8-pep257==1.0.5 flake8-docstrings==0.2.5
pep257==0.7.0 pep257==0.7.0 # still needed by flake8-docstrings but ignored
pydocstyle==1.0.0
commands = commands =
{envpython} -m flake8 {envpython} -m flake8