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>
14 lines
352 B
YAML
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$
|