diff --git a/sanic/app.py b/sanic/app.py index 500a6d45..e55b6bd8 100644 --- a/sanic/app.py +++ b/sanic/app.py @@ -836,7 +836,12 @@ class Sanic: **kwargs ): if "loop" in kwargs: - raise TypeError("loop is not a valid argument. To use an existing loop, change to create_server().\nSee more: https://sanic.readthedocs.io/en/latest/sanic/deploying.html#asynchronous-support") + raise TypeError( + "loop is not a valid argument. To use an existing loop, " + "change to create_server().\nSee more: " + "https://sanic.readthedocs.io/en/latest/sanic/deploying.html" + "#asynchronous-support" + ) """Run the HTTP Server and listen until keyboard interrupt or term signal. On termination, drain connections before closing.