Skip to content

Commit

Permalink
pre-commit-config: move back to black and autoflake
Browse files Browse the repository at this point in the history
While ruff is fast, it's conflicting with reorder-python-imports and
I'll stick to the latter.
  • Loading branch information
fsouza committed Mar 13, 2024
1 parent b8e0784 commit cda2f91
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .pre-commit-config.yaml
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit cda2f91

Please sign in to comment.