From f6e3dc97d0ecf1caa310b377ae948338c6fa67b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bern=C3=A1t=20G=C3=A1bor?= Date: Wed, 5 Apr 2023 09:20:49 -0700 Subject: Bump deps and tools (#2976) --- tox.ini | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index f86aedf6..61f87461 100644 --- a/tox.ini +++ b/tox.ini @@ -1,4 +1,5 @@ [tox] +minversion = 3.22 envlist = fix py311 @@ -12,18 +13,19 @@ envlist = pkg_meta isolated_build = true skip_missing_interpreters = true -minversion = 3.22 [testenv] description = run the tests with pytest under {envname} +package = wheel +wheel_build_env = .pkg +extras = + testing passenv = PYTEST_* SSL_CERT_FILE setenv = COVERAGE_FILE = {env:COVERAGE_FILE:{toxworkdir}{/}.coverage.{envname}} COVERAGE_PROCESS_START = {toxinidir}{/}pyproject.toml -extras = - testing commands = pytest {posargs: \ --junitxml {toxworkdir}{/}junit.{envname}.xml --cov {envsitepackagesdir}{/}tox --cov {toxinidir}{/}tests \ @@ -33,17 +35,15 @@ commands = -n={env:PYTEST_XDIST_AUTO_NUM_WORKERS:auto} \ tests --durations 5 --run-integration} diff-cover --compare-branch {env:DIFF_AGAINST:origin/main} {toxworkdir}{/}coverage.{envname}.xml -package = wheel -wheel_build_env = .pkg [testenv:fix] description = format the code base to adhere to our styles, and complain about what we cannot do automatically +skip_install = true +deps = + pre-commit>=3.2.1 passenv = {[testenv]passenv} PROGRAMDATA -skip_install = true -deps = - pre-commit>=3.2 commands = pre-commit run --all-files --show-diff-on-failure {posargs} python -c 'print(r"hint: run {envbindir}{/}pre-commit install to add checks as pre-commit hook")' @@ -52,8 +52,8 @@ commands = description = run type check on code base deps = mypy==1.1.1 - types-cachetools>=5.3.0.4 - types-chardet>=5.0.4.2 + types-cachetools>=5.3.0.5 + types-chardet>=5.0.4.3 commands = mypy src/tox mypy tests -- cgit v1.2.1