Skip to content

Commit ce2f37c

Browse files
[pre-commit.ci] pre-commit autoupdate (#428)
Co-authored-by: Bernát Gábor <[email protected]>
1 parent 252ed89 commit ce2f37c

File tree

4 files changed

+23
-21
lines changed

4 files changed

+23
-21
lines changed

.github/workflows/check.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
python-version: "3.12"
3333
- name: Install tox
34-
run: python -m pip install tox
34+
run: python -m pip install tox-uv
3535
- uses: actions/checkout@v4
3636
with:
3737
fetch-depth: 0
@@ -80,7 +80,7 @@ jobs:
8080
with:
8181
python-version: "3.12"
8282
- name: Install tox
83-
run: python -m pip install tox
83+
run: python -m pip install tox-uv
8484
- name: Setup coverage tool
8585
run: tox -e coverage --notest
8686
- name: Install package builder

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
rev: "1.7.0"
2424
hooks:
2525
- id: pyproject-fmt
26-
additional_dependencies: ["tox>=4.12.1"]
26+
additional_dependencies: ["tox>=4.13"]
2727
- repo: https://github.com/astral-sh/ruff-pre-commit
2828
rev: "v0.2.1"
2929
hooks:

pyproject.toml

+13-10
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
build-backend = "hatchling.build"
33
requires = [
44
"hatch-vcs>=0.4",
5-
"hatchling>=1.18",
5+
"hatchling>=1.21.1",
66
]
77

88
[project]
@@ -41,19 +41,19 @@ dependencies = [
4141
"Sphinx>=7.1.2",
4242
]
4343
optional-dependencies.docs = [
44-
"furo>=2023.9.10",
44+
"furo>=2024.1.29",
4545
]
4646
optional-dependencies.numpy = [
4747
"nptyping>=2.5",
4848
]
4949
optional-dependencies.testing = [
5050
"covdefaults>=2.3",
51-
"coverage>=7.3.2",
52-
"diff-cover>=8.0.1",
53-
"pytest>=7.4.3",
51+
"coverage>=7.4.2",
52+
"diff-cover>=8.0.3",
53+
"pytest>=8.0.1",
5454
"pytest-cov>=4.1",
5555
"sphobjinv>=2.3.1",
56-
"typing-extensions>=4.8",
56+
"typing-extensions>=4.9",
5757
]
5858
urls.Changelog = "https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md"
5959
urls.Homepage = "https://github.com/tox-dev/sphinx-autodoc-typehints"
@@ -69,7 +69,7 @@ line-length = 120
6969

7070
[tool.ruff]
7171
line-length = 120
72-
target-version = "py37"
72+
target-version = "py38"
7373
lint.select = ["ALL"]
7474
lint.isort = { known-first-party = [
7575
"sphinx_autodoc_typehints",
@@ -118,9 +118,12 @@ html.show_contexts = true
118118
html.skip_covered = false
119119
paths.source = [
120120
"src",
121-
".tox*/*/lib/python*/site-packages",
122-
".tox*/pypy*/site-packages",
123-
".tox*\\*\\Lib\\site-packages",
121+
".tox/*/lib/python*/site-packages",
122+
".tox/pypy*/site-packages",
123+
".tox\\*\\Lib\\site-packages",
124+
".tox/*/.venv/lib/python*/site-packages",
125+
".tox/pypy*/.venv/site-packages",
126+
".tox\\*\\.venv\\Lib\\site-packages",
124127
"*/src",
125128
"*\\src",
126129
]

tox.ini

+7-8
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ env_list =
88
py310
99
py39
1010
py38
11-
py37
1211
type
1312
coverage
1413
readme
@@ -39,7 +38,7 @@ commands =
3938
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
4039
skip_install = true
4140
deps =
42-
pre-commit>=3.5
41+
pre-commit>=3.6.2
4342
commands =
4443
pre-commit run --all-files --show-diff-on-failure
4544

@@ -51,8 +50,8 @@ extras =
5150
[testenv:type]
5251
description = run type check on code base
5352
deps =
54-
mypy==1.7.1
55-
types-docutils>=0.20.0.3
53+
mypy==1.8
54+
types-docutils>=0.20.0.20240201
5655
set_env =
5756
{tty:MYPY_FORCE_COLOR = 1}
5857
commands =
@@ -64,8 +63,8 @@ description = combine coverage files and generate diff (against DIFF_AGAINST def
6463
skip_install = true
6564
deps =
6665
covdefaults>=2.3
67-
coverage>=7.3.2
68-
diff-cover>=8.0.1
66+
coverage>=7.4.2
67+
diff-cover>=8.0.3
6968
extras =
7069
parallel_show_output = true
7170
pass_env =
@@ -84,14 +83,13 @@ depends =
8483
py310
8584
py39
8685
py38
87-
py37
8886

8987
[testenv:readme]
9088
description = check that the long description is valid (need for PyPI)
9189
skip_install = true
9290
deps =
9391
build[virtualenv]>=1.0.3
94-
twine>=4.0.2
92+
twine>=5
9593
extras =
9694
commands =
9795
pyproject-build -o {envtmpdir} --wheel --sdist .
@@ -103,3 +101,4 @@ package = editable
103101
commands =
104102
python -m pip list --format=columns
105103
python -c 'import sys; print(sys.executable)'
104+
uv_seed = true

0 commit comments

Comments
 (0)