Skip to content

Commit ff0a92d

Browse files
committed
ruff rules
1 parent 2e8d8e6 commit ff0a92d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,12 +170,13 @@
170170
"N806", # Variable `xx` in function should be lowercase
171171
"N999", # Invalid module name
172172

173+
"PLW0602", # Using global for `xxx` but no assignment is done
174+
"PLW0603", # Using the global statement to update `xxx` is discouraged
175+
"PLW0717", # too many statements in try block
173176
"PLR0911", # Too many return statements
174177
"PLR0912", # Too many branches
175178
"PLR0914", # Too many local variables
176179
"PLR0913", # Too many arguments in function definition
177-
"PLW0603", # Using the global statement to update `xxx` is discouraged
178-
"PLW0602", # Using global for `xxx` but no assignment is done
179180

180181
"RUF001", # String contains ambiguous utf8 char
181182
"RUF067", # `__init__` module should only contain docstrings and re-exports

0 commit comments

Comments
 (0)