chore: split lint and format recipes
This commit is contained in:
parent
288c7983fc
commit
73c5a963d9
1 changed files with 7 additions and 7 deletions
14
Makefile
14
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
|
||||
|
|
Loading…
Reference in a new issue