diff --git a/Makefile b/Makefile index 90e97af6..27143e33 100644 --- a/Makefile +++ b/Makefile @@ -13,14 +13,14 @@ develop: ## Install the test and dev dependencies .PHONY: format format: ## Format the code and templates files -djlint umap/templates --reformat - -isort --profile black umap/ + -isort umap/ -ruff format --target-version=py310 umap/ .PHONY: lint lint: ## Lint the code and template files npx eslint umap/static/umap/js/ djlint umap/templates --lint - isort --check --profile black umap/ + isort --check umap/ ruff format --check --target-version=py310 umap/ vermin --no-tips --violations -t=3.10- umap/ diff --git a/pyproject.toml b/pyproject.toml index ac26cabc..aadd4d43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -100,3 +100,5 @@ format_css=true blank_line_after_tag="load,extends" line_break_after_multiline_tag=true +[tool.isort] +profile = "black"