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
|
.PHONY: format
|
||||||
format: ## Format the code and templates files
|
format: ## Format the code and templates files
|
||||||
djlint umap/templates --reformat &&\
|
-djlint umap/templates --reformat
|
||||||
isort --profile black . &&\
|
-isort --profile black umap/
|
||||||
ruff format --target-version=py310 .
|
-ruff format --target-version=py310 umap/
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
lint: ## Lint the code and template files
|
lint: ## Lint the code and template files
|
||||||
npx eslint umap/static/umap/ &&\
|
npx eslint umap/static/umap/
|
||||||
djlint umap/templates --lint &&\
|
djlint umap/templates --lint
|
||||||
isort --check --profile black umap/ &&\
|
isort --check --profile black umap/
|
||||||
ruff format --check --target-version=py310 umap/ &&\
|
ruff format --check --target-version=py310 umap/
|
||||||
vermin --no-tips --violations -t=3.10- umap/
|
vermin --no-tips --violations -t=3.10- umap/
|
||||||
|
|
||||||
docs: ## Compile the docs
|
docs: ## Compile the docs
|
||||||
|
|
Loading…
Reference in a new issue