Enable RET in flake8 and ruff
This commit is contained in:
parent
007998372f
commit
3bd7dd5772
1 changed files with 30 additions and 5 deletions
|
|
@ -149,10 +149,7 @@ def stl( # noqa:C901,PLR0912,PLR0913,PLR0915
|
|||
|
||||
if no < 0:
|
||||
raise ValueError("`no` must be non-negative")
|
||||
elif no > 0:
|
||||
robust = True
|
||||
else:
|
||||
robust = False
|
||||
robust = no > 0
|
||||
|
||||
# Initialize R only if it is actually used.
|
||||
# For example, the nox session "ci-tests-fast" does not use it.
|
||||
|
|
|
|||
Loading…
Reference in a new issue