Merge branch 'lintfix' into loop_exception

Made changes unnecesarry changes in request and router files, went back to previous commit and made correct changes to fix lint
This commit is contained in:
Andres Sanchez 2018-11-01 10:40:47 -06:00
commit ff0d5870e9

View File

@ -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.