From 62606a03b00e46ec692a9a30afca77ea2fb02492 Mon Sep 17 00:00:00 2001 From: William Valentin Date: Fri, 25 Jul 2025 10:29:52 -0700 Subject: [PATCH] Refactor .pre-commit-config.yaml for improved readability; adjust indentation and comment formatting for consistency. --- .pre-commit-config.yaml | 78 ++++++++++++++++++++--------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 385e254..ddf43f2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,41 +1,41 @@ repos: -- repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 - hooks: - - id: check-yaml - - id: end-of-file-fixer - - id: trailing-whitespace - - id: check-added-large-files - - id: check-merge-conflict - - id: check-json - - id: check-case-conflict - - id: check-ast - - id: check-xml - - id: check-symlinks - - id: check-executables-have-shebangs - # - id: check-docstring-first + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: check-yaml + - id: end-of-file-fixer + - id: trailing-whitespace + - id: check-added-large-files + - id: check-merge-conflict + - id: check-json + - id: check-case-conflict + - id: check-ast + - id: check-xml + - id: check-symlinks + - id: check-executables-have-shebangs + # - id: check-docstring-first -- repo: https://github.com/psf/black - rev: 25.1.0 - hooks: - - id: black -- repo: https://github.com/pycqa/flake8 - rev: '7.3.0' # Use a specific, stable version of Flake8 - hooks: - - id: flake8 -# - repo: https://github.com/PyCQA/pylint -# rev: v3.3.7 -# hooks: -# - id: pylint -# additional_dependencies: -# - docstring -# - repo: https://github.com/PyCQA/isort -# rev: 6.0.1 -# hooks: -# - id: isort -# additional_dependencies: -# - docstring -- repo: https://github.com/hhatto/autopep8 - rev: v2.3.2 - hooks: - - id: autopep8 + # - repo: https://github.com/psf/black + # rev: 25.1.0 + # hooks: + # - id: black + - repo: https://github.com/pycqa/flake8 + rev: "7.3.0" # Use a specific, stable version of Flake8 + hooks: + - id: flake8 + # - repo: https://github.com/PyCQA/pylint + # rev: v3.3.7 + # hooks: + # - id: pylint + # additional_dependencies: + # - docstring + # - repo: https://github.com/PyCQA/isort + # rev: 6.0.1 + # hooks: + # - id: isort + # additional_dependencies: + # - docstring + - repo: https://github.com/hhatto/autopep8 + rev: v2.3.2 + hooks: + - id: autopep8