fix: E501 line too long.
This commit is contained in:
parent
6f18c82879
commit
9d04f24298
|
@ -10,7 +10,8 @@ def strtobool(query: str) -> bool:
|
|||
"""
|
||||
reimplement strtobool per PEP 632 and python 3.12 deprecation
|
||||
|
||||
True values are y, yes, t, true, on and 1; false values are n, no, f, false, off and 0. Raises ValueError if val is anything else.
|
||||
True values are y, yes, t, true, on and 1; false values are n, no, f,
|
||||
false, off and 0. Raises ValueError if val is anything else.
|
||||
"""
|
||||
if query.lower() in ["y", "yes", "t", "true", "on", "1"]:
|
||||
return True
|
||||
|
|
Loading…
Reference in New Issue
Block a user