Skip to content

Commit

Permalink
Adding checks for yaml and json formatting validity.
Browse files Browse the repository at this point in the history
Add pre-commit checks so that only validly formatted yaml and json
files will be committed.
  • Loading branch information
zivy committed May 1, 2024
1 parent 6adea00 commit 08c6551
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ repos:
args: ['--maxkb=200']
- id: detect-aws-credentials
args: ['--allow-missing-credentials'] # allow hook to pass when no credentials are detected
- id: detect-private-key
- id: detect-private-key
- id: check-json
- id: check-yaml
- repo: https://github.com/psf/black
rev: 22.12.0
hooks: # check conformance to black formatting
Expand Down

0 comments on commit 08c6551

Please sign in to comment.