Skip to content

Commit 90c4473

Browse files
committed
Update ruff.toml
All applied rules without violations
1 parent 4997f8a commit 90c4473

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

ruff.toml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,24 @@ docstring-code-format = true
1111
select = [
1212
"E", # pycodestyle errors
1313
"W", # pycodestyle warnings
14-
"I", # isort
15-
"N", # pep8-naming
16-
"F4", # pyflakes: imports/__future__
17-
"F5", # pyflakes: format strings
18-
"F7", # pyflakes: control flow (return/break/continue outside loop/func)
19-
"F8", # pyflakes: undefined/unused names
2014
"RUF100", # unused noqa
15+
"F5", # pyflakes: format strings
2116
"COM818", # enforce trailing comma
22-
"B", # flake8-bugbear
23-
"D204", "D211", "D201", "D202", "D300", # basic docstring formatting
24-
"T20", # prevent native print() statements
25-
"A", # prevent shadowing of python builtins
17+
"F7", # pyflakes: control flow (return/break/continue outside loop/func)
18+
"D204", "D211", "D201", "D300", # basic docstring formatting
2619
]
2720

2821
# TODO: Revisit these
2922
ignore = [
3023
"F403", # star imports - high existing usage
3124
"F405", # may-be-undefined from star imports
3225
"N818", # Exception name should be named with Error suffix
26+
"N", # pep8-naming
27+
"B", # flake8-bugbear
28+
"T20", # prevent native print() statements
29+
"A", # prevent shadowing of python builtins
30+
# Checked, need manual work:
31+
"I", # isort
32+
"F4", # pyflakes: imports/__future__
33+
"F8", # pyflakes: undefined/unused names
3334
]

0 commit comments

Comments
 (0)