summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-05 10:06:50 +0200
committerPierre Sassoulas <pierre.sassoulas@gmail.com>2021-04-05 15:08:27 +0200
commita56ab50fd092b15324913f9f5f4a8be0dbbd74c6 (patch)
tree2549a998d098c8487b16aac731a869ca14368b16 /tox.ini
parentbfc4df900367ed7aefbb2cbb513d1e11e42118b8 (diff)
downloadpylint-git-a56ab50fd092b15324913f9f5f4a8be0dbbd74c6.tar.gz
Autoformat tox.ini after failing to move it to setup.cfg
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini27
1 files changed, 10 insertions, 17 deletions
diff --git a/tox.ini b/tox.ini
index ed58c4d33..08078e9f9 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,7 +3,6 @@ minversion = 2.4
envlist = formatting, py36, py37, py38, py39, pypy, benchmark
skip_missing_interpreters = true
-
[testenv:pylint]
deps =
-r {toxinidir}/requirements_test_min.txt
@@ -11,7 +10,6 @@ deps =
commands =
pre-commit run pylint --all-files
-
[testenv:formatting]
basepython = python3
deps =
@@ -20,7 +18,6 @@ deps =
commands =
pre-commit run --all-files
-
[testenv:mypy]
basepython = python3
deps =
@@ -28,7 +25,6 @@ deps =
commands =
pre-commit run mypy --all-files
-
[testenv]
setenv =
COVERAGE_FILE = {toxinidir}/.coverage.{envname}
@@ -38,14 +34,12 @@ commands =
; Run tests, ensuring all benchmark tests do not run
pytest --benchmark-disable {toxinidir}/tests/ {posargs:}
-
[testenv:spelling]
deps =
-r {toxinidir}/requirements_test.txt
commands =
pytest {toxinidir}/tests/ {posargs:} -k unittest_spelling
-
[testenv:coverage-html]
setenv =
COVERAGE_FILE = {toxinidir}/.coverage
@@ -56,7 +50,6 @@ commands =
coverage combine
coverage html --ignore-errors --rcfile={toxinidir}/.coveragerc
-
[testenv:docs]
changedir = doc/
deps =
@@ -64,7 +57,6 @@ deps =
commands =
sphinx-build -W -b html -d _build/doctrees . _build/html
-
[testenv:benchmark]
deps =
-r {toxinidir}/requirements_test.txt
@@ -73,20 +65,21 @@ commands =
; Run the only the benchmark tests, grouping output and forcing .json output so we
; can compare benchmark runs
pytest --exitfirst \
- --failed-first \
- --benchmark-only \
- --benchmark-save=batch_files \
- --benchmark-save-data \
- --benchmark-autosave {toxinidir}/tests \
- --benchmark-group-by="group" \
- {posargs:}
+ --failed-first \
+ --benchmark-only \
+ --benchmark-save=batch_files \
+ --benchmark-save-data \
+ --benchmark-autosave {toxinidir}/tests \
+ --benchmark-group-by="group" \
+ {posargs:}
[testenv:profile_against_external]
setenv =
PYTEST_PROFILE_EXTERNAL = 1
deps =
-r {toxinidir}/requirements_test.txt
- gprof2dot
+ gprof2dot
commands =
pytest --exitfirst \
- --profile-svg {toxinidir}/tests/profile/test_profile_against_externals.py
+ --profile-svg \
+ {toxinidir}/tests/profile/test_profile_against_externals.py