summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini22
1 files changed, 15 insertions, 7 deletions
diff --git a/tox.ini b/tox.ini
index 4d8ead2..1606471 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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