From 6ecb68eefdd74d6d7ada272f433b465b1e9789d9 Mon Sep 17 00:00:00 2001 From: Matiiss <83066658+Matiiss@users.noreply.github.com> Date: Sun, 24 Nov 2024 19:37:19 +0200 Subject: [PATCH] reconfigure the hooks to be more concise --- .pre-commit-config.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bb42bfb648..8b59ae72d1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -29,12 +29,8 @@ repos: rev: v0.4.2 hooks: # See pyproject.toml for configuration options. - id: ruff - types_or: [ python, pyi, jupyter ] + name: ruff-sort-imports args: [--select, I, --fix] - - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.4.2 - hooks: # See pyproject.toml for configuration options. - id: ruff-format # Run the formatter types_or: [ python, pyi, jupyter ]