You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"SIM108", # Use ternary operator `key_str = f"{value[ALIAS_KEY]}: {key}" if ALIAS_KEY in value and value[ALIAS_KEY] else key` instead of `if`-`else`-block
212
211
"SIM110", # Use `return any(getattr(item, resource_field) == resource_id for item in getattr(self, RESOURCE_MAP[resource_type]))` instead of `for` loop
213
212
"SIM114", # Combine `if` branches using logical `or` operator
214
-
"SIM117", # Use a single `with` statement with multiple contexts instead of nested `with` statements
215
213
"TC003", # Move standard library import `collections.abc.Iterable` into a type-checking block
216
214
"UP031", # Use format specifiers instead of percent format
217
215
"UP045", # Use `X | None` for type annotations
@@ -285,14 +283,6 @@ max-complexity = 17
285
283
"RET504", # Unnecessary assignment to `data` before `return` statement
286
284
]
287
285
288
-
"tests/unit/sdk/test_client.py" = [
289
-
"W293", # Blank line contains whitespace (used within output check)
0 commit comments