Skip to content

Commit

Permalink
add pretty-format-json hook; 4 spaces may be better
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Aug 27, 2023
1 parent 143bb99 commit fb20b45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ repos:
- id: check-symlinks
exclude: "^tests/tools/run_report_test_output/.*$"
- id: check-toml
- id: pretty-format-json
args: ["--no-sort-keys", "--indent 4"]

# Python
- repo: https://github.com/psf/black
rev: 23.7.0
Expand Down

0 comments on commit fb20b45

Please sign in to comment.