diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b77cd79a..c31f9a30 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -17,15 +17,16 @@ repos: - id: check-added-large-files - repo: https://github.com/psf/black - rev: 744d23b34800c06e10272149b70752396e90eeb8 # frozen: 23.10.1 + rev: 2a1c67e0b2f81df602ec1f6e7aeb030b9709dc7c # frozen: 23.11.0 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-prettier - rev: fc260393cc4ec09f8fc0a5ba4437f481c8b55dc1 # frozen: v3.0.3 + rev: 1bedde25f5cae9b6e8799b161ccc3ab401f421bd # frozen: v4.0.0-alpha.3 hooks: - id: prettier - files: \.(html|md|toml|yml|yaml) + entry: env PRETTIER_LEGACY_CLI=1 prettier # temporary fix for https://github.com/prettier/prettier/issues/15742 + files: \.(html|md|yml|yaml) args: [--prose-wrap=preserve] - repo: https://github.com/adamchainz/blacken-docs