Fix failures in pep8 job caused by flake8>=2.6.0

Diskimage-builder depends on hacking library, which in turn depends
on flake8<2.7.0,>=2.6.0, so shaker should follow the current version.

Change-Id: I5d4eccc0d5f5bfc7e21edaad060634b3e53b60e8
This commit is contained in:
Ilya Shakhat 2019-10-17 00:34:01 +04:00
parent 39942a642c
commit 1dcddf8358
2 changed files with 3 additions and 3 deletions

View File

@ -200,8 +200,8 @@ SCENARIO_OPTS = [
'Comma-separated list of scenarios to play. Each entity '
'can be a file name or one of aliases: '
'%s. Defaults to env[SHAKER_SCENARIO].', SCENARIOS,
type_filter=lambda x: (x.endswith('.yaml')
and not x.startswith('test/')))),
type_filter=lambda x: (x.endswith('.yaml') and
not x.startswith('test/')))),
cfg.Opt('matrix',
default=utils.env('SHAKER_MATRIX'),
type=Yaml(),

View File

@ -91,7 +91,7 @@ commands = bash tools/svg2png.sh
# E125 continuation line does not distinguish itself from next logical line
# H405 multi line docstring summary not separated with an empty line
# E731 do not assign a lambda expression, use a def
# [H106] Dont put vim configuration in source files
# [H106] Don't put vim configuration in source files
# [H203] Use assertIs(Not)None to check for None
ignore = E125,H405,E731
show-source = true