diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fb628f9..2657f23 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -20,12 +20,6 @@ repos: - --add-import - from __future__ import annotations - - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.2 - hooks: - - id: ruff - - id: ruff-format - - repo: https://github.com/asottile/pyupgrade rev: v3.15.1 hooks: @@ -45,6 +39,16 @@ repos: hooks: - id: validate-pyproject + - repo: https://github.com/psf/black + rev: "24.2.0" + hooks: + - id: black + + - repo: https://github.com/pycqa/autoflake + rev: v2.3.0 + hooks: + - id: autoflake + - repo: https://github.com/fsouza/mirrors-pyright rev: v1.1.353 hooks: