From f24a57bd13f67d0c3fbc36c8aaf2ec2b36feb592 Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Sat, 11 May 2024 07:48:47 -0700 Subject: [PATCH] Update pre-commit config --- .pre-commit-config.yaml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6dec8b89..8c63976c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,29 +3,30 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0 + rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0 hooks: - - id: trailing-whitespace - - id: end-of-file-fixer - - id: debug-statements + - id: check-added-large-files - id: check-ast - - id: mixed-line-ending - - id: check-yaml - args: [--allow-multiple-documents] + - id: check-case-conflict - id: check-json - id: check-toml - - id: check-added-large-files + - id: check-yaml + args: [--allow-multiple-documents] + - id: debug-statements + - id: end-of-file-fixer + - id: mixed-line-ending + - id: trailing-whitespace - repo: https://github.com/psf/black - rev: 552baf822992936134cbd31a38f69c8cfe7c0f05 # frozen: 24.3.0 + rev: 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2 hooks: - id: black - repo: https://github.com/pre-commit/mirrors-prettier - rev: f12edd9c7be1c20cfa42420fd0e6df71e42b51ea # frozen: v4.0.0-alpha.8 + rev: ffb6a759a979008c0e6dff86e39f4745a2d9eac4 # frozen: v3.1.0 hooks: - id: prettier - files: \.(html|md|yml|yaml) + types_or: [yaml, toml, markdown, css, scss, javascript, json] args: [--prose-wrap=preserve] - repo: https://github.com/adamchainz/blacken-docs