.pre-commit-config.yaml: configure pretty-format-json from pre-commit-hooks

This commit is contained in:
Aminda Suomalainen 2023-10-22 20:17:42 +03:00
parent 6df24965dc
commit ab28ea7996
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -41,9 +41,10 @@ repos:
#- id: fix-encoding-pragma #- id: fix-encoding-pragma
#args: [--remove] #args: [--remove]
- id: mixed-line-ending - id: mixed-line-ending
args: [--fix=auto]
- id: pretty-format-json
args: args:
[--fix=auto] [--autofix, --no-ensure-ascii, --no-sort-keys]
#- id: pretty-format-json
#- id: requirements-txt-fixer #- id: requirements-txt-fixer
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config - repo: https://github.com/pre-commit-ci/pre-commit-ci-config
rev: v1.6.1 rev: v1.6.1