diff options
author | Riccardo Pittau <elfosardo@gmail.com> | 2021-03-08 18:53:49 +0100 |
---|---|---|
committer | Riccardo Pittau <elfosardo@gmail.com> | 2021-03-08 19:16:08 +0100 |
commit | 0b920d2a08bc1b5b6447e9368329d124258e2a8c (patch) | |
tree | 87edf233b8f854a16639e749030192376dd2ee9a /tox.ini | |
parent | 94fae9ac230232ffcfb41ab11038d9c441a02dad (diff) | |
download | ironic-0b920d2a08bc1b5b6447e9368329d124258e2a8c.tar.gz |
Enforce autospec in test_console_utils
Adjust unit tests and filters in tox.ini
Change-Id: I05a3a1b37d0ce3cf33b3b5b9637350f0fd1f0afb
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -135,12 +135,10 @@ max-complexity=18 # [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 |