From 7835492b09ac9ba262653c922a9cacdd55e1d31f Mon Sep 17 00:00:00 2001 From: Stephen Sadowski Date: Sun, 23 Jan 2022 18:48:49 -0600 Subject: [PATCH] fix: E501 line too long. --- sanic/server/loop.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sanic/server/loop.py b/sanic/server/loop.py index 72b6f063..dd64d2b7 100644 --- a/sanic/server/loop.py +++ b/sanic/server/loop.py @@ -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