From 73c5a963d92d3a0489d87a35b7934dc43c3cb479 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Mon, 25 Mar 2024 19:27:57 +0100 Subject: [PATCH] chore: split lint and format recipes --- Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 19a53aa8..5c24e517 100644 --- a/Makefile +++ b/Makefile @@ -14,16 +14,16 @@ develop: ## Install the test and dev dependencies .PHONY: format format: ## Format the code and templates files - djlint umap/templates --reformat &&\ - isort --profile black . &&\ - ruff format --target-version=py310 . + -djlint umap/templates --reformat + -isort --profile black umap/ + -ruff format --target-version=py310 umap/ .PHONY: lint lint: ## Lint the code and template files - npx eslint umap/static/umap/ &&\ - djlint umap/templates --lint &&\ - isort --check --profile black umap/ &&\ - ruff format --check --target-version=py310 umap/ &&\ + npx eslint umap/static/umap/ + djlint umap/templates --lint + isort --check --profile black umap/ + ruff format --check --target-version=py310 umap/ vermin --no-tips --violations -t=3.10- umap/ docs: ## Compile the docs