diff --git a/gnocchiclient/shell.py b/gnocchiclient/shell.py index ee8fb4b..f7cdf69 100644 --- a/gnocchiclient/shell.py +++ b/gnocchiclient/shell.py @@ -126,7 +126,7 @@ def build_option_parser(self, description, version): # assumes it is the default. It's not in that case, but since we can't # fix all the rc files of the world, workaround it here. if ("OS_PASSWORD" in os.environ and - "OS_AUTH_TYPE" not in os.environ): + "OS_AUTH_TYPE" not in os.environ): os.environ.set("OS_AUTH_TYPE", "password") loading.register_session_argparse_arguments(parser=parser) diff --git a/tox.ini b/tox.ini index 413fd1e..345458b 100644 --- a/tox.ini +++ b/tox.ini @@ -46,7 +46,7 @@ commands = [flake8] show-source = True -ignore = D100,D101,D102,D103,D104,D105,D107,A002,A003 +ignore = D100,D101,D102,D103,D104,D105,D107,A002,A003,W504 exclude=.git,.tox,dist,doc,*egg,build enable-extensions=G application-import-names = gnocchiclient