A static badge indicating that ThemisDB uses pre-commit to enforce code style and basic correctness checks automatically before every commit. Enabled hooks include clang-format, trailing whitespace, YAML/JSON linting, and more.
- pre-commit hooks run locally on a contributor's machine only when installed (
pre-commit install). The badge signals the project's intent, not enforcement for every commit in the repository.
| Source | URL |
|---|---|
| Hook configuration | .pre-commit-config.yaml in the repository root |
| pre-commit documentation | https://pre-commit.com/ |
pip install pre-commit
pre-commit install
pre-commit run --all-files