feat(dev): Install and configure black
This commit is contained in:
@@ -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]
|
||||
|
Reference in New Issue
Block a user