Skip to content

pre "chaining" appears to be broken #120

@discount-elf

Description

@discount-elf

When utilizing the following code via collection 'test' precheck() never executes. If all the methods are specified in pre via default= then the expected behavior is observed.

   from invoke import task

    @task
    def precheck():
        print("Preing")

    @task(pre=['test.precheck'])
    def check():
        print("Checking")

    @task(default=True, pre=['test.check'])
    def run():
        print("Defaulting")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions