Skip to content

Commit

Permalink
Adding JSON and yaml file validity pre-commit hooks.
Browse files Browse the repository at this point in the history
Adding the pre-commit hooks that check validity of configuration
files.
  • Loading branch information
zivy committed Jul 11, 2024
1 parent 82c4466 commit aa1ed44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ repos:
hooks: # check for large files, in our case images, should commit with git-lfs
- id: check-added-large-files
args: ['--maxkb=200']
- 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 aa1ed44

Please sign in to comment.