Skip to content

Commit dceb9e5

Browse files
Bump deps and tools (#228)
* Bump deps and tools Committed via https://github.com/asottile/all-repos * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d44bd10 commit dceb9e5

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ repos:
4040
hooks:
4141
- id: rst-backticks
4242
- repo: https://github.com/tox-dev/tox-ini-fmt
43-
rev: "1.0.0"
43+
rev: "1.3.0"
4444
hooks:
4545
- id: tox-ini-fmt
4646
args: ["-p", "fix"]

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build-backend = "hatchling.build"
33
requires = [
44
"hatch-vcs>=0.3",
5-
"hatchling>=1.13",
5+
"hatchling>=1.14",
66
]
77

88
[project]
@@ -41,7 +41,7 @@ optional-dependencies.docs = [
4141
]
4242
optional-dependencies.testing = [
4343
"covdefaults>=2.3",
44-
"coverage>=7.2.2",
44+
"coverage>=7.2.3",
4545
"diff-cover>=7.5",
4646
"pytest>=7.2.2",
4747
"pytest-cov>=4",

tox.ini

+16-16
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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
1515
skip_missing_interpreters = true
1616

1717
[testenv]
@@ -20,9 +20,9 @@ package = wheel
2020
wheel_build_env = .pkg
2121
extras =
2222
testing
23-
passenv =
23+
pass_env =
2424
PYTEST_ADDOPTS
25-
setenv =
25+
set_env =
2626
COVERAGE_FILE = {toxworkdir}{/}.coverage.{envname}
2727
commands =
2828
pytest {tty:--color=yes} {posargs: \
@@ -34,19 +34,19 @@ commands =
3434

3535
[testenv:fix]
3636
description = 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
3838
skip_install = true
3939
deps =
40-
pre-commit>=3.2.1
40+
pre-commit>=3.2.2
4141
commands =
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]
4646
description = run type check on code base
4747
deps =
48-
mypy==1.1.1
49-
setenv =
48+
mypy==1.2
49+
set_env =
5050
{tty:MYPY_FORCE_COLOR = 1}
5151
commands =
5252
mypy --strict src/filelock
@@ -57,13 +57,13 @@ description = combine coverage files and generate diff (against DIFF_AGAINST def
5757
skip_install = true
5858
deps =
5959
covdefaults>=2.3
60-
coverage[toml]>=7.2.2
60+
coverage[toml]>=7.2.3
6161
diff-cover>=7.5
6262
extras =
6363
parallel_show_output = true
64-
passenv =
64+
pass_env =
6565
DIFF_AGAINST
66-
setenv =
66+
set_env =
6767
COVERAGE_FILE = {toxworkdir}/.coverage
6868
commands =
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
7474
depends =
75-
py310
7675
py311
77-
py37
78-
py38
76+
py310
7977
py39
78+
py38
79+
py37
8080

8181
[testenv:docs]
8282
description = build documentation
@@ -99,7 +99,7 @@ commands =
9999

100100
[testenv:dev]
101101
description = generate a DEV environment
102-
usedevelop = true
102+
package = editable
103103
extras =
104104
docs
105105
testing

0 commit comments

Comments
 (0)