cleanup/rm pylint ignores
This commit is contained in:
9
base.py
9
base.py
@ -37,10 +37,6 @@ allow_credentials=True,
|
||||
allow_methods=["POST", "GET", "HEAD"],
|
||||
allow_headers=["*"])
|
||||
|
||||
|
||||
|
||||
# pylint: disable=missing-function-docstring
|
||||
|
||||
"""
|
||||
Blacklisted routes
|
||||
"""
|
||||
@ -54,7 +50,7 @@ def base_head():
|
||||
return
|
||||
|
||||
@app.get("/{path}", include_in_schema=False)
|
||||
def disallow_get_any(request: Request, var: Any = None): # pylint: disable=unused-argument
|
||||
def disallow_get_any(request: Request, var: Any = None):
|
||||
path = request.path_params['path']
|
||||
if not (
|
||||
isinstance(path, str)
|
||||
@ -74,9 +70,6 @@ def disallow_base_post():
|
||||
End Blacklisted Routes
|
||||
"""
|
||||
|
||||
# pylint: enable=missing-function-docstring
|
||||
|
||||
|
||||
"""
|
||||
Actionable Routes
|
||||
"""
|
||||
|
Reference in New Issue
Block a user