mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
black/flake8
This commit is contained in:
parent
a6dd8492de
commit
e683f6c9b1
3 changed files with 2 additions and 6 deletions
2
makefile
2
makefile
|
@ -49,7 +49,7 @@ format-test:
|
|||
lint: ## check style with flake8
|
||||
poetry run flake8 mealie tests
|
||||
|
||||
test-all: format-test lint test
|
||||
test-all: format-test lint test ## Check Lint Format and Testing
|
||||
|
||||
setup: ## Setup Development Instance
|
||||
poetry install && \
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
from pathlib import Path
|
||||
|
||||
from mealie.core.config import settings
|
||||
from mealie.db.models.db_session import sql_global_init
|
||||
from sqlalchemy.orm.session import Session
|
||||
|
||||
|
||||
SessionLocal = sql_global_init(settings.DB_URL)
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
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
|
||||
|
||||
|
||||
def test_default_settings(monkeypatch):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue