11[tox]
2- minversion = 4
3- envlist =
2+ requires =
3+ tox>=4.2
4+ env_list =
45 fix
56 py311
67 py310
@@ -11,7 +12,6 @@ envlist =
1112 coverage
1213 docs
1314 readme
14- isolated_build = true
1515skip_missing_interpreters = true
1616
1717[testenv]
@@ -20,9 +20,9 @@ package = wheel
2020wheel_build_env = .pkg
2121extras =
2222 testing
23- passenv =
23+ pass_env =
2424 PYTEST_ADDOPTS
25- setenv =
25+ set_env =
2626 COVERAGE_FILE = {toxworkdir}{/}.coverage.{envname}
2727commands =
2828 pytest {tty:--color =yes} {posargs: \
@@ -34,19 +34,19 @@ commands =
3434
3535[testenv:fix]
3636description = format the code base to adhere to our styles, and complain about what we cannot do automatically
37- basepython = python3.10
37+ base_python = python3.10
3838skip_install = true
3939deps =
40- pre-commit>=3.2.1
40+ pre-commit>=3.2.2
4141commands =
4242 pre-commit run --all-files --show-diff-on-failure
4343 python -c ' import pathlib; print("hint: run \{\} install to add checks as pre-commit hook".format(pathlib.Path(r"{envdir}") / "bin" / "pre-commit"))'
4444
4545[testenv:type]
4646description = run type check on code base
4747deps =
48- mypy ==1.1.1
49- setenv =
48+ mypy ==1.2
49+ set_env =
5050 {tty:MYPY_FORCE_COLOR = 1}
5151commands =
5252 mypy --strict src/filelock
@@ -57,13 +57,13 @@ description = combine coverage files and generate diff (against DIFF_AGAINST def
5757skip_install = true
5858deps =
5959 covdefaults>=2.3
60- coverage[toml]>=7.2.2
60+ coverage[toml]>=7.2.3
6161 diff-cover>=7.5
6262extras =
6363parallel_show_output = true
64- passenv =
64+ pass_env =
6565 DIFF_AGAINST
66- setenv =
66+ set_env =
6767 COVERAGE_FILE = {toxworkdir}/.coverage
6868commands =
6969 coverage combine
@@ -72,11 +72,11 @@ commands =
7272 coverage html -d {toxworkdir}/htmlcov
7373 diff-cover --compare-branch {env:DIFF_AGAINST:origin/main} {toxworkdir}/coverage.xml
7474depends =
75- py310
7675 py311
77- py37
78- py38
76+ py310
7977 py39
78+ py38
79+ py37
8080
8181[testenv:docs]
8282description = build documentation
@@ -99,7 +99,7 @@ commands =
9999
100100[testenv:dev]
101101description = generate a DEV environment
102- usedevelop = true
102+ package = editable
103103extras =
104104 docs
105105 testing
0 commit comments