forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into appstore-patch
- Loading branch information
Showing
189 changed files
with
4,005 additions
and
2,564 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
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
target-version = "py312" # Align with the version in oldest_supported_sphinx | ||
fix = true | ||
output-format = "full" | ||
line-length = 79 | ||
extend-exclude = [ | ||
"includes/*", | ||
# Temporary exclusions: | ||
"tools/extensions/escape4chm.py", | ||
"tools/extensions/pyspecific.py", | ||
] | ||
|
||
[lint] | ||
preview = true | ||
select = [ | ||
"C4", # flake8-comprehensions | ||
"B", # flake8-bugbear | ||
"E", # pycodestyle | ||
"F", # pyflakes | ||
"FA", # flake8-future-annotations | ||
"FLY", # flynt | ||
"FURB", # refurb | ||
"G", # flake8-logging-format | ||
"I", # isort | ||
"LOG", # flake8-logging | ||
"N", # pep8-naming | ||
"PERF", # perflint | ||
"PGH", # pygrep-hooks | ||
"PT", # flake8-pytest-style | ||
"TCH", # flake8-type-checking | ||
"UP", # pyupgrade | ||
"W", # pycodestyle | ||
] | ||
ignore = [ | ||
"E501", # Ignore line length errors (we use auto-formatting) | ||
] | ||
|
||
[format] | ||
preview = true | ||
quote-style = "preserve" | ||
docstring-code-format = true | ||
exclude = [ | ||
"tools/extensions/lexers/*", | ||
] |
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
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
Oops, something went wrong.