Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tox.ini #7358

Merged
merged 1 commit into from Aug 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 4 additions & 6 deletions tox.ini
@@ -1,29 +1,27 @@
[tox]
minversion = 2.4
minversion = 3.0
envlist = formatting, py37, py38, py39, py310, pypy, benchmark
skip_missing_interpreters = true
requires = pip >=21.3.1
isolated_build = true

[testenv:pylint]
deps =
-r {toxinidir}/requirements_test_min.txt
pre-commit~=2.13
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing since pre-commit is listed in requirements_test.txt.

-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

Expand Down