Update pylint ignores
This commit is contained in:
parent
3f542636af
commit
03e510acff
|
|
@ -165,7 +165,6 @@ class Completer(QObject):
|
|||
# cursor is in a space between two existing words
|
||||
parts.insert(i, '')
|
||||
prefix = [x.strip() for x in parts[:i]]
|
||||
# pylint: disable-next=unnecessary-list-index-lookup
|
||||
center = parts[i].strip()
|
||||
# strip trailing whitespace included as a separate token
|
||||
postfix = [x.strip() for x in parts[i+1:] if not x.isspace()]
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ def wrap(ini, sub, string):
|
|||
return textwrap.wrap(string, width=80, initial_indent=ini, subsequent_indent=sub)
|
||||
|
||||
|
||||
# pylint: disable-next=missing-timeout
|
||||
response = requests.get('https://raw.githubusercontent.com/Kikobeats/top-user-agents/master/index.json')
|
||||
|
||||
if response.status_code != 200:
|
||||
|
|
|
|||
Loading…
Reference in New Issue