feat(dev): Install and configure black

This commit is contained in:
Gergely Polonkai
2025-09-02 11:31:24 +02:00
committed by Gergely Polonkai
parent a44a37a9b4
commit 88d79fc209
3 changed files with 64 additions and 0 deletions

View File

@@ -25,3 +25,11 @@ repos:
language: system
stages: [pre-push]
minimum_pre_commit_version: "1.4.3"
- id: black
name: black
description: "Black: The uncompromising Python code formatter"
entry: poetry run black
args: [--diff, --check]
language: system
require_serial: true
types_or: [python, pyi]