CreatBotMoonraker/.pre-commit-config.yaml
Eric Callahan 83371cf135 project: add support for dependency syncing
Use pre-commit to synchronize python requirements between
pyproject.toml and the various requirements files.  In addition,
syncronize the contents of system-dependencies.json with
Moonraker's installer.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2024-07-30 14:01:49 -04:00

14 lines
352 B
YAML

repos:
- repo: local
hooks:
- id: sync-requirements
name: sync python requirements
language: system
entry: python3 scripts/sync_dependencies.py
files: ^pyproject.toml$
- id: sync-os-packages
name: sync packages
language: system
entry: python3 scripts/sync_dependencies.py
files: ^scripts/system-dependencies.json$