summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-03-17 06:06:34 +0000
committerGerrit Code Review <review@openstack.org>2021-03-17 06:06:34 +0000
commitb16fae474001d4852917e8d00fa08fd639337225 (patch)
treea9b819451afc1d70ef5fef08accd213d89b9e1db /tox.ini
parentc6ec9d0b797c1b6e4fe50abe516a8468af08ab8d (diff)
parent0b920d2a08bc1b5b6447e9368329d124258e2a8c (diff)
downloadironic-b16fae474001d4852917e8d00fa08fd639337225.tar.gz
Merge "Enforce autospec in test_console_utils"
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 1 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 50b3601da..43f2bf931 100644
--- a/tox.ini
+++ b/tox.ini
@@ -135,12 +135,10 @@ max-complexity=19
# [H210] Require ‘autospec’, ‘spec’, or ‘spec_set’ in mock.patch/mock.patch.object calls
# [H904] Delay string interpolations at logging calls.
enable-extensions=H106,H203,H204,H205,H210,H904
-# TODO(rpittau) remove the ignores below when we're ready to apply H210 to
-# the various modules. This can be done in batches changing the filters.
+# [E402] Module level import not at top of file
per-file-ignores =
ironic/cmd/__init__.py:E402
ironic/tests/base.py:E402
- ironic/tests/unit/drivers/modules/test_console_utils.py:H210
[hacking]
import_exceptions = testtools.matchers, ironic.common.i18n