mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Add # noqa to a false-positive for unused-import warning
This commit is contained in:
parent
f00fb441ca
commit
b64c7fa305
@ -34,7 +34,7 @@ def requires_mac_ver(*min_version):
|
|||||||
return decorator
|
return decorator
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from types import SimpleNamespace
|
from types import SimpleNamespace # noqa
|
||||||
except ImportError:
|
except ImportError:
|
||||||
class SimpleNamespace(object):
|
class SimpleNamespace(object):
|
||||||
def __init__(self, **kwargs):
|
def __init__(self, **kwargs):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user