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
Copy file name to clipboardExpand all lines: pyproject.toml
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -258,7 +258,6 @@ ignore = [
258
258
"RUF029", # Function is declared `async`, but doesn't `await` or use `async` features.
259
259
"S311", # Standard pseudo-random generators are not suitable for cryptographic purposes
260
260
"S701", # By default, jinja2 sets `autoescape` to `False`. Consider using `autoescape=True`
261
-
"SIM102", # Use a single `if` statement instead of nested `if` statements
262
261
"SIM105", # Use `contextlib.suppress(KeyError)` instead of `try`-`except`-`pass`
263
262
"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
264
263
"SIM110", # Use `return any(getattr(item, resource_field) == resource_id for item in getattr(self, RESOURCE_MAP[resource_type]))` instead of `for` loop
0 commit comments