close
Skip to content

Trouble loading the project-level configuration file #234

@brutus

Description

@brutus

I'm using Invoke 0.10.1 in an virtual environment. I have an invoke.yaml file next to my tasks.py file, but it is ignored. Values from ~/.invoke.yaml are loaded though. If i use -f it works too.

The tasks.py imports some tasks from other modules, but the root namespace is created and configured in the tasks.py file. I tried using a package for the tasks instead but to no avail.

Any hints?

And btw: if I use a package, do the invoke.yaml file needs to be in the package (next to __init__.py) or in the parent folder (tried both, none worked)?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions