mirror of
https://opendev.org/openstack/ansible-collections-openstack.git
synced 2026-05-07 22:03:09 +00:00
Remove F403 and F405 exclusions
Importing from * is not a thing that should be done, as it masks errors and makes code hard to understand. There are some copy-pasta files that violate this. Mark them with noqa for now, because we don't actually care about them. Change-Id: I790f88c75ea546d83e347e42df0050ad36211936
This commit is contained in:
@@ -31,8 +31,8 @@ import sys
|
||||
if sys.version_info < (2, 7):
|
||||
try:
|
||||
# Need unittest2 on python2.6
|
||||
from unittest2 import *
|
||||
from unittest2 import * # noqa
|
||||
except ImportError:
|
||||
print('You need unittest2 installed on python2.6.x to run tests')
|
||||
else:
|
||||
from unittest import *
|
||||
from unittest import * # noqa
|
||||
|
||||
Reference in New Issue
Block a user