mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-05 13:35:23 +02:00
chores: updates-and-linters (#1868)
* switch to ruff * add ruff * run ruff --fix * update ruff * resolve ruff errors * drop isort from CI * fix decorator order
This commit is contained in:
parent
fd0e02a5c6
commit
82dc586bac
62 changed files with 362 additions and 536 deletions
7
makefile
7
makefile
|
@ -84,12 +84,11 @@ backend-typecheck:
|
|||
backend-test: ## 🧪 Run tests quickly with the default Python
|
||||
poetry run pytest
|
||||
|
||||
backend-format: ## 🧺 Format, Check and Flake8
|
||||
poetry run isort .
|
||||
backend-format: ## 🧺 Format the codebase
|
||||
poetry run black .
|
||||
|
||||
backend-lint:
|
||||
poetry run flake8 mealie tests
|
||||
backend-lint: ## 🧹 Lint the codebase (Ruff)
|
||||
poetry run ruff mealie
|
||||
|
||||
backend-all: backend-format backend-lint backend-typecheck backend-test ## 🧪 Runs all the backend checks and tests
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue