From 03e510acff238e0247f76a1f3fcc66cc6a7f5dda Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 19 Sep 2022 11:21:11 +0200 Subject: Update pylint ignores --- qutebrowser/completion/completer.py | 1 - scripts/dev/ua_fetch.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3-54-g00ecf