Latest tox causes failures:
File "/usr/local/lib/python2.7/dist-packages/tox/config.py", line 1140, in processcommand
argv = list(shlexer)
File "/usr/lib/python2.7/shlex.py", line 269, in next
token = self.get_token()
File "/usr/lib/python2.7/shlex.py", line 96, in get_token
raw = self.read_token()
File "/usr/lib/python2.7/shlex.py", line 172, in read_token
raise ValueError, "No closing quotation"
ValueError: No closing quotation
This is caused by a backwards incompatible change in tox:
https://bitbucket.org/hpk42/tox/issues/181
Change-Id: Ic28c634cf806394cfa82b61cb45be60b8f40a61a
| ... | ... |
@@ -12,20 +12,20 @@ deps = |
| 12 | 12 |
{env:BASHATE_INSTALL_PATH:bashate==0.3.2}
|
| 13 | 13 |
whitelist_externals = bash |
| 14 | 14 |
commands = bash -c "find {toxinidir} \
|
| 15 |
- -not \( -type d -name .?\* -prune \) \ # prune all 'dot' dirs |
|
| 16 |
- -not \( -type d -name doc -prune \) \ # skip documentation |
|
| 17 |
- -not \( -type d -name shocco -prune \) \ # skip shocco |
|
| 18 |
- -type f \ # only files |
|
| 19 |
- -not -name \*~ \ # skip editors, readme, etc |
|
| 15 |
+ -not \( -type d -name .?\* -prune \) \ |
|
| 16 |
+ -not \( -type d -name doc -prune \) \ |
|
| 17 |
+ -not \( -type d -name shocco -prune \) \ |
|
| 18 |
+ -type f \ |
|
| 19 |
+ -not -name \*~ \ |
|
| 20 | 20 |
-not -name \*.md \ |
| 21 | 21 |
\( \ |
| 22 | 22 |
-name \*.sh -or \ |
| 23 | 23 |
-name \*.orig -or \ |
| 24 |
- -name \*rc -or \ # openrc files, etc |
|
| 24 |
+ -name \*rc -or \ |
|
| 25 | 25 |
-name functions\* -or \ |
| 26 |
- -wholename \*/inc/\* -or \ # /inc files and |
|
| 27 |
- -wholename \*/lib/\* \ # /lib files are shell, but |
|
| 28 |
- \) \ # have no extension |
|
| 26 |
+ -wholename \*/inc/\* -or \ |
|
| 27 |
+ -wholename \*/lib/\* \ |
|
| 28 |
+ \) \ |
|
| 29 | 29 |
-print0 | xargs -0 bashate -v -iE006 -eE005,E042" |
| 30 | 30 |
|
| 31 | 31 |
[testenv:docs] |