Update pylint ignores

This commit is contained in:
Florian Bruhin 2022-09-19 11:21:11 +02:00
parent 3f542636af
commit 03e510acff
2 changed files with 1 additions and 1 deletions

View File

@ -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()]

View File

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