Skip to content

Commit

Permalink
pre-commit: add json checks
Browse files Browse the repository at this point in the history
  • Loading branch information
abn authored and kasteph committed Apr 21, 2021
1 parent f478ec3 commit 44167a5
Show file tree
Hide file tree
Showing 4 changed files with 587 additions and 562 deletions.
11 changes: 10 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ repos:
exclude: ^poetry/core/_vendor

- repo: https://gitlab.com/pycqa/flake8
rev: 3.8.4
rev: 3.9.1
hooks:
- id: flake8
exclude: |
Expand Down Expand Up @@ -44,3 +44,12 @@ repos:
)
- id: debug-statements
exclude: ^poetry/core/_vendor

- id: check-json
exclude: ^poetry/core/_vendor

- id: pretty-format-json
exclude: ^poetry/core/_vendor
args:
- --no-sort-keys
- --autofix
Loading

0 comments on commit 44167a5

Please sign in to comment.