summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-09-19 11:21:11 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-09-19 11:21:11 +0200
commit03e510acff238e0247f76a1f3fcc66cc6a7f5dda (patch)
treed9e6dcf4eb7c60b22033dabe4410f080620279a5
parent3f542636af30ca932deb0ccbb5ebf4ff4281680e (diff)
downloadqutebrowser-03e510acff238e0247f76a1f3fcc66cc6a7f5dda.tar.gz
qutebrowser-03e510acff238e0247f76a1f3fcc66cc6a7f5dda.zip
Update pylint ignores
-rw-r--r--qutebrowser/completion/completer.py1
-rw-r--r--scripts/dev/ua_fetch.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/completion/completer.py b/qutebrowser/completion/completer.py
index cf6984288..34e68fd2a 100644
--- a/qutebrowser/completion/completer.py
+++ b/qutebrowser/completion/completer.py
@@ -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()]
diff --git a/scripts/dev/ua_fetch.py b/scripts/dev/ua_fetch.py
index 6e5bc66ac..743cd252e 100644
--- a/scripts/dev/ua_fetch.py
+++ b/scripts/dev/ua_fetch.py
@@ -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: