From a4cc51a91c92563a546176ae7d29634605697f45 Mon Sep 17 00:00:00 2001 From: Daniel Kaufman <114174502+danielfromearth@users.noreply.github.com> Date: Thu, 14 Nov 2024 10:58:05 -0500 Subject: [PATCH] fix indent --- .pre-commit-config.yaml | 53 ++++++++++++++++++++--------------------- 1 file changed, 26 insertions(+), 27 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb546d9..93a5cb2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,32 +9,32 @@ default_language_version: repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 - hooks: - # Validate format - - id: check-yaml - args: [ '--allow-multiple-documents' ] - - id: check-toml - - id: check-json - args: ['--autofix', '--no-ensure-ascii', '--no-sort-keys'] - # Check for common mistakes - - id: check-added-large-files - - id: check-case-conflict - # - id: check-illegal-windows-names # TODO: Enable in next release - - id: check-merge-conflict - - id: check-executables-have-shebangs - - id: check-shebang-scripts-are-executable - - id: check-symlinks - - id: check-vcs-permalinks - - id: destroyed-symlinks - - id: detect-private-key - - id: end-of-file-fixer - exclude: ".ipynb" - - id: mixed-line-ending - - id: no-commit-to-branch # protects `main` by default - - id: debug-statements - - id: trailing-whitespace - exclude: ".txt" + rev: v5.0.0 + hooks: + # Validate format + - id: check-yaml + args: [ '--allow-multiple-documents' ] + - id: check-toml + - id: check-json + args: ['--autofix', '--no-ensure-ascii', '--no-sort-keys'] + # Check for common mistakes + - id: check-added-large-files + - id: check-case-conflict + # - id: check-illegal-windows-names # TODO: Enable in next release + - id: check-merge-conflict + - id: check-executables-have-shebangs + - id: check-shebang-scripts-are-executable + - id: check-symlinks + - id: check-vcs-permalinks + - id: destroyed-symlinks + - id: detect-private-key + - id: end-of-file-fixer + exclude: ".ipynb" + - id: mixed-line-ending + - id: no-commit-to-branch # protects `main` by default + - id: debug-statements + - id: trailing-whitespace + exclude: ".txt" - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.7.2 @@ -43,7 +43,6 @@ repos: args: ["--fix", "--exit-non-zero-on-fix"] - id: ruff-format - # https://github.com/python/black#version-control-integration - repo: https://github.com/psf/black rev: 24.8.0 hooks: