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:
parent
39942a642c
commit
1dcddf8358
@ -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(),
|
||||
|
2
tox.ini
2
tox.ini
@ -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] Don’t 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user