Development

In order to run the project-related tasks defined in tasks.py, yatte itself must first be installed:

$ pip install .

The package can then be reïnstalled in development mode, along with the dependencies for the development tasks:

$ yatte setup

Other project-related tasks can then be listed and run:

$ yatte
$ yatte fmt  # etc.

The code can be checked automatically when making a Git commit by saving the following script as .git/hook/pre-commit and making it executable with chmod +x:

#!/bin/sh -e
yatte check

Note: The man task has the following non-Python dependency, which must be installed separately: