Skip to content

Commit bb0df4a

Browse files
authored
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`.
1 parent 1582e37 commit bb0df4a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tox.ini

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
11
[tox]
2-
minversion = 2.4
2+
minversion = 3.0
33
envlist = formatting, py37, py38, py39, py310, pypy, benchmark
44
skip_missing_interpreters = true
55
requires = pip >=21.3.1
66
isolated_build = true
77

88
[testenv:pylint]
99
deps =
10-
-r {toxinidir}/requirements_test_min.txt
11-
pre-commit~=2.13
10+
-r {toxinidir}/requirements_test.txt
1211
commands =
1312
pre-commit run pylint --all-files
1413

1514
[testenv:formatting]
1615
basepython = python3
1716
deps =
18-
-r {toxinidir}/requirements_test_min.txt
19-
pre-commit~=2.13
17+
-r {toxinidir}/requirements_test.txt
2018
commands =
2119
pre-commit run --all-files
2220

2321
[testenv:mypy]
2422
basepython = python3
2523
deps =
26-
pre-commit~=2.13
24+
pre-commit~=2.20
2725
commands =
2826
pre-commit run mypy --all-files
2927

0 commit comments

Comments
 (0)