@@ -67,7 +67,7 @@ pre-commit = "^2.20.0"
6767types-toml = " *"
6868types-ujson = " *"
6969types-pyyaml = " *"
70- ruff = " 0.7.1 "
70+ ruff = " 0.8.6 "
7171pytest-xdist = " ^3.3.1"
7272types-python-slugify = " ^8.0.0.3"
7373invoke = " ^2.2.0"
@@ -252,6 +252,7 @@ ignore = [
252252 " FURB110" , # Replace ternary `if` expression with `or` operator
253253 " FURB113" , # Use `lines.extend((" " * self.indentation + "}", "}"))` instead of repeatedly calling `lines.append()`
254254 " FURB177" , # Prefer `Path.cwd()` over `Path().resolve()` for current-directory lookups
255+ " INP001" , # File declares a package, but is nested under an implicit namespace package.
255256 " N802" , # Function name should be lowercase
256257 " N806" , # Variable in function should be lowercase
257258 " PERF203" , # `try`-`except` within a loop incurs performance overhead
@@ -267,10 +268,12 @@ ignore = [
267268 " PLW1641" , # Object does not implement `__hash__` method
268269 " PTH100" , # `os.path.abspath()` should be replaced by `Path.resolve()`
269270 " PTH109" , # `os.getcwd()` should be replaced by `Path.cwd()`
271+ " PYI061" , # [*] `Literal[None]` can be replaced with `None`
270272 " RET504" , # Unnecessary assignment to `data` before `return` statement
271273 " RUF005" , # Consider `[*path, str(key)]` instead of concatenation
272274 " RUF015" , # Prefer `next(iter(input_data["variables"].keys()))` over single element slice
273275 " 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.
274277 " S108" , # Probable insecure usage of temporary file or directory
275278 " S311" , # Standard pseudo-random generators are not suitable for cryptographic purposes
276279 " S701" , # By default, jinja2 sets `autoescape` to `False`. Consider using `autoescape=True`
@@ -282,7 +285,7 @@ ignore = [
282285 " SIM117" , # Use a single `with` statement with multiple contexts instead of nested `with` statements
283286 " SIM118" , # Use `key in dict` instead of `key in dict.keys)
284287 " SIM910" , # Use `data.get(key)` instead of `data.get(key, None)`
285- " TCH003 " , # Move standard library import `collections.abc.Iterable` into a type-checking block
288+ " TC003 " , # Move standard library import `collections.abc.Iterable` into a type-checking block
286289 " UP031" , # Use format specifiers instead of percent format
287290]
288291
0 commit comments