Merge pull request #2915 from qutebrowser/pyup-scheduled-update-08-21-2017

Scheduled weekly dependency update for week 34
This commit is contained in:
Florian Bruhin 2017-08-24 05:51:37 +02:00 committed by GitHub
commit 187facd5c7
6 changed files with 12 additions and 11 deletions

View File

@ -5,5 +5,5 @@ chardet==3.0.4
codecov==2.0.9 codecov==2.0.9
coverage==4.4.1 coverage==4.4.1
idna==2.6 idna==2.6
requests==2.18.3 requests==2.18.4
urllib3==1.22 urllib3==1.22

View File

@ -10,7 +10,7 @@ lazy-object-proxy==1.3.1
mccabe==0.6.1 mccabe==0.6.1
-e git+https://github.com/PyCQA/pylint.git#egg=pylint -e git+https://github.com/PyCQA/pylint.git#egg=pylint
./scripts/dev/pylint_checkers ./scripts/dev/pylint_checkers
requests==2.18.3 requests==2.18.4
six==1.10.0 six==1.10.0
uritemplate==3.0.0 uritemplate==3.0.0
uritemplate.py==3.0.2 uritemplate.py==3.0.2

View File

@ -10,7 +10,7 @@ lazy-object-proxy==1.3.1
mccabe==0.6.1 mccabe==0.6.1
pylint==1.7.2 pylint==1.7.2
./scripts/dev/pylint_checkers ./scripts/dev/pylint_checkers
requests==2.18.3 requests==2.18.4
six==1.10.0 six==1.10.0
uritemplate==3.0.0 uritemplate==3.0.0
uritemplate.py==3.0.2 uritemplate.py==3.0.2

View File

@ -9,10 +9,10 @@ decorator==4.1.2
EasyProcess==0.2.3 EasyProcess==0.2.3
fields==5.0.0 fields==5.0.0
Flask==0.12.2 Flask==0.12.2
glob2==0.5 glob2==0.6
httpbin==0.5.0 httpbin==0.5.0
hunter==1.4.1 hunter==1.4.1
hypothesis==3.18.0 hypothesis==3.19.1
itsdangerous==0.24 itsdangerous==0.24
# Jinja2==2.9.6 # Jinja2==2.9.6
Mako==1.0.7 Mako==1.0.7
@ -30,10 +30,10 @@ pytest-instafail==0.3.0
pytest-mock==1.6.2 pytest-mock==1.6.2
pytest-qt==2.1.2 pytest-qt==2.1.2
pytest-repeat==0.4.1 pytest-repeat==0.4.1
pytest-rerunfailures==2.2 pytest-rerunfailures==3.0
pytest-travis-fold==1.2.0 pytest-travis-fold==1.2.0
pytest-xvfb==1.0.0 pytest-xvfb==1.0.0
PyVirtualDisplay==0.2.1 PyVirtualDisplay==0.2.1
six==1.10.0 six==1.10.0
vulture==0.24 vulture==0.25
Werkzeug==0.12.2 Werkzeug==0.12.2

View File

@ -1,3 +1,3 @@
# This file is automatically generated by scripts/dev/recompile_requirements.py # This file is automatically generated by scripts/dev/recompile_requirements.py
vulture==0.24 vulture==0.25

View File

@ -127,10 +127,11 @@ def report(items):
properties which get used for the items. properties which get used for the items.
""" """
output = [] 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) relpath = os.path.relpath(item.filename)
path = relpath if not relpath.startswith('..') else 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)) item.typ, item.name))
return output return output
@ -143,7 +144,7 @@ def run(files):
whitelist_file.close() whitelist_file.close()
vult = vulture.Vulture(exclude=[], verbose=False) vult = vulture.Vulture(verbose=False)
vult.scavenge(files + [whitelist_file.name]) vult.scavenge(files + [whitelist_file.name])
os.remove(whitelist_file.name) os.remove(whitelist_file.name)