cfg.StrOpt('auth_strategy',
default='keystone',
choices=['noauth', 'keystone'],
- help='The strategy to use for auth. Supports noauth or keystone.'),
+ help='The strategy to use for auth. Supports noauth or '
+ 'keystone.'),
cfg.ListOpt('enabled_backends',
help='A list of backend names to use. These backend names '
'should be backed by a unique [CONFIG] group '
[testenv:pep8]
commands =
- flake8 {posargs} . cinder/common
+ flake8 {posargs} .
# Check that .po and .pot files are valid:
bash -c "find cinder -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
{toxinidir}/tools/config/check_uptodate.sh --checkopts
[testenv:pep8-constraints]
install_command = {[testenv:common-constraints]install_command}
commands =
- flake8 {posargs} . cinder/common
+ flake8 {posargs} .
# Check that .po and .pot files are valid:
bash -c "find cinder -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
{toxinidir}/tools/config/check_uptodate.sh --checkopts
# E251 unexpected spaces around keyword / parameter equals
# reason: no improvement in readability
ignore = E251
-exclude = .git,.venv,.tox,dist,tools,doc,common,*egg,build
+exclude = .git,.venv,.tox,dist,tools,doc,*egg,build
max-complexity=30
[hacking]