From 0d638b9abf24efab89cfb7491124c690976b3d27 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Thu, 25 Jan 2024 22:03:54 +0100 Subject: [PATCH] Chore: Update `.pre-commit-config.yaml` - isort and flake8 are gone - ruff entered the stage --- .pre-commit-config.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7b94f12..07ccdcf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -10,19 +10,16 @@ repos: - id: check-case-conflict - id: detect-private-key - id: mixed-line-ending - - repo: https://github.com/timothycrosley/isort - rev: 5.9.3 + - repo: https://github.com/astral-sh/ruff-pre-commit + # Ruff version. + rev: v0.0.285 hooks: - - id: isort + # Run the linter. + - id: ruff - repo: https://github.com/python/black rev: 21.9b0 hooks: - id: black - - repo: https://gitlab.com/pycqa/flake8 - rev: 3.9.2 - hooks: - - id: flake8 - additional_dependencies: ["flake8-bugbear"] - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.4.1 hooks: