ruff: enable RET/PIE/PLW
This commit is contained in:
parent
721a0cd3fc
commit
3cff067035
14 changed files with 80 additions and 75 deletions
|
@ -35,7 +35,7 @@ def is_empty(x) -> bool:
|
|||
elif isinstance(x, list):
|
||||
return all(map(is_empty, x))
|
||||
else:
|
||||
assert_never(x)
|
||||
assert_never(x) # noqa: RET503
|
||||
|
||||
|
||||
class Manager:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue