From 4af92f0bd871a6b69e69ba01984c8607f3dac79f Mon Sep 17 00:00:00 2001 From: slowy07 Date: Sun, 17 Nov 2024 01:07:01 +0700 Subject: [PATCH] chore: introduce ruff Signed-off-by: slowy07 --- .pre-commit-config.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ae88d7c4..e8b826d5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,10 +11,11 @@ repos: - id: check-added-large-files args: ["--maxkb=500"] - - repo: https://github.com/psf/black - rev: 24.10.0 + - repo: https://github.com/astral-sh/ruff-pre-commit + rev: v0.7.4 hooks: - - id: black-jupyter + - id: ruff + types_or: [pyi, jupyter] - repo: https://github.com/codespell-project/codespell rev: v2.3.0