@@ -28,19 +28,19 @@ extend-select = [
28
28
ignore = [
29
29
" F" , # TODO: enable Pyflakes rules
30
30
" PIE790" , # Unnecessary `pass` statement
31
- " E241" ,
32
- " E251" ,
33
- " E265" ,
34
- " E266" ,
35
- " E302" ,
36
- " E402" ,
31
+ " E241" , # Multiple spaces after comma
32
+ " E251" , # Unexpected spaces around keyword / parameter equals
33
+ " E265" , # Block comment should start with `# `
34
+ " E266" , # Too many leading `#` before block comment
35
+ " E302" , # TODO: Expected 2 blank lines, found 1
36
+ " E402" , # Module level import not at top of file
37
37
" E501" , # TODO: Line too long
38
- " E712" ,
39
- " E721" ,
40
- " E731" ,
41
- " E741" ,
42
- " UP015" , # Unnecessary mode argument
43
- " UP031" , # TODO: Use format specifiers instead of percent format
38
+ " E712" , # Avoid equality comparisons to `True` or `False`
39
+ " E721" , # TODO: Use `is` and `is not` for type comparisons, or `isinstance()` for isinstance check
40
+ " E731" , # Do not assign a `lambda` expression, use a `def`
41
+ " E741" , # Ambiguous variable name
42
+ " UP015" , # Unnecessary mode argument
43
+ " UP031" , # TODO: Use format specifiers instead of percent format
44
44
]
45
45
46
46
[lint .per-file-ignores ]
0 commit comments