/task-py

A prescriptive Python Task runner.

MIT LicenseMIT

Task Py

A prescriptive Python Task runner.

Prescriptivity

Install

Install Task:

$ brew install go-task

Install Taskfile into project:

$ curl -o Taskfile.yml https://raw.githubusercontent.com/retr0h/task-py/main/Taskfile.yml
$ task

Install Poetry:

Usage

Check dependencies are installed:

$ task deps

Module maintenance:

$ task mod

Report likely mistakes in packages:

$ task vet

Run Python program:

$ task run

Test packages:

$ task unit

Test all:

$ task test

Generate coverage:

$ task cov

Reformat files whose formatting differs from py_fmt_command:

$ task fmt

Check files whose formatting differs from py_fmt_command:

$ task fmt:check

List targets:

$ task

License

The MIT License.