diff options
-rw-r--r-- | qutebrowser/completion/completer.py | 1 | ||||
-rw-r--r-- | scripts/dev/ua_fetch.py | 1 |
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: |