From 7a51387fb33bad8a4b0e17c84e7492c632281ede Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 11 May 2016 06:08:48 +0200 Subject: [PATCH] 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. --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 6d75cde5b..29d316620 100644 --- a/tox.ini +++ b/tox.ini @@ -162,7 +162,8 @@ deps = flake8-tidy-imports==1.0.0 flake8-future-import==0.3.2 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 commands = {envpython} -m flake8