Move comment in tox.ini
On Travis CI, the flake8 env suddenly started to fail (pip upgrade?): Invalid requirement: 'pep257==0.7.0 # still needed by flake8-docstrings but ignored' Traceback (most recent call last): File "/home/travis/build/The-Compiler/qutebrowser/.tox/flake8/lib/python3.4/site-packages/pip/_vendor/packaging/requirements.py", line 92, in __init__ req = REQUIREMENT.parseString(requirement_string) File "/home/travis/build/The-Compiler/qutebrowser/.tox/flake8/lib/python3.4/site-packages/pip/_vendor/pyparsing.py", line 1172, in parseString raise exc File "/home/travis/build/The-Compiler/qutebrowser/.tox/flake8/lib/python3.4/site-packages/pip/_vendor/pyparsing.py", line 1162, in parseString loc, tokens = self._parse( instring, 0 ) File "/home/travis/build/The-Compiler/qutebrowser/.tox/flake8/lib/python3.4/site-packages/pip/_vendor/pyparsing.py", line 1028, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/home/travis/build/The-Compiler/qutebrowser/.tox/flake8/lib/python3.4/site-packages/pip/_vendor/pyparsing.py", line 2462, in parseImpl loc, exprtokens = e._parse( instring, loc, doActions ) File "/home/travis/build/The-Compiler/qutebrowser/.tox/flake8/lib/python3.4/site-packages/pip/_vendor/pyparsing.py", line 1032, in _parseNoCache loc,tokens = self.parseImpl( instring, preloc, doActions ) File "/home/travis/build/The-Compiler/qutebrowser/.tox/flake8/lib/python3.4/site-packages/pip/_vendor/pyparsing.py", line 2265, in parseImpl raise ParseException(instring, loc, self.errmsg, self) pip._vendor.pyparsing.ParseException: Expected stringEnd (at char 15), (line:1, col:16) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/travis/build/The-Compiler/qutebrowser/.tox/flake8/lib/python3.4/site-packages/pip/req/req_install.py", line 78, in __init__ req = Requirement(req) File "/home/travis/build/The-Compiler/qutebrowser/.tox/flake8/lib/python3.4/site-packages/pip/_vendor/packaging/requirements.py", line 96, in __init__ requirement_string[e.loc:e.loc + 8])) pip._vendor.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at "'# still '" I can't reproduce this locally, but I hope this'll help.
This commit is contained in:
parent
ac41c0ba18
commit
7a51387fb3
3
tox.ini
3
tox.ini
@ -162,7 +162,8 @@ deps =
|
|||||||
flake8-tidy-imports==1.0.0
|
flake8-tidy-imports==1.0.0
|
||||||
flake8-future-import==0.3.2
|
flake8-future-import==0.3.2
|
||||||
hacking==0.11.0
|
hacking==0.11.0
|
||||||
pep257==0.7.0 # still needed by flake8-docstrings but ignored
|
# still needed by flake8-docstrings but ignored
|
||||||
|
pep257==0.7.0
|
||||||
pydocstyle==1.0.0
|
pydocstyle==1.0.0
|
||||||
commands =
|
commands =
|
||||||
{envpython} -m flake8
|
{envpython} -m flake8
|
||||||
|
Loading…
Reference in New Issue
Block a user