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.
- Host: GitHub
- URL: https://github.com/compas-dev/compas_invocations
- Owner: compas-dev
- License: mit
- Created: 2022-10-08T16:00:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-11T11:14:05.000Z (almost 2 years ago)
- Last Synced: 2025-04-20T20:53:44.215Z (10 months ago)
- Topics: developer-tools, invoke, tasks
- Language: Python
- Homepage:
- Size: 8.44 MB
- Stars: 1
- Watchers: 8
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
- Authors: AUTHORS.md
Awesome Lists containing this project
README
# compas_invocations
[](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.