From d1b596d0cd549d4f69e2cf5f94e751c996201f18 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Fri, 30 Apr 2021 11:54:44 -0800 Subject: [PATCH] format --- makefile | 6 ++---- tests/unit_tests/test_config.py | 3 ++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index fa0fcd4fb..406d31383 100644 --- a/makefile +++ b/makefile @@ -43,13 +43,11 @@ test: ## run tests quickly with the default Python format: poetry run black . -format-test: - poetry run black . --check - lint: ## check style with flake8 + poetry run black . --check 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 poetry install && \ diff --git a/tests/unit_tests/test_config.py b/tests/unit_tests/test_config.py index 89cccd6ef..3ca3e5286 100644 --- a/tests/unit_tests/test_config.py +++ b/tests/unit_tests/test_config.py @@ -1,5 +1,6 @@ -from pathlib import Path import re +from pathlib import Path + from mealie.core.config import CWD, DATA_DIR, AppDirectories, AppSettings, determine_data_dir, determine_secrets