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