chore: make sure linters only run inside umap/ folder

No venv/, no node_modules/, not tmp/…
This commit is contained in:
Yohan Boniface 2024-01-17 18:44:08 +01:00
parent 3e5927f65e
commit 6d358a1f71

View file

@ -21,9 +21,9 @@ format: ## Format the code and templates files
.PHONY: lint .PHONY: lint
lint: ## Lint the code and template files lint: ## Lint the code and template files
djlint umap/templates --lint &&\ djlint umap/templates --lint &&\
isort --check --profile black . &&\ isort --check --profile black umap/ &&\
ruff format --check --target-version=py38 . &&\ ruff format --check --target-version=py38 umap/ &&\
vermin --no-tips --violations -t=3.8- . vermin --no-tips --violations -t=3.8- umap/
docs: ## Compile the docs docs: ## Compile the docs
mkdocs build mkdocs build