summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMark Byrne <31762852+mbyrnepr2@users.noreply.github.com>2022-08-26 09:13:12 +0200
committerGitHub <noreply@github.com>2022-08-26 09:13:12 +0200
commitbb0df4aa205955064b962627e91135b773fa932a (patch)
tree3b262ef38d63a7b030721b074000995f1f2f70da /tox.ini
parent1582e37982a174bc6be734f317f575b692a2f88f (diff)
downloadpylint-git-bb0df4aa205955064b962627e91135b773fa932a.tar.gz
Update `tox.ini` (#7358)
- Install `requirements_test.txt` into `formatting` & `pylint` environments. `import-error` was showing during the `pylint` run for `contributors-txt` & `colorama` in these two environments. - Bump `minversion` to match the version in `requirements_test.txt`. - Bump `pre-commit` dependency version in the `mypy` environment to match the version in `requirements_test.txt`.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini10
1 files changed, 4 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index dde697d5f..4a8f67dbe 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
[tox]
-minversion = 2.4
+minversion = 3.0
envlist = formatting, py37, py38, py39, py310, pypy, benchmark
skip_missing_interpreters = true
requires = pip >=21.3.1
@@ -7,23 +7,21 @@ isolated_build = true
[testenv:pylint]
deps =
- -r {toxinidir}/requirements_test_min.txt
- pre-commit~=2.13
+ -r {toxinidir}/requirements_test.txt
commands =
pre-commit run pylint --all-files
[testenv:formatting]
basepython = python3
deps =
- -r {toxinidir}/requirements_test_min.txt
- pre-commit~=2.13
+ -r {toxinidir}/requirements_test.txt
commands =
pre-commit run --all-files
[testenv:mypy]
basepython = python3
deps =
- pre-commit~=2.13
+ pre-commit~=2.20
commands =
pre-commit run mypy --all-files