File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -255,6 +255,7 @@ extend-select = [
255
255
" PIE" , # flake8-pie
256
256
" TID" , # flake8-tidy-imports (absolute imports)
257
257
" PYI" , # flake8-pyi
258
+ " SIM" , # flake8-simplify
258
259
" FLY" , # flynt
259
260
" I" , # isort
260
261
" PERF" , # Perflint
@@ -276,6 +277,9 @@ ignore = [
276
277
" PIE790" , # unnecessary pass statement
277
278
" PYI019" , # use `Self` instead of custom TypeVar
278
279
" PYI041" , # use `float` instead of `int | float`
280
+ " SIM108" , # use ternary operator instead of `if`-`else`-block
281
+ " SIM117" , # use a single `with` statement instead of nested `with` statements
282
+ " SIM300" , # yoda condition detected
279
283
" PERF203" , # try-except within a loop incurs performance overhead
280
284
" E402" , # module level import not at top of file
281
285
" E731" , # do not assign a lambda expression, use a def
You can’t perform that action at this time.
0 commit comments