https://github.com/galaxyproject/galaxy
Raw File
Tip revision: b8d5f9b64328b1acf3b5b20637b78f8927e9f19a authored by John Chilton on 07 October 2016, 18:45:01 UTC
Version 16.10.6
Tip revision: b8d5f9b
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