mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-07 19:05:35 -05:00
style(backend): 🎨 add isort to lint and CI/CD
This commit is contained in:
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user