Skip to content

Commit 256ed7a

Browse files
author
gord chung
committed
fix pep8
ignore W504[1]. tbh, not what i prefer. [1] PyCQA/pycodestyle#197
1 parent 2a54c7b commit 256ed7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gnocchiclient/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def build_option_parser(self, description, version):
126126
# assumes it is the default. It's not in that case, but since we can't
127127
# fix all the rc files of the world, workaround it here.
128128
if ("OS_PASSWORD" in os.environ and
129-
"OS_AUTH_TYPE" not in os.environ):
129+
"OS_AUTH_TYPE" not in os.environ):
130130
os.environ.set("OS_AUTH_TYPE", "password")
131131

132132
loading.register_session_argparse_arguments(parser=parser)

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ commands =
4646

4747
[flake8]
4848
show-source = True
49-
ignore = D100,D101,D102,D103,D104,D105,D107,A002,A003
49+
ignore = D100,D101,D102,D103,D104,D105,D107,A002,A003,W504
5050
exclude=.git,.tox,dist,doc,*egg,build
5151
enable-extensions=G
5252
application-import-names = gnocchiclient

0 commit comments

Comments
 (0)