We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto_dash_names
Collection
__init__
We've found that auto_dash_names setting is not taking effect when setting up a collection from a module in the __init__.py file
__init__.py
invoke --list Available tasks: module_a.a-task module_b.b-task
The only issue I could find was closed a while back, not sure if this is a symptom of that described in this comment? #465 (comment)
invoke.yaml:
invoke.yaml
tasks: auto_dash_names: false
tasks/__init__.py:
tasks/__init__.py
from invoke import Collection from . import module_a, module_b ns = Collection(module_a, module_b)
tasks/module_a.py:
tasks/module_a.py
from invoke import task @task def a_task(c): c.run('echo foo')
tasks/module_b.py:
tasks/module_b.py
from invoke import task @task def b_task(c): c.run('echo bar')
Python 3.12.2 Invoke 2.2.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
We've found that
auto_dash_names
setting is not taking effect when setting up a collection from a module in the__init__.py
fileOutput
The only issue I could find was closed a while back, not sure if this is a symptom of that described in this comment? #465 (comment)
Repro
invoke.yaml
:tasks/__init__.py
:tasks/module_a.py
:tasks/module_b.py
:Versions
Python 3.12.2
Invoke 2.2.0
The text was updated successfully, but these errors were encountered: