@@ -259,7 +259,6 @@ ignore = [
259259 " RUF005" , # Consider `[*path, str(key)]` instead of concatenation
260260 " RUF015" , # Prefer `next(iter(input_data["variables"].keys()))` over single element slice
261261 " RUF029" , # Function is declared `async`, but doesn't `await` or use `async` features.
262- " RUF056" , # [*] Avoid providing a falsy fallback to `dict.get()` in boolean test positions. The default fallback `None` is already falsy.
263262 " S108" , # Probable insecure usage of temporary file or directory
264263 " S311" , # Standard pseudo-random generators are not suitable for cryptographic purposes
265264 " S701" , # By default, jinja2 sets `autoescape` to `False`. Consider using `autoescape=True`
@@ -270,7 +269,6 @@ ignore = [
270269 " SIM114" , # Combine `if` branches using logical `or` operator
271270 " SIM117" , # Use a single `with` statement with multiple contexts instead of nested `with` statements
272271 " SIM118" , # Use `key in dict` instead of `key in dict.keys)
273- " SIM910" , # Use `data.get(key)` instead of `data.get(key, None)`
274272 " TC003" , # Move standard library import `collections.abc.Iterable` into a type-checking block
275273 " UP031" , # Use format specifiers instead of percent format
276274]
0 commit comments