feat: new alternate syntax and switch to black + isort (yeah, maybe not the best time, but that is done).
This commit is contained in:
@ -2,12 +2,12 @@ import inspect
|
||||
|
||||
|
||||
def test_wildcard_import():
|
||||
bonobo = __import__('bonobo')
|
||||
bonobo = __import__("bonobo")
|
||||
assert bonobo.__version__
|
||||
|
||||
for name in dir(bonobo):
|
||||
# ignore attributes starting by underscores
|
||||
if name.startswith('_'):
|
||||
if name.startswith("_"):
|
||||
continue
|
||||
attr = getattr(bonobo, name)
|
||||
if inspect.ismodule(attr):
|
||||
|
||||
Reference in New Issue
Block a user