diff --git a/misc/requirements/requirements-codecov.txt b/misc/requirements/requirements-codecov.txt index 98979c4d8..c971e2306 100644 --- a/misc/requirements/requirements-codecov.txt +++ b/misc/requirements/requirements-codecov.txt @@ -5,5 +5,5 @@ chardet==3.0.4 codecov==2.0.9 coverage==4.4.1 idna==2.6 -requests==2.18.3 +requests==2.18.4 urllib3==1.22 diff --git a/misc/requirements/requirements-pylint-master.txt b/misc/requirements/requirements-pylint-master.txt index ec4693abf..cf2c98f5a 100644 --- a/misc/requirements/requirements-pylint-master.txt +++ b/misc/requirements/requirements-pylint-master.txt @@ -10,7 +10,7 @@ lazy-object-proxy==1.3.1 mccabe==0.6.1 -e git+https://github.com/PyCQA/pylint.git#egg=pylint ./scripts/dev/pylint_checkers -requests==2.18.3 +requests==2.18.4 six==1.10.0 uritemplate==3.0.0 uritemplate.py==3.0.2 diff --git a/misc/requirements/requirements-pylint.txt b/misc/requirements/requirements-pylint.txt index dde7a5ad1..1146932c3 100644 --- a/misc/requirements/requirements-pylint.txt +++ b/misc/requirements/requirements-pylint.txt @@ -10,7 +10,7 @@ lazy-object-proxy==1.3.1 mccabe==0.6.1 pylint==1.7.2 ./scripts/dev/pylint_checkers -requests==2.18.3 +requests==2.18.4 six==1.10.0 uritemplate==3.0.0 uritemplate.py==3.0.2 diff --git a/misc/requirements/requirements-tests.txt b/misc/requirements/requirements-tests.txt index 12a291c42..e59a553b9 100644 --- a/misc/requirements/requirements-tests.txt +++ b/misc/requirements/requirements-tests.txt @@ -9,10 +9,10 @@ decorator==4.1.2 EasyProcess==0.2.3 fields==5.0.0 Flask==0.12.2 -glob2==0.5 +glob2==0.6 httpbin==0.5.0 hunter==1.4.1 -hypothesis==3.18.0 +hypothesis==3.19.1 itsdangerous==0.24 # Jinja2==2.9.6 Mako==1.0.7 @@ -30,10 +30,10 @@ pytest-instafail==0.3.0 pytest-mock==1.6.2 pytest-qt==2.1.2 pytest-repeat==0.4.1 -pytest-rerunfailures==2.2 +pytest-rerunfailures==3.0 pytest-travis-fold==1.2.0 pytest-xvfb==1.0.0 PyVirtualDisplay==0.2.1 six==1.10.0 -vulture==0.24 +vulture==0.25 Werkzeug==0.12.2 diff --git a/misc/requirements/requirements-vulture.txt b/misc/requirements/requirements-vulture.txt index 5c26fc57c..fe2228c5f 100644 --- a/misc/requirements/requirements-vulture.txt +++ b/misc/requirements/requirements-vulture.txt @@ -1,3 +1,3 @@ # This file is automatically generated by scripts/dev/recompile_requirements.py -vulture==0.24 +vulture==0.25 diff --git a/scripts/dev/run_vulture.py b/scripts/dev/run_vulture.py index 2a0ecec44..35cdadbb0 100755 --- a/scripts/dev/run_vulture.py +++ b/scripts/dev/run_vulture.py @@ -127,10 +127,11 @@ def report(items): properties which get used for the items. """ output = [] - for item in sorted(items, key=lambda e: (e.filename.lower(), e.lineno)): + for item in sorted(items, + key=lambda e: (e.filename.lower(), e.first_lineno)): relpath = os.path.relpath(item.filename) path = relpath if not relpath.startswith('..') else item.filename - output.append("{}:{}: Unused {} '{}'".format(path, item.lineno, + output.append("{}:{}: Unused {} '{}'".format(path, item.first_lineno, item.typ, item.name)) return output @@ -143,7 +144,7 @@ def run(files): whitelist_file.close() - vult = vulture.Vulture(exclude=[], verbose=False) + vult = vulture.Vulture(verbose=False) vult.scavenge(files + [whitelist_file.name]) os.remove(whitelist_file.name)