diff options
Diffstat (limited to 'tox.ini')
| -rw-r--r-- | tox.ini | 22 |
1 files changed, 15 insertions, 7 deletions
@@ -9,19 +9,13 @@ setenv = VIRTUAL_ENV={envdir} whitelist_externals = true usedevelop = True install_command = pip install {opts} {packages} +isolated_build = True deps = -r{toxinidir}/requirements.txt -r{toxinidir}/requirements-test.txt commands = pytest tests/unit tests/meta {posargs} -[testenv:pep8] -basepython = python3 -envdir={toxworkdir}/lint -deps = -r{toxinidir}/requirements-lint.txt -commands = - flake8 {posargs} . - [testenv:black] basepython = python3 envdir={toxworkdir}/lint @@ -43,6 +37,20 @@ deps = -r{toxinidir}/requirements-lint.txt commands = mypy {posargs} +[testenv:pep8] +basepython = python3 +envdir={toxworkdir}/lint +deps = -r{toxinidir}/requirements-lint.txt +commands = + flake8 {posargs} . + +[testenv:pylint] +basepython = python3 +envdir={toxworkdir}/lint +deps = -r{toxinidir}/requirements-lint.txt +commands = + pylint {posargs} gitlab/ + [testenv:twine-check] basepython = python3 deps = -r{toxinidir}/requirements.txt |
