Skip to content

Commit 939d512

Browse files
[pre-commit.ci] pre-commit autoupdate (#406)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 9fa846f commit 939d512

File tree

5 files changed

+23
-27
lines changed

5 files changed

+23
-27
lines changed

.github/workflows/check.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: check
22
on:
3+
workflow_dispatch:
34
push:
5+
branches: "main"
46
tags-ignore: ["**"]
57
pull_request:
68
schedule:
@@ -18,7 +20,7 @@ jobs:
1820
fail-fast: false
1921
matrix:
2022
py:
21-
- "3.12.0-beta.2"
23+
- "3.12"
2224
- "3.11"
2325
- "3.10"
2426
- "3.9"
@@ -27,7 +29,7 @@ jobs:
2729
- name: Setup python for tox
2830
uses: actions/setup-python@v5
2931
with:
30-
python-version: "3.11"
32+
python-version: "3.12"
3133
- name: Install tox
3234
run: python -m pip install tox
3335
- uses: actions/checkout@v4
@@ -76,7 +78,7 @@ jobs:
7678
fetch-depth: 0
7779
- uses: actions/setup-python@v5
7880
with:
79-
python-version: "3.11"
81+
python-version: "3.12"
8082
- name: Install tox
8183
run: python -m pip install tox
8284
- name: Setup coverage tool
@@ -112,10 +114,10 @@ jobs:
112114
- uses: actions/checkout@v4
113115
with:
114116
fetch-depth: 0
115-
- name: Setup Python "3.11"
117+
- name: Setup Python "3.12"
116118
uses: actions/setup-python@v5
117119
with:
118-
python-version: "3.11"
120+
python-version: "3.12"
119121
- name: Install tox
120122
run: python -m pip install tox
121123
- name: Setup test suite

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup python to build package
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: "3.11"
18+
python-version: "3.12"
1919
- name: Install build
2020
run: python -m pip install build
2121
- uses: actions/checkout@v4

.pre-commit-config.yaml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ repos:
55
- id: end-of-file-fixer
66
- id: trailing-whitespace
77
- repo: https://github.com/astral-sh/ruff-pre-commit
8-
rev: "v0.1.6"
8+
rev: "v0.1.7"
99
hooks:
1010
- id: ruff
1111
args: [--fix, --exit-non-zero-on-fix]
@@ -19,15 +19,10 @@ repos:
1919
- id: tox-ini-fmt
2020
args: ["-p", "fix"]
2121
- repo: https://github.com/tox-dev/pyproject-fmt
22-
rev: "1.5.1"
22+
rev: "1.5.3"
2323
hooks:
2424
- id: pyproject-fmt
25-
additional_dependencies: ["tox>=4.8"]
26-
- repo: https://github.com/pre-commit/mirrors-prettier
27-
rev: "v3.1.0"
28-
hooks:
29-
- id: prettier
30-
args: ["--print-width=120", "--prose-wrap=always"]
25+
additional_dependencies: ["tox>=4.11.4"]
3126
- repo: meta
3227
hooks:
3328
- id: check-hooks-apply

pyproject.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
build-backend = "hatchling.build"
33
requires = [
4-
"hatch-vcs>=0.3",
4+
"hatch-vcs>=0.4",
55
"hatchling>=1.18",
66
]
77

@@ -41,20 +41,19 @@ dependencies = [
4141
"Sphinx>=7.1.2",
4242
]
4343
optional-dependencies.docs = [
44-
"furo>=2023.7.26",
45-
"sphinx>=7.1.2",
44+
"furo>=2023.9.10",
4645
]
4746
optional-dependencies.numpy = [
4847
"nptyping>=2.5",
4948
]
5049
optional-dependencies.testing = [
5150
"covdefaults>=2.3",
52-
"coverage>=7.3",
53-
"diff-cover>=7.7",
54-
"pytest>=7.4",
51+
"coverage>=7.3.2",
52+
"diff-cover>=8.0.1",
53+
"pytest>=7.4.3",
5554
"pytest-cov>=4.1",
5655
"sphobjinv>=2.3.1",
57-
"typing-extensions>=4.7.1",
56+
"typing-extensions>=4.8",
5857
]
5958
urls.Changelog = "https://github.com/tox-dev/sphinx-autodoc-typehints/blob/main/CHANGELOG.md"
6059
urls.Homepage = "https://github.com/tox-dev/sphinx-autodoc-typehints"

tox.ini

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ commands =
3939
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
4040
skip_install = true
4141
deps =
42-
pre-commit>=3.3.3
42+
pre-commit>=3.5
4343
commands =
4444
pre-commit run --all-files --show-diff-on-failure
4545

@@ -51,8 +51,8 @@ extras =
5151
[testenv:type]
5252
description = run type check on code base
5353
deps =
54-
mypy==1.4.1
55-
types-docutils>=0.20.0.2
54+
mypy==1.7.1
55+
types-docutils>=0.20.0.3
5656
set_env =
5757
{tty:MYPY_FORCE_COLOR = 1}
5858
commands =
@@ -64,8 +64,8 @@ description = combine coverage files and generate diff (against DIFF_AGAINST def
6464
skip_install = true
6565
deps =
6666
covdefaults>=2.3
67-
coverage>=7.3
68-
diff-cover>=7.7
67+
coverage>=7.3.2
68+
diff-cover>=8.0.1
6969
extras =
7070
parallel_show_output = true
7171
pass_env =
@@ -90,7 +90,7 @@ depends =
9090
description = check that the long description is valid (need for PyPI)
9191
skip_install = true
9292
deps =
93-
build[virtualenv]>=0.10
93+
build[virtualenv]>=1.0.3
9494
twine>=4.0.2
9595
extras =
9696
commands =

0 commit comments

Comments
 (0)