mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-05 21:45:25 +02:00
style(backend): 🎨 add isort to lint and CI/CD
This commit is contained in:
parent
2c80980453
commit
7c936c85ae
103 changed files with 203 additions and 93 deletions
11
makefile
11
makefile
|
@ -44,14 +44,19 @@ clean-test: ## 🧹 Remove test and coverage artifacts
|
|||
rm -fr htmlcov/
|
||||
rm -fr .pytest_cache
|
||||
|
||||
test-all: lint test ## 🧪 Check Lint Format and Testing
|
||||
test-all: lint-test test ## 🧪 Check Lint Format and Testing
|
||||
|
||||
test: ## 🧪 Run tests quickly with the default Python
|
||||
poetry run pytest
|
||||
|
||||
lint: ## 🧺 Format, Check and Flake8
|
||||
poetry run black .
|
||||
lint-test:
|
||||
poetry run black . --check
|
||||
poetry run isort . --check-only
|
||||
poetry run flake8 mealie tests
|
||||
|
||||
lint: ## 🧺 Format, Check and Flake8
|
||||
poetry run isort .
|
||||
poetry run black .
|
||||
poetry run flake8 mealie tests
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue