chore: fix ansible-lint violations and add pre-commit hooks
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
repos:
|
||||
# Optional: Add YAML validation hook
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.5.0
|
||||
hooks:
|
||||
- id: trailing-whitespace # Remove trailing spaces
|
||||
- id: end-of-file-fixer # Ensure newline at end of files
|
||||
- id: check-yaml # Basic YAML syntax check
|
||||
- id: check-added-large-files # Prevent large files
|
||||
Reference in New Issue
Block a user