File tree Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Expand file tree Collapse file tree 4 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 11repos :
22 - repo : https://github.com/astral-sh/ruff-pre-commit
3- rev : v0.6.8
3+ rev : v0.9.3
44 hooks :
55 - id : ruff
66 args : [--exit-non-zero-on-fix]
77
88 - repo : https://github.com/psf/black-pre-commit-mirror
9- rev : 24.8 .0
9+ rev : 24.10 .0
1010 hooks :
1111 - id : black
1212
1313 - repo : https://github.com/pre-commit/pre-commit-hooks
14- rev : v4.6 .0
14+ rev : v5.0 .0
1515 hooks :
1616 - id : check-case-conflict
1717 - id : check-merge-conflict
@@ -22,24 +22,24 @@ repos:
2222 - id : trailing-whitespace
2323
2424 - repo : https://github.com/python-jsonschema/check-jsonschema
25- rev : 0.29.2
25+ rev : 0.31.0
2626 hooks :
2727 - id : check-dependabot
2828 - id : check-github-workflows
2929
3030 - repo : https://github.com/rhysd/actionlint
31- rev : v1.7.2
31+ rev : v1.7.7
3232 hooks :
3333 - id : actionlint
3434
3535 - repo : https://github.com/tox-dev/pyproject-fmt
36- rev : 2.2.4
36+ rev : v2.5.0
3737 hooks :
3838 - id : pyproject-fmt
3939 args : [--max-supported-python=3.13]
4040
4141 - repo : https://github.com/abravalheri/validate-pyproject
42- rev : v0.20.2
42+ rev : v0.23
4343 hooks :
4444 - id : validate-pyproject
4545
Original file line number Diff line number Diff line change 11# Python Docs Sphinx Theme
22
33This is the theme for the Python documentation.
4+ It requires Python 3.9 or newer and Sphinx 3.4 or newer.
45
56Note that when adopting this theme, you're also borrowing an element of the
67trust 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 = [
2828 " Topic :: Documentation" ,
2929 " Topic :: Software Development :: Documentation" ,
3030]
31+ dependencies = [
32+ " sphinx>=3.4" ,
33+ ]
34+
3135urls.Code = " https://github.com/python/python-docs-theme"
3236urls.Download = " https://pypi.org/project/python-docs-theme/"
3337urls.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(
5353
5454
5555def setup (app ):
56+ app .require_sphinx ("3.4" )
57+
5658 current_dir = os .path .abspath (os .path .dirname (__file__ ))
5759 app .add_html_theme ("python_docs_theme" , current_dir )
5860
You can’t perform that action at this time.
0 commit comments