Open bourque opened 2 months ago
Suggestions from ChatGPT:
and checking for empty files:
- repo: local
hooks:
- id: check-empty-files
name: Check for Empty Files
entry: bash -c 'if [ ! -s "$1" ]; then echo "Empty file: $1" && exit 1; fi' --
language: system
types: [text]
Perhaps there are some pre-commit hooks out there that check for mistakes in Markdown and ReStructured Text files that could help us out here