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)?
I'm using Invoke 0.10.1 in an virtual environment. I have an
invoke.yamlfile next to mytasks.pyfile, but it is ignored. Values from~/.invoke.yamlare loaded though. If i use-fit works too.The
tasks.pyimports some tasks from other modules, but the root namespace is created and configured in thetasks.pyfile. 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.yamlfile needs to be in the package (next to__init__.py) or in the parent folder (tried both, none worked)?