From b13a91f46d86bd3814c0b913547d61346a9c77ee Mon Sep 17 00:00:00 2001 From: Felix Weiler Date: Thu, 9 Nov 2023 12:58:50 +0100 Subject: [PATCH] pre-commit ruff was conflicting with local ruff. fixed. --- .pre-commit-config.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 34edc57..6042754 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,10 +9,16 @@ repos: - id: end-of-file-fixer - id: trailing-whitespace - - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.0.230" + - repo: https://github.com/astral-sh/ruff-pre-commit + # Ruff version. + rev: v0.1.5 hooks: + # Run the linter. - id: ruff + args: [ --fix ] + # Run the formatter. + # Disabled for now, we use black + # - id: ruff-format - repo: https://github.com/psf/black rev: "22.8.0"