File tree 4 files changed +14
-7
lines changed
4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 1
1
repos :
2
2
- repo : https://github.com/astral-sh/ruff-pre-commit
3
- rev : v0.6.8
3
+ rev : v0.9.3
4
4
hooks :
5
5
- id : ruff
6
6
args : [--exit-non-zero-on-fix]
7
7
8
8
- repo : https://github.com/psf/black-pre-commit-mirror
9
- rev : 24.8 .0
9
+ rev : 24.10 .0
10
10
hooks :
11
11
- id : black
12
12
13
13
- repo : https://github.com/pre-commit/pre-commit-hooks
14
- rev : v4.6 .0
14
+ rev : v5.0 .0
15
15
hooks :
16
16
- id : check-case-conflict
17
17
- id : check-merge-conflict
@@ -22,24 +22,24 @@ repos:
22
22
- id : trailing-whitespace
23
23
24
24
- repo : https://github.com/python-jsonschema/check-jsonschema
25
- rev : 0.29.2
25
+ rev : 0.31.0
26
26
hooks :
27
27
- id : check-dependabot
28
28
- id : check-github-workflows
29
29
30
30
- repo : https://github.com/rhysd/actionlint
31
- rev : v1.7.2
31
+ rev : v1.7.7
32
32
hooks :
33
33
- id : actionlint
34
34
35
35
- repo : https://github.com/tox-dev/pyproject-fmt
36
- rev : 2.2.4
36
+ rev : v2.5.0
37
37
hooks :
38
38
- id : pyproject-fmt
39
39
args : [--max-supported-python=3.13]
40
40
41
41
- repo : https://github.com/abravalheri/validate-pyproject
42
- rev : v0.20.2
42
+ rev : v0.23
43
43
hooks :
44
44
- id : validate-pyproject
45
45
Original file line number Diff line number Diff line change 1
1
# Python Docs Sphinx Theme
2
2
3
3
This is the theme for the Python documentation.
4
+ It requires Python 3.9 or newer and Sphinx 3.4 or newer.
4
5
5
6
Note that when adopting this theme, you're also borrowing an element of the
6
7
trust and credibility established by the CPython core developers over the
Original file line number Diff line number Diff line change @@ -28,6 +28,10 @@ classifiers = [
28
28
" Topic :: Documentation" ,
29
29
" Topic :: Software Development :: Documentation" ,
30
30
]
31
+ dependencies = [
32
+ " sphinx>=3.4" ,
33
+ ]
34
+
31
35
urls.Code = " https://github.com/python/python-docs-theme"
32
36
urls.Download = " https://pypi.org/project/python-docs-theme/"
33
37
urls.Homepage = " https://github.com/python/python-docs-theme/"
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ def _html_page_context(
53
53
54
54
55
55
def setup (app ):
56
+ app .require_sphinx ("3.4" )
57
+
56
58
current_dir = os .path .abspath (os .path .dirname (__file__ ))
57
59
app .add_html_theme ("python_docs_theme" , current_dir )
58
60
You can’t perform that action at this time.
0 commit comments