Commit 143321c2 authored by Jérome Perrin's avatar Jérome Perrin

core: disable a pylint redundant-keyword-arg false positives

To workaround a bug with our old pylint / astroid versions
parent 75ca7a2d
......@@ -655,7 +655,7 @@ class ContributionTool(BaseTool):
# Create a file name based on the URL and quote it
filename = urllib.parse.urlsplit(url)[-3]
filename = os.path.basename(filename)
filename = urllib.parse.quote(filename, safe='')
filename = urllib.parse.quote(filename, safe='') # pylint:disable=redundant-keyword-arg
filename = filename.replace('%', '')
content_type = header_info.gettype()
return file_object, filename, content_type
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment