compas-invocations2

A collection of reusable pyinvoke tasks.


License
Other
Install
pip install compas-invocations2==0.2.0

Documentation

compas_invocations2

pypi

A collection of reusable pyinvoke tasks

Usage

Import and add tasks to a collection in your project's tasks.py file:

import os
from invoke import Collection
from compas_invocations2 import style

ns = Collection(style.check, style.lint)
ns.configure(
    {
        "base_folder": os.path.dirname(__file__),
    }
)

For a more complete example, check the tasks.py of this project.