fix: resolve linting errors after dependency updates (#634)

This commit is contained in:
Jens
2025-10-12 14:45:59 +02:00
committed by GitHub
parent f2f139617b
commit a2745c03b2
3 changed files with 9 additions and 2 deletions

View File

@@ -226,6 +226,8 @@ ignore = [
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed
"ASYNC210", # TODO Async functions should not call blocking HTTP methods
"ASYNC230", # TODO Async functions should not open files with blocking methods like `open`
"ASYNC240", # TODO Async functions should not use os.path methods, use trio.Path or anyio.path
"ASYNC250", # TODO Blocking call to input() in async context
"COM812", # Trailing comma missing
"D1", # Missing docstring in ...
"D200", # One-line docstring should fit on one line
@@ -252,6 +254,7 @@ ignore = [
"PERF203", # `try`-`except` within a loop incurs performance overhead
"RET504", # Unnecessary assignment to `...` before `return` statement
"PLR6301", # Method `...` could be a function, class method, or static method
"PLR0913", # Too many arguments in function definition (needed to match parent signature)
"PYI041", # Use `float` instead of `int | float`
"SIM102", # Use a single `if` statement instead of nested `if` statements
"SIM105", # Use `contextlib.suppress(TimeoutError)` instead of `try`-`except`-`pass`