mirror of
https://github.com/umap-project/umap.git
synced 2025-05-04 13:41:49 +02:00
chore: move isort profile to pyproject
so it also active when running isort manually or from Sublime
This commit is contained in:
parent
73e7f60cdf
commit
09a6c0532d
2 changed files with 4 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -13,14 +13,14 @@ 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 umap/
|
-isort umap/
|
||||||
-ruff format --target-version=py310 umap/
|
-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/js/
|
npx eslint umap/static/umap/js/
|
||||||
djlint umap/templates --lint
|
djlint umap/templates --lint
|
||||||
isort --check --profile black umap/
|
isort --check 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/
|
||||||
|
|
||||||
|
|
|
@ -100,3 +100,5 @@ format_css=true
|
||||||
blank_line_after_tag="load,extends"
|
blank_line_after_tag="load,extends"
|
||||||
line_break_after_multiline_tag=true
|
line_break_after_multiline_tag=true
|
||||||
|
|
||||||
|
[tool.isort]
|
||||||
|
profile = "black"
|
||||||
|
|
Loading…
Reference in a new issue