1
1
[build-system ]
2
2
build-backend = " flit_core.buildapi"
3
3
requires = [
4
- " flit_core >=3.7" ,
4
+ " flit-core >=3.7" ,
5
5
]
6
6
7
7
[project ]
@@ -10,8 +10,8 @@ version = "2024.6"
10
10
description = " The Sphinx theme for the CPython docs and related projects"
11
11
readme = " README.md"
12
12
license.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 "
15
15
classifiers = [
16
16
" Development Status :: 5 - Production/Stable" ,
17
17
" Framework :: Sphinx :: Theme" ,
@@ -20,7 +20,6 @@ classifiers = [
20
20
" Operating System :: OS Independent" ,
21
21
" Programming Language :: Python" ,
22
22
" Programming Language :: Python :: 3 :: Only" ,
23
- " Programming Language :: Python :: 3.8" ,
24
23
" Programming Language :: Python :: 3.9" ,
25
24
" Programming Language :: Python :: 3.10" ,
26
25
" Programming Language :: Python :: 3.11" ,
@@ -33,22 +32,18 @@ urls.Code = "https://github.com/python/python-docs-theme"
33
32
urls.Download = " https://pypi.org/project/python-docs-theme/"
34
33
urls.Homepage = " https://github.com/python/python-docs-theme/"
35
34
urls."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"
38
36
39
37
[tool .flit .module ]
40
38
name = " python_docs_theme"
41
39
42
40
[tool .flit .sdist ]
43
- include = [
44
- " python_docs_theme/" ,
45
- ]
41
+ include = [ " python_docs_theme/" ]
46
42
47
43
[tool .ruff ]
48
44
fix = true
49
45
50
- [tool .ruff .lint ]
51
- select = [
46
+ lint.select = [
52
47
" C4" , # flake8-comprehensions
53
48
" E" , # pycodestyle errors
54
49
" F" , # pyflakes errors
@@ -57,19 +52,16 @@ select = [
57
52
" LOG" , # flake8-logging
58
53
" PGH" , # pygrep-hooks
59
54
" PYI" , # flake8-pyi
60
- " RUF100" , # unused noqa (yesqa)
61
55
" RUF022" , # unsorted-dunder-all
56
+ " RUF100" , # unused noqa (yesqa)
62
57
" UP" , # pyupgrade
63
58
" W" , # pycodestyle warnings
64
59
" YTT" , # flake8-2020
65
60
]
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 ','
71
66
]
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