Skip to content

Commit 6fd4a54

Browse files
DimitriPapadopoulosMaanasArora
authored andcommitted
MNT: Enforce ruff/Pyflakes rules (F)
1 parent e421836 commit 6fd4a54

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ruff.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ extend-select = [
3232
"UP",
3333
]
3434
ignore = [
35-
"F", # TODO: enable Pyflakes rules
3635
"C408", # Unnecessary `dict()` call (rewrite as a literal)
3736
"PIE790", # Unnecessary `pass` statement
3837
"E241", # Multiple spaces after comma
@@ -44,6 +43,10 @@ ignore = [
4443
"E721", # TODO: Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance check
4544
"E731", # Do not assign a `lambda` expression, use a `def`
4645
"E741", # Ambiguous variable name
46+
"F403", # `from ... import *` used; unable to detect undefined names
47+
"F405", # may be undefined, or defined from star imports
48+
"F821", # Undefined name
49+
"F841", # Local variable is assigned to but never used
4750
"UP015", # Unnecessary mode argument
4851
"UP031", # TODO: Use format specifiers instead of percent format
4952
]

0 commit comments

Comments
 (0)