11[build-system ]
22build-backend = " flit_core.buildapi"
33requires = [
4- " flit_core >=3.7" ,
4+ " flit-core >=3.7" ,
55]
66
77[project ]
@@ -10,8 +10,8 @@ version = "2024.6"
1010description = " The Sphinx theme for the CPython docs and related projects"
1111readme = " README.md"
1212license.file = " LICENSE"
13- authors = [{ name = " PyPA" , email = " distutils-sig@python.org" } ]
14- requires-python = " >=3.8 "
13+ authors = [ { name = " PyPA" , email = " distutils-sig@python.org" } ]
14+ requires-python = " >=3.9 "
1515classifiers = [
1616 " Development Status :: 5 - Production/Stable" ,
1717 " Framework :: Sphinx :: Theme" ,
@@ -20,7 +20,6 @@ classifiers = [
2020 " Operating System :: OS Independent" ,
2121 " Programming Language :: Python" ,
2222 " Programming Language :: Python :: 3 :: Only" ,
23- " Programming Language :: Python :: 3.8" ,
2423 " Programming Language :: Python :: 3.9" ,
2524 " Programming Language :: Python :: 3.10" ,
2625 " Programming Language :: Python :: 3.11" ,
@@ -33,22 +32,18 @@ urls.Code = "https://github.com/python/python-docs-theme"
3332urls.Download = " https://pypi.org/project/python-docs-theme/"
3433urls.Homepage = " https://github.com/python/python-docs-theme/"
3534urls."Issue tracker" = " https://github.com/python/python-docs-theme/issues"
36- [project .entry-points ."sphinx .html_themes" ]
37- python_docs_theme = ' python_docs_theme'
35+ entry-points."sphinx.html_themes".python_docs_theme = " python_docs_theme"
3836
3937[tool .flit .module ]
4038name = " python_docs_theme"
4139
4240[tool .flit .sdist ]
43- include = [
44- " python_docs_theme/" ,
45- ]
41+ include = [ " python_docs_theme/" ]
4642
4743[tool .ruff ]
4844fix = true
4945
50- [tool .ruff .lint ]
51- select = [
46+ lint.select = [
5247 " C4" , # flake8-comprehensions
5348 " E" , # pycodestyle errors
5449 " F" , # pyflakes errors
@@ -57,19 +52,16 @@ select = [
5752 " LOG" , # flake8-logging
5853 " PGH" , # pygrep-hooks
5954 " PYI" , # flake8-pyi
60- " RUF100" , # unused noqa (yesqa)
6155 " RUF022" , # unsorted-dunder-all
56+ " RUF100" , # unused noqa (yesqa)
6257 " UP" , # pyupgrade
6358 " W" , # pycodestyle warnings
6459 " YTT" , # flake8-2020
6560]
66- ignore = [
67- " E203" , # Whitespace before ':'
68- " E221" , # Multiple spaces before operator
69- " E226" , # Missing whitespace around arithmetic operator
70- " E241" , # Multiple spaces after ','
61+ lint. ignore = [
62+ " E203" , # Whitespace before ':'
63+ " E221" , # Multiple spaces before operator
64+ " E226" , # Missing whitespace around arithmetic operator
65+ " E241" , # Multiple spaces after ','
7166]
72-
73-
74- [tool .ruff .lint .isort ]
75- required-imports = [" from __future__ import annotations" ]
67+ lint.isort.required-imports = [ " from __future__ import annotations" ]
0 commit comments