fix: use system-installed Black in pre-commit to match CI

Avoids version mismatch between pre-commit's pinned Black and CI's
latest Black. All hooks now use local system tools for consistency.
This commit is contained in:
Vito Sansevero
2026-02-08 05:30:31 -08:00
parent be205f3dcc
commit bb34b9cf3b
4 changed files with 44 additions and 82 deletions
+6 -6
View File
@@ -1,12 +1,12 @@
repos:
- repo: https://github.com/psf/black
rev: 25.1.0
hooks:
- id: black
args: [--line-length=88, --target-version=py310]
- repo: local
hooks:
- id: black
name: black
entry: black --line-length=88 --target-version=py310
language: system
types: [python]
- id: flake8
name: flake8
entry: flake8 --select=E9,F63,F7,F82 --show-source --exclude=reference/,web/