-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
Showing
9 changed files
with
20 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ name = "attrs" | |
authors = [{ name = "Hynek Schlawack", email = "[email protected]" }] | ||
license = "MIT" | ||
license-files = ["LICENSE"] | ||
requires-python = ">=3.8" | ||
requires-python = ">=3.9" | ||
description = "Classes Without Boilerplate" | ||
keywords = ["class", "attribute", "boilerplate"] | ||
classifiers = [ | ||
|
@@ -226,6 +226,8 @@ ignore = [ | |
"TD", # we don't follow other people's todo style | ||
"TRY301", # I'm sorry, but this makes not sense for us. | ||
"UP031", # format() is slow as molasses; % and f'' FTW. | ||
"UP006", # replace Dict etc by dict etc later. | ||
"UP035", # replace Dict etc by dict etc later. | ||
] | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
|
@@ -242,6 +244,7 @@ ignore = [ | |
"PLR0124", # pointless comparison in tests aren't pointless | ||
"PT011", # broad is fine | ||
"PT012", # sometimes we need more than a single stmt | ||
"RUF009", # using results of function calls as defaults is fine | ||
"RUF012", # we don't do ClassVar annotations in tests | ||
"S", # security concerns don't matter in tests | ||
"SIM201", # sometimes we need to check `not ==` | ||
|
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
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