-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
920d60d
commit d76f591
Showing
8 changed files
with
148 additions
and
71 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 |
---|---|---|
|
@@ -60,3 +60,42 @@ email = "[email protected]" | |
[tool.flit.sdist] | ||
include = ["CHANGELOG.md", "README.md", "tox.ini", "*/*test*.py"] | ||
exclude = [] | ||
|
||
[tool.ruff] | ||
line-length = 90 | ||
target-version = "py38" | ||
|
||
[tool.ruff.lint] | ||
select = [ | ||
"B", | ||
"C4", | ||
"E", | ||
"F", | ||
"I", | ||
"ISC001", | ||
"PGH004", | ||
"RUF", | ||
"SIM201", | ||
"SIM202", | ||
"UP", | ||
"W", | ||
] | ||
|
||
# Ignore various "modernization" rules that tell you off for importing/using | ||
# deprecated things from the typing module, etc. | ||
ignore = ["UP006", "UP007", "UP013", "UP014", "UP019", "UP035", "UP038"] | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
"!src/typing_extensions.py" = [ | ||
"B018", | ||
"B024", | ||
"C4", | ||
"E302", | ||
"E306", | ||
"E501", | ||
"E701", | ||
] | ||
|
||
[tool.ruff.lint.isort] | ||
extra-standard-library = ["tomllib"] | ||
known-first-party = ["typing_extensions", "_typed_dict_test_helper"] |
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.