@@ -73,11 +73,14 @@ extend-include = [
73
73
]
74
74
ignore = [
75
75
# D* pydocstyle
76
- " D200" , # Reformat to one line
77
- " D212" , # Remove whitespace after opening quotes
78
- " COM" , # flake8-commas - Black takes care of this
79
- " ERA" , # eradicate
80
- " SIM108" , # Use ternary operator `A = X if Y else Z` instead of `if`-`else`-block
76
+ " D200" , # Reformat to one line
77
+ " D212" , # Remove whitespace after opening quotes
78
+ " COM" , # flake8-commas - Black takes care of this
79
+ " ERA" , # eradicate
80
+ " SIM108" , # Use ternary operator `A = X if Y else Z` instead of `if`-`else`-block
81
+ " PERF203" , # `try`-`except` within a loop incurs performance overhead"
82
+ " PERF401" , # Use a list comprehension to create a transformed list
83
+ " PERF402" , # Use `list` or `list.copy` to create a copy of a list
81
84
]
82
85
ignore-init-module-imports = true
83
86
builtins = [
@@ -108,6 +111,9 @@ format = "grouped"
108
111
" SLF001" , # Private member accessed"
109
112
" ARG003" , # Unused class method argument: `kwargs`
110
113
]
114
+ "src/saf/pipeline.py" = [
115
+ " PERF401" , # Use a list comprehension to create a transformed list"
116
+ ]
111
117
"src/saf/collect/file.py" = [
112
118
" TCH003" , # Move standard library import `pathlib` into a type-checking block
113
119
]
@@ -132,6 +138,7 @@ format = "grouped"
132
138
" PLR0912" ,
133
139
" DTZ005" ,
134
140
" FBT002" ,
141
+ " PLR0913" , # Too many arguments to function call"
135
142
" PLR0915" , # Too many statements
136
143
]
137
144
"tools/**/*.py" = [
0 commit comments