An open API service indexing awesome lists of open source software.

https://github.com/compas-dev/compas_invocations

A collection of reusable pyinvoke tasks.
https://github.com/compas-dev/compas_invocations

developer-tools invoke tasks

Last synced: 9 months ago
JSON representation

A collection of reusable pyinvoke tasks.

Awesome Lists containing this project

README

          

# compas_invocations

[![pypi](https://img.shields.io/pypi/v/compas_invocations.svg)](https://pypi.org/project/compas-invocations/)

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_invocations 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`](tasks.py) of this project.