swh:1:snp:68efb3baf28256c952b30ae9ecf5cb4fac86eafb
Raw File
Tip revision: 128e8bb103003899478165f75516a198542c2a1e authored by John Chilton on 23 January 2017, 19:35:02 UTC
Version 17.1.2
Tip revision: 128e8bb
tox.ini
# TODO: implement doc linting
[tox]
envlist = py34-lint, py27-lint, py27-lint-readme, py27, py34, py27-lint-docstring, py27-lint-docstring-include-list
source_dir = galaxy
test_dir = tests

[testenv]
commands = {envpython} setup.py nosetests []
deps =
    unittest2
    nose
    coverage
    flask

[testenv:py27-lint]
commands = flake8 {[tox]source_dir} {[tox]test_dir}
skip_install = True
deps =
     flake8
     flake8-import-order

[testenv:py34-lint]
commands = flake8 {[tox]source_dir} {[tox]test_dir}
skip_install = True
deps = flake8

[testenv:py27-lint-readme]
commands = make lint-readme
skip_install = True
whitelist_externals = make
deps =
    readme

[testenv:py27-lint-docstring]
commands = flake8 {[tox]source_dir} {[tox]test_dir}
whitelist_externals = bash
skip_install = True
deps =
    flake8
    flake8-docstrings

[testenv:py27-lint-docstring-include-list]
commands = bash .ci/flake8_wrapper_docstrings.sh
whitelist_externals = bash
skip_install = True
deps =
    flake8
    flake8-docstrings
back to top