Skip to content

Commit a83df8a

Browse files
committed
⬆️ Update sphinx and pre-commit hooks
* Add cooldown to uv config
1 parent 8fe82d3 commit a83df8a

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
- id: check-added-large-files
1616
args: ['--maxkb=1024']
1717
- repo: https://github.com/tox-dev/pyproject-fmt
18-
rev: 6e10264313f53d6247a8b1b984f5b5ccf50ba539 # v2.21.0
18+
rev: 91de51aef61c5f2383f03da25604e3d65a8309e0 # v2.21.1
1919
hooks:
2020
- id: pyproject-fmt
2121
- repo: https://github.com/abravalheri/validate-pyproject
@@ -28,7 +28,7 @@ repos:
2828
- id: sphinx-lint
2929
types: [rst]
3030
- repo: https://github.com/pycqa/isort
31-
rev: a333737ed43df02b18e6c95477ea1b285b3de15a # 8.0.1
31+
rev: dac090ce4d9ee313d086e2e89ab1acb8c2664fa1 # 9.0.0a3
3232
hooks:
3333
- id: isort
3434
additional_dependencies: ["toml"]

pyproject.toml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers = [
2020
]
2121
dependencies = []
2222
urls."Bug Tracker" = "https://github.com/veit/python-basics-tutorial/issues"
23-
urls."Homepage" = "https://github.com/veit/python-basics-tutorial/"
23+
urls.Homepage = "https://github.com/veit/python-basics-tutorial/"
2424

2525
[dependency-groups]
2626
dev = [
@@ -36,7 +36,7 @@ docs = [
3636
"matplotlib", # matplotlib is required for social cards
3737
"nbsphinx",
3838
"pygments-pytest",
39-
"sphinx<8.2", # furo requires sphinx < 8.2
39+
"sphinx",
4040
"sphinx-copybutton",
4141
"sphinx-inline-tabs",
4242
"sphinx-lint",
@@ -47,5 +47,8 @@ docs = [
4747
"sphinxext-opengraph",
4848
]
4949

50+
[tool.uv]
51+
exclude-newer = "P3D" # "3 days" in RFC 3339 format
52+
5053
[tool.codespell]
5154
ignore-words-list = "allo, ist, Juli, symbl"

0 commit comments

Comments
 (0)