From 031e1a70dab2d8c6bcc93ce64a7cc42d5eb7fcda Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Wed, 12 Aug 2020 11:42:57 +0200 Subject: add makefile style target --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d4ec061..5e2bab1 100644 --- a/Makefile +++ b/Makefile @@ -16,8 +16,9 @@ data/release_export_expanded.json.gz: ## Download release export mkdir -p data wget -c https://archive.org/download/fatcat_bulk_exports_2020-08-05/release_export_expanded.json.gz -O $@ -.PHONY: black -black: ## Format all Python files +.PHONY: style +style: ## Apply import sorting and black source formatting on all files + isort -c --atomic . find . -name "*.py" -exec black {} \; .PHONY: dist -- cgit v1.2.3