Add # noqa to a false-positive for unused-import warning

This commit is contained in:
Berker Peksag 2017-07-12 17:54:05 +03:00
parent f00fb441ca
commit b64c7fa305

View File

@ -34,7 +34,7 @@ def requires_mac_ver(*min_version):
return decorator
try:
from types import SimpleNamespace
from types import SimpleNamespace # noqa
except ImportError:
class SimpleNamespace(object):
def __init__(self, **kwargs):