-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add the rest of the available codes to ignore to ruff.toml, delete se…
…tup.cfg and test file for E402
- Loading branch information
leahh
committed
Jan 10, 2025
1 parent
f5af616
commit 2b49c77
Showing
3 changed files
with
12 additions
and
39 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,2 +1,13 @@ | ||
[lint] | ||
ignore = ["E402"] | ||
ignore = ["PLR0904", "PLR0912", "PLR0913", "PLR0914", "PLR0916", "PLW0603", "G004", "E402", "D203", "D213", "D404"] | ||
# PLR0904: class has too many public methods (default: 20) | ||
# PLR0912: function or method has too many logical branches (default: 12) | ||
# PLR0913: function or method takes too many arguments (default: 5) | ||
# PLR0914: function or method has too many local variables (default: 15) | ||
# PLR0916: if-statement contains too many boolean expressions (default: 5) | ||
# PLW0603: global statement used to update a global variable | ||
# G004: logging statement uses f-string | ||
# E402: module level imports should be at the top of the file | ||
# D203: 1 blank line required before class docstring | ||
# D213: multi-line docstring summary should start at the second line | ||
# D404: first word of the docstring should not be "This" |