mirror of
https://opendev.org/openstack/neutron.git
synced 2026-01-11 19:58:19 +00:00
Fix duplicated checks to enforce usage of assertIs(Not)None
H203 and N536 are equivalent. Use the built-in one from hacking. Change-Id: I04a9ce41539ead71f8df0510c07ab2505ab7db3f Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
parent
185b5ffe2b
commit
e1f95eea4a
1 changed files with 1 additions and 2 deletions
3
tox.ini
3
tox.ini
|
|
@ -238,8 +238,7 @@ select = H,N
|
|||
# N532: Validate that LOG.warning is used instead of LOG.warn
|
||||
# N534: Exception messages should be translated
|
||||
# N535: Usage of Python eventlet module not allowed
|
||||
# N536: Use assertIsNone
|
||||
enable-extensions = H106,H203,H204,H205,H904,N521,N524,N529,N532,N534,N535,N536
|
||||
enable-extensions = H106,H203,H204,H205,H904,N521,N524,N529,N532,N534,N535
|
||||
# H405: multi line docstring summary not separated with an empty line
|
||||
# N530: Direct neutron imports not allowed
|
||||
ignore = H405,N530
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue