From ab28ea79961c5739a8d167b7900ba235c6706536 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 22 Oct 2023 20:17:42 +0300 Subject: [PATCH] .pre-commit-config.yaml: configure pretty-format-json from pre-commit-hooks --- .pre-commit-config.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b4005d3..7b063b1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -41,9 +41,10 @@ repos: #- id: fix-encoding-pragma #args: [--remove] - id: mixed-line-ending + args: [--fix=auto] + - id: pretty-format-json args: - [--fix=auto] - #- id: pretty-format-json + [--autofix, --no-ensure-ascii, --no-sort-keys] #- id: requirements-txt-fixer - repo: https://github.com/pre-commit-ci/pre-commit-ci-config rev: v1.6.1