mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
format
This commit is contained in:
parent
d031765584
commit
d1b596d0cd
2 changed files with 4 additions and 5 deletions
6
makefile
6
makefile
|
@ -43,13 +43,11 @@ test: ## run tests quickly with the default Python
|
||||||
format:
|
format:
|
||||||
poetry run black .
|
poetry run black .
|
||||||
|
|
||||||
format-test:
|
|
||||||
poetry run black . --check
|
|
||||||
|
|
||||||
lint: ## check style with flake8
|
lint: ## check style with flake8
|
||||||
|
poetry run black . --check
|
||||||
poetry run flake8 mealie tests
|
poetry run flake8 mealie tests
|
||||||
|
|
||||||
test-all: format-test lint test ## Check Lint Format and Testing
|
test-all: lint test ## Check Lint Format and Testing
|
||||||
|
|
||||||
setup: ## Setup Development Instance
|
setup: ## Setup Development Instance
|
||||||
poetry install && \
|
poetry install && \
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
from pathlib import Path
|
|
||||||
import re
|
import re
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
from mealie.core.config import CWD, DATA_DIR, AppDirectories, AppSettings, determine_data_dir, determine_secrets
|
from mealie.core.config import CWD, DATA_DIR, AppDirectories, AppSettings, determine_data_dir, determine_secrets
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue