From 9b7711eb2499c905b2f451350e61c37cae19f4a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anssi=20Syrj=C3=A4salo?= Date: Sun, 28 Jul 2024 23:31:53 +0300 Subject: [PATCH] build(pre-commit): Fix pre-commit-hooks --- .pre-commit-config.yaml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4fb04ae..02a6bb7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,19 +5,18 @@ repos: - id: detect-private-key - id: check-merge-conflict - id: check-added-large-files - - id: check-case-conflict # check fnames for case-insensitive file systems - - id: check-ast # whether files parse as valid Python + - id: check-case-conflict + - id: check-ast - id: debug-statements - - id: check-docstring-first # checks common error of code after docstrings + - id: check-docstring-first - id: requirements-txt-fixer - - id: mixed-line-ending # next: unify how text files are encoded -> + - id: mixed-line-ending - id: trailing-whitespace - - id: check-json # next: verify configs syntactically correct -> + - id: check-json - id: check-toml - id: check-yaml -repos: - - repo: https://github.com/psf/black-pre-commit-mirror - rev: 24.4.2 - hooks: - - id: black +- repo: https://github.com/psf/black-pre-commit-mirror + rev: 24.4.2 + hooks: + - id: black