From c1cf09a4977332acd3f14d068e4027b06257307e Mon Sep 17 00:00:00 2001 From: Austin Gregg-Smith Date: Sat, 7 Dec 2024 16:34:27 +0000 Subject: [PATCH] remove ruff auto fix as it gets in the way of development --- .pre-commit-config.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d51dc5f..0408883 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -42,18 +42,15 @@ repos: # Formatter for python - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.3 + rev: v0.8.2 hooks: - # Run the linter. - - id: ruff - types_or: [ python, pyi ] - args: [ --fix ] + # Run the formatter. - id: ruff-format types_or: [ python, pyi ] # Checks for spelling mistakes - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 #TODO latest version 2.3.0 finds a lot of spelling mistakes but fails on "assertIn" + rev: v2.3.0 hooks: - id: codespell args: ['--write-changes']