https://github.com/compas-dev/compas_invocations2
Automation of (opinionated) dev tasks
https://github.com/compas-dev/compas_invocations2
Last synced: 14 days ago
JSON representation
Automation of (opinionated) dev tasks
- Host: GitHub
- URL: https://github.com/compas-dev/compas_invocations2
- Owner: compas-dev
- License: mit
- Created: 2024-03-01T11:09:56.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-11-12T10:39:19.000Z (5 months ago)
- Last Synced: 2026-01-06T08:20:00.224Z (3 months ago)
- Language: Python
- Homepage: http://compas.dev/compas_invocations2/
- Size: 2.59 MB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# compas_invocations2
[](https://pypi.org/project/compas-invocations2/)
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`](tasks.py) of this project.