Skip to content

Commit 6a39365

Browse files
heysamtexasclaude
andcommitted
fix: resolve YAML syntax error in pre-commit configuration
Fix malformed YAML in .pre-commit-config.yaml that was preventing pre-commit hooks from running. The django-allauth dependency check hook had improper quote escaping in the bash command. Changes: - Use YAML block scalar (|) for complex bash command - Simplify error message to avoid quote conflicts - Verify all pre-commit hooks now pass 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 972c824 commit 6a39365

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ repos:
3131
hooks:
3232
- id: check-django-allauth-prod
3333
name: Check django-allauth is production-ready
34-
entry: bash -c 'if grep -E "(editable.*django-allauth|django-allauth.*\.\./)" pyproject.toml; then echo "❌ ERROR: Local django-allauth detected in pyproject.toml. Run '\''make prod-allauth'\'' first."; exit 1; fi'
34+
entry: |
35+
bash -c 'if grep -E "(editable.*django-allauth|django-allauth.*\.\./)" pyproject.toml; then echo "ERROR: Local django-allauth detected. Run make prod-allauth first."; exit 1; fi'
3536
language: system
3637
files: pyproject.toml
3738
pass_filenames: false

0 commit comments

Comments
 (0)