Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 752 Bytes

File metadata and controls

22 lines (16 loc) · 752 Bytes

Development

Hygiene checks (pre-commit / prek)

This repo uses a pre-commit-format config (.pre-commit-config.yaml) for basic hygiene checks - see that file for the current list, rather than duplicating it here.

Run it with prek - a drop-in, single-binary reimplementation of pre-commit, no Python runtime needed to run the checks themselves:

brew install prek      # or: pip install prek / pipx install prek
prek install

That installs a git hook so the checks run automatically before each commit. pre-commit itself also still works unmodified against the same config file, if you'd rather use that.