mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-29 19:54:49 +00:00
Add black code formatter pre-commit hook
This commit is contained in:
@@ -8,6 +8,12 @@
|
||||
# 2. Install hooks
|
||||
# $ pre-commit install
|
||||
repos:
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 23.3.0
|
||||
hooks:
|
||||
- id: black
|
||||
name: black
|
||||
entry: black --skip-string-normalization
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: composer-validate
|
||||
|
||||
Reference in New Issue
Block a user