add commit check

This commit is contained in:
rebel onion 2025-06-21 08:32:12 -05:00
parent f09f86232d
commit 57328922af
2 changed files with 80 additions and 0 deletions

10
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,10 @@
repos:
- repo: local
hooks:
- id: check-port-conflicts
name: Check for port conflicts within docker groups
entry: scripts/check-port-conflicts.py
language: python3
files: '.*compose\.yaml$'
pass_filenames: false
always_run: true