-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #198 from hugovk/attest
- Loading branch information
Showing
3 changed files
with
23 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[build-system] | ||
build-backend = "flit_core.buildapi" | ||
requires = [ | ||
"flit_core>=3.7", | ||
"flit-core>=3.7", | ||
] | ||
|
||
[project] | ||
|
@@ -10,7 +10,7 @@ version = "2024.6" | |
description = "The Sphinx theme for the CPython docs and related projects" | ||
readme = "README.md" | ||
license.file = "LICENSE" | ||
authors = [{name = "PyPA", email = "[email protected]"}] | ||
authors = [ { name = "PyPA", email = "[email protected]" } ] | ||
requires-python = ">=3.9" | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
|
@@ -32,22 +32,18 @@ urls.Code = "https://github.com/python/python-docs-theme" | |
urls.Download = "https://pypi.org/project/python-docs-theme/" | ||
urls.Homepage = "https://github.com/python/python-docs-theme/" | ||
urls."Issue tracker" = "https://github.com/python/python-docs-theme/issues" | ||
[project.entry-points."sphinx.html_themes"] | ||
python_docs_theme = 'python_docs_theme' | ||
entry-points."sphinx.html_themes".python_docs_theme = "python_docs_theme" | ||
|
||
[tool.flit.module] | ||
name = "python_docs_theme" | ||
|
||
[tool.flit.sdist] | ||
include = [ | ||
"python_docs_theme/", | ||
] | ||
include = [ "python_docs_theme/" ] | ||
|
||
[tool.ruff] | ||
fix = true | ||
|
||
[tool.ruff.lint] | ||
select = [ | ||
lint.select = [ | ||
"C4", # flake8-comprehensions | ||
"E", # pycodestyle errors | ||
"F", # pyflakes errors | ||
|
@@ -56,19 +52,16 @@ select = [ | |
"LOG", # flake8-logging | ||
"PGH", # pygrep-hooks | ||
"PYI", # flake8-pyi | ||
"RUF100", # unused noqa (yesqa) | ||
"RUF022", # unsorted-dunder-all | ||
"RUF100", # unused noqa (yesqa) | ||
"UP", # pyupgrade | ||
"W", # pycodestyle warnings | ||
"YTT", # flake8-2020 | ||
] | ||
ignore = [ | ||
"E203", # Whitespace before ':' | ||
"E221", # Multiple spaces before operator | ||
"E226", # Missing whitespace around arithmetic operator | ||
"E241", # Multiple spaces after ',' | ||
lint.ignore = [ | ||
"E203", # Whitespace before ':' | ||
"E221", # Multiple spaces before operator | ||
"E226", # Missing whitespace around arithmetic operator | ||
"E241", # Multiple spaces after ',' | ||
] | ||
|
||
|
||
[tool.ruff.lint.isort] | ||
required-imports = ["from __future__ import annotations"] | ||
lint.isort.required-imports = [ "from __future__ import annotations" ] |