diff options
author | Marc Mueller <30130371+cdce8p@users.noreply.github.com> | 2021-02-14 22:23:48 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2021-02-20 15:08:49 +0100 |
commit | 0404306c9623fbb13ba64b7591596ba73f65bc31 (patch) | |
tree | 9f351700bab76d91e8e036e92f5edc81d0c922f2 | |
parent | bad6eec57ff001e8af66dfeee14ce250df709124 (diff) | |
download | pylint-git-0404306c9623fbb13ba64b7591596ba73f65bc31.tar.gz |
Update tox.ini formatting
-rw-r--r-- | tox.ini | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -3,6 +3,7 @@ minversion = 2.4 envlist = py36, py37, py38, py39, pypy, pylint, benchmark skip_missing_interpreters = true + [testenv:pylint] deps = git+https://github.com/pycqa/astroid@master @@ -33,6 +34,7 @@ commands = {toxinidir}/tests/unittest_reporters_json.py \ {toxinidir}/tests/unittest_reporting.py + [testenv:formatting] basepython = python3 deps = @@ -43,14 +45,15 @@ commands = pre-commit run --all-files changedir = {toxinidir} + [testenv:mypy] basepython = python3 deps = pre-commit - commands = pre-commit run mypy --all-files + [testenv] deps = https://github.com/PyCQA/astroid/tarball/master#egg=astroid @@ -61,10 +64,8 @@ deps = pytest-xdist pytest-benchmark pytest-profiling - setenv = COVERAGE_FILE = {toxinidir}/.coverage.{envname} - commands = ; Run tests, ensuring all benchmark tests do not run python -Wignore -m coverage run -m pytest --benchmark-disable {toxinidir}/tests/ {posargs:} @@ -82,12 +83,11 @@ deps = pytest pytest-xdist pyenchant - commands = python -Wi -m pytest {toxinidir}/tests/ {posargs:} -k unittest_spelling - changedir = {toxworkdir} + [testenv:coveralls] setenv = COVERAGE_FILE = {toxinidir}/.coverage @@ -103,6 +103,7 @@ commands = - coveralls --rcfile={toxinidir}/.coveragerc changedir = {toxinidir} + [testenv:coverage-erase] setenv = COVERAGE_FILE = {toxinidir}/.coverage @@ -113,6 +114,7 @@ commands = python -m coverage erase changedir = {toxinidir} + [testenv:coverage-html] setenv = COVERAGE_FILE = {toxinidir}/.coverage @@ -124,6 +126,7 @@ commands = python -m coverage html --ignore-errors --rcfile={toxinidir}/.coveragerc changedir = {toxinidir} + [testenv:docs] usedevelop = True changedir = doc/ @@ -132,6 +135,7 @@ extras = commands = sphinx-build -W -b html -d _build/doctrees . _build/html + [testenv:benchmark] deps = https://github.com/PyCQA/astroid/tarball/master#egg=astroid @@ -141,7 +145,6 @@ deps = pytest-xdist pygal pytest-benchmark - commands = ; Run the only the benchmark tests, grouping output and forcing .json output so we ; can compare benchmark runs @@ -163,13 +166,10 @@ deps = pytest pytest-profiling pytest-xdist - setenv = PYTEST_PROFILE_EXTERNAL = 1 - commands = python -Wi -m pytest --exitfirst \ --profile-svg \ {toxinidir}/tests/profile/test_profile_against_externals.py - changedir = {toxworkdir} |