1
0
Fork 0
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:
hay-kot 2021-08-28 14:27:56 -08:00
parent 2c80980453
commit 7c936c85ae
103 changed files with 203 additions and 93 deletions

View file

@ -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