Merge "Update hacking to version 1.1"

This commit is contained in:
Zuul
2019-05-20 01:00:09 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ import yaml
# from : # from :
# http://stackoverflow.com/questions/8640959/how-can-i-control-what-scalar-form-pyyaml-uses-for-my-data flake8: noqa # http://stackoverflow.com/questions/8640959/how-can-i-control-what-scalar-form-pyyaml-uses-for-my-data # flake8: noqa
def should_use_block(value): def should_use_block(value):
for c in u"\u000a\u000d\u001c\u001d\u001e\u0085\u2028\u2029": for c in u"\u000a\u000d\u001c\u001d\u001e\u0085\u2028\u2029":
if c in value: if c in value:

View File

@@ -34,7 +34,7 @@ deps =
# zuul requirements.txt # zuul requirements.txt
ansible>=2.5.1,<2.6 ansible>=2.5.1,<2.6
ansible-lint<4 ansible-lint<4
hacking>=0.10,<0.11 hacking>=1.1,<1.2
bashate>=0.2 bashate>=0.2
commands = commands =
{toxinidir}/tools/run-bashate.sh {toxinidir}/tools/run-bashate.sh