summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-06-21 12:53:03 +0000
committerGerrit Code Review <review@openstack.org>2019-06-21 12:53:03 +0000
commitd81225376abb35235ba45bf535215e48d84b1ec9 (patch)
tree85426dca7d4ade3ea6797fad51b102560b121ebe /tox.ini
parent29ba4b6908e9cdb2ce6002d62422fb7bc6379e1a (diff)
parent1925aa9c2420020c5c081fe7c56dfbb00791aba7 (diff)
downloadkeystone-d81225376abb35235ba45bf535215e48d84b1ec9.tar.gz
Merge "Fix E731 flake8"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 2 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 2becb181c..bf92e3242 100644
--- a/tox.ini
+++ b/tox.ini
@@ -32,7 +32,7 @@ deps =
.[bandit]
{[testenv]deps}
commands =
- flake8 --ignore=D100,D101,D102,D103,D104,E305,E402,E501,W503,W504,W605,E731
+ flake8 --ignore=D100,D101,D102,D103,D104,E305,E402,E501,W503,W504,W605
# Run bash8 during pep8 runs to ensure violations are caught by
# the check and gate queues
bashate devstack/plugin.sh
@@ -127,8 +127,7 @@ enable-extensions = H203,H904
# TODO(wxy): Fix the pep8 issue.
# E402: module level import not at top of file
# W503: line break before binary operator
-# E731: do not assign a lambda expression, use a def
-ignore = D100,D101,D102,D103,D104,D203,E402,W503,E731
+ignore = D100,D101,D102,D103,D104,D203,E402,W503
exclude=.venv,.git,.tox,build,dist,*lib/python*,*egg,tools,vendor,.update-venv,*.ini,*.po,*.pot
max-complexity=24