diff --git a/misc/requirements/requirements-flake8.txt b/misc/requirements/requirements-flake8.txt index cbe996ce4..879f24cd0 100644 --- a/misc/requirements/requirements-flake8.txt +++ b/misc/requirements/requirements-flake8.txt @@ -18,10 +18,10 @@ flake8-tidy-imports==1.1.0 flake8-tuple==0.2.13 mccabe==0.6.1 pathmatch==0.2.1 -pep8-naming==0.6.1 +pep8-naming==0.7.0 pycodestyle==2.3.1 # rq.filter: < 2.4.0 pydocstyle==2.1.1 -pyflakes==1.6.0 +pyflakes==2.0.0 six==1.11.0 snowballstemmer==1.2.1 typing==3.6.4 diff --git a/misc/requirements/requirements-pip.txt b/misc/requirements/requirements-pip.txt index 34dc41d4d..64b096747 100644 --- a/misc/requirements/requirements-pip.txt +++ b/misc/requirements/requirements-pip.txt @@ -3,6 +3,6 @@ appdirs==1.4.3 packaging==17.1 pyparsing==2.2.0 -setuptools==39.1.0 +setuptools==39.2.0 six==1.11.0 wheel==0.31.1 diff --git a/misc/requirements/requirements-pylint.txt b/misc/requirements/requirements-pylint.txt index 28add7741..55036ec8d 100644 --- a/misc/requirements/requirements-pylint.txt +++ b/misc/requirements/requirements-pylint.txt @@ -1,6 +1,6 @@ # This file is automatically generated by scripts/dev/recompile_requirements.py -astroid==1.6.3 +astroid==1.6.4 certifi==2018.4.16 chardet==3.0.4 github3.py==1.1.0 @@ -8,7 +8,7 @@ idna==2.6 isort==4.3.4 lazy-object-proxy==1.3.1 mccabe==0.6.1 -pylint==1.8.4 +pylint==1.9.1 python-dateutil==2.7.3 ./scripts/dev/pylint_checkers requests==2.18.4 diff --git a/misc/requirements/requirements-tests.txt b/misc/requirements/requirements-tests.txt index cddf48309..a2d4df525 100644 --- a/misc/requirements/requirements-tests.txt +++ b/misc/requirements/requirements-tests.txt @@ -2,7 +2,7 @@ attrs==18.1.0 beautifulsoup4==4.6.0 -cheroot==6.2.4 +cheroot==6.3.1 click==6.7 # colorama==0.3.9 coverage==4.5.1 @@ -11,7 +11,7 @@ fields==5.0.0 Flask==1.0.2 glob2==0.6 hunter==2.0.2 -hypothesis==3.56.9 +hypothesis==3.57.0 itsdangerous==0.24 # Jinja2==2.10 Mako==1.0.7 @@ -27,9 +27,9 @@ pytest-bdd==2.21.0 pytest-benchmark==3.1.1 pytest-cov==2.5.1 pytest-faulthandler==1.5.0 -pytest-instafail==0.3.0 +pytest-instafail==0.4.0 pytest-mock==1.10.0 -pytest-qt==2.3.1 +pytest-qt==2.3.2 pytest-repeat==0.4.1 pytest-rerunfailures==4.0 pytest-travis-fold==1.3.0 diff --git a/misc/requirements/requirements-tox.txt b/misc/requirements/requirements-tox.txt index f5344f57e..e8b3de2b1 100644 --- a/misc/requirements/requirements-tox.txt +++ b/misc/requirements/requirements-tox.txt @@ -4,4 +4,4 @@ pluggy==0.6.0 py==1.5.3 six==1.11.0 tox==3.0.0 -virtualenv==15.2.0 +virtualenv==16.0.0 diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index 60844029f..1674a7eb0 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -1674,7 +1674,7 @@ class CommandDispatcher: """ try: elem.set_value(text) - except webelem.OrphanedError as e: + except webelem.OrphanedError: message.error('Edited element vanished') ed.backup() except webelem.Error as e: diff --git a/qutebrowser/browser/qutescheme.py b/qutebrowser/browser/qutescheme.py index 8866f1643..6fc2a8429 100644 --- a/qutebrowser/browser/qutescheme.py +++ b/qutebrowser/browser/qutescheme.py @@ -177,7 +177,7 @@ def data_for_url(url): except OSError as e: # FIXME:qtwebengine how to handle this? raise QuteSchemeOSError(e) - except QuteSchemeError as e: + except QuteSchemeError: raise assert mimetype is not None, url diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index c617fca14..e9b33b5b8 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -102,7 +102,7 @@ def _parse_yaml_type(name, node): try: typ = getattr(configtypes, type_name) - except AttributeError as e: + except AttributeError: raise AttributeError("Did not find type {} for {}".format( type_name, name)) diff --git a/qutebrowser/config/configfiles.py b/qutebrowser/config/configfiles.py index 986ca3f56..25c0c9971 100644 --- a/qutebrowser/config/configfiles.py +++ b/qutebrowser/config/configfiles.py @@ -573,7 +573,7 @@ def read_autoconfig(): """Read the autoconfig.yml file.""" try: config.instance.read_yaml() - except configexc.ConfigFileErrors as e: + except configexc.ConfigFileErrors: raise # caught in outer block except configexc.Error as e: desc = configexc.ConfigErrorDesc("Error", e) diff --git a/qutebrowser/config/configtypes.py b/qutebrowser/config/configtypes.py index ecf1efe86..619dfd71d 100644 --- a/qutebrowser/config/configtypes.py +++ b/qutebrowser/config/configtypes.py @@ -1409,7 +1409,7 @@ class SearchEngineUrl(BaseType): try: value.format("") - except (KeyError, IndexError) as e: + except (KeyError, IndexError): raise configexc.ValidationError( value, "may not contain {...} (use {{ and }} for literal {/})") except ValueError as e: diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index 4d395b8ec..85fdf33bf 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -293,7 +293,7 @@ class _CrashDialog(QDialog): self._paste_text = '\n\n'.join(lines) try: user = getpass.getuser() - except Exception as e: + except Exception: log.misc.exception("Error while getting user") user = 'unknown' try: diff --git a/qutebrowser/misc/ipc.py b/qutebrowser/misc/ipc.py index 8af5ba6bf..3c718de7b 100644 --- a/qutebrowser/misc/ipc.py +++ b/qutebrowser/misc/ipc.py @@ -498,7 +498,7 @@ def send_or_listen(args): server = IPCServer(socketname) server.listen() return server - except AddressInUseError as e: + except AddressInUseError: # This could be a race condition... log.init.debug("Got AddressInUseError, trying again.") time.sleep(0.5)