mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-05-14 11:13:47 +00:00
make: Auto-format Python files, and update existing
This patch adds extends `make fmt` to auto-format Python files using `black`, and also runs it on the existing files.
This commit is contained in:
5
Makefile
5
Makefile
@@ -59,6 +59,11 @@ fmt:
|
||||
go vet ./...
|
||||
gofmt -s -w .
|
||||
clang-format -i $(shell find . -iname '*.proto')
|
||||
black -l 79 \
|
||||
test/util/check-hostaliases \
|
||||
test/util/chamuyero \
|
||||
test/util/mail_diff \
|
||||
internal/tlsconst/generate-ciphers.py
|
||||
|
||||
.PHONY: chasquid test \
|
||||
chasquid-util smtp-check mda-lmtp dovecot-auth-cli \
|
||||
|
||||
Reference in New Issue
Block a user