@@ -15,21 +15,24 @@ select = [
1515 " W" , # pycodestyle warnings
1616]
1717ignore = [
18- " B007" , # Loop control variable not used within loop body
19- " B008" , # do not perform function calls in argument defaults
20- " B028" , # stacklevel
18+ " B006" , # allow mutable defaults for notebooks
19+ " B007" , # Loop control variable not used within loop body
20+ " B008" , # do not perform function calls in argument defaults
21+ " B028" , # stacklevel
2122 " B904" ,
22- " B905" , # `zip()` without an explicit `strict=` parameter
23- " C408" , # Unnecessary `dict` call
24- " C417" , # allow map
25- " C901" , # too complex
26- " E402" , # module level import not at top of file
27- " E501" , # line too long (handled by formatter)
28- " E722" , # we'll allow bare excepts in notebooks
29- " E741" , # "l" is ok as a variable name
30- " F401" , # imported but unused (common in notebooks for exploration)
31- " UP006" , # type annotation with Tuple[float] messes up pydantic
32- " UP007" , # use x | y instead of union[x,y] (does not work)
23+ " B905" , # `zip()` without an explicit `strict=` parameter
24+ " C408" , # Unnecessary `dict` call
25+ " C417" , # allow map
26+ " C901" , # too complex
27+ " E402" , # module level import not at top of file
28+ " E501" , # line too long (handled by formatter)
29+ " E722" , # we'll allow bare excepts in notebooks
30+ " E731" , # allow lambda assignment
31+ " E741" , # "l" is ok as a variable name
32+ " F401" , # imported but unused (common in notebooks for exploration)
33+ " NPY201" , # allow numpy<2 for now
34+ " UP006" , # type annotation with Tuple[float] messes up pydantic
35+ " UP007" , # use x | y instead of union[x,y] (does not work)
3336 " UP035" ,
3437 " UP038" ,
3538]
0 commit comments