You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# doc.py
from .clean import flycheck as _clean_flycheck
@task(_clean_flycheck, clean_api)
def make_api(ctx):
....
So as to don't register doc.flycheck which are available as clean.flycheck
I propose this change in collection.pyCollection.from_module
# tasks = filter(lambda x: isinstance(x, Task), vars(module).values())
tasks = [obj for name, obj in vars(module).items() if isinstance(obj, Task) and not name.startswith('_')]
The text was updated successfully, but these errors were encountered:
Use case (Maybe I missed something ...)
So as to don't register
doc.flycheck
which are available asclean.flycheck
I propose this change in
collection.py
Collection.from_module
The text was updated successfully, but these errors were encountered: