mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-04 21:15:22 +02:00
fix linters
This commit is contained in:
parent
3ed197a843
commit
b14da7efdd
3 changed files with 21 additions and 5 deletions
6
makefile
6
makefile
|
@ -49,11 +49,15 @@ test-all: lint test ## 🧪 Check Lint Format and Testing
|
|||
test: ## 🧪 Run tests quickly with the default Python
|
||||
poetry run pytest
|
||||
|
||||
lint: ## 🧺 Check style with flake8
|
||||
lint: ## 🧺 Format, Check and Flake8
|
||||
poetry run black .
|
||||
poetry run black . --check
|
||||
poetry run flake8 mealie tests
|
||||
|
||||
|
||||
lint-frontend: ## 🧺 Run yarn lint
|
||||
cd frontend && yarn lint
|
||||
|
||||
coverage: ## ☂️ Check code coverage quickly with the default Python
|
||||
poetry run pytest
|
||||
poetry run coverage report -m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue