From addf64225837fddd3e1a8817e4a3fca38229dfe3 Mon Sep 17 00:00:00 2001 From: Zane Clark Date: Thu, 31 Oct 2024 08:57:23 -0700 Subject: [PATCH] fix: remove unused default_config_file_name class attribute --- schemachange/config/BaseConfig.py | 2 -- tests/test_cli_misc.py | 1 - 2 files changed, 3 deletions(-) diff --git a/schemachange/config/BaseConfig.py b/schemachange/config/BaseConfig.py index a77c8da..0051d40 100644 --- a/schemachange/config/BaseConfig.py +++ b/schemachange/config/BaseConfig.py @@ -20,8 +20,6 @@ @dataclasses.dataclass(frozen=True) class BaseConfig(ABC): - default_config_file_name: ClassVar[str] = "schemachange-config.yml" - subcommand: Literal["deploy", "render"] config_version: int | None = None config_file_path: Path | None = None diff --git a/tests/test_cli_misc.py b/tests/test_cli_misc.py index 97bbc68..e2b9d7e 100644 --- a/tests/test_cli_misc.py +++ b/tests/test_cli_misc.py @@ -14,7 +14,6 @@ def test_cli_given__schemachange_version_change_updated_in_setup_config_file(): def test_cli_given__constants_exist(): - assert BaseConfig.default_config_file_name == "schemachange-config.yml" assert ChangeHistoryTable._default_database_name == "METADATA" assert ChangeHistoryTable._default_schema_name == "SCHEMACHANGE" assert ChangeHistoryTable._default_table_name == "CHANGE_HISTORY"