Skip to content

Commit dc17cf7

Browse files
committed
fix: class name is not consistent
1 parent 566fc15 commit dc17cf7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/py_app_dev/core/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Config(BaseConfig):
2525

2626

2727
@dataclass
28-
class BaseConfigJsonMixin(DataClassJSONMixin):
28+
class BaseConfigJSONMixin(DataClassJSONMixin):
2929
"""Shared mixin providing mashumaro config and JSON file I/O."""
3030

3131
class Config(BaseConfig):

tests/test_config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from py_app_dev.core.config import (
99
BaseConfigDictMixin,
10-
BaseConfigJsonMixin,
10+
BaseConfigJSONMixin,
1111
deep_merge,
1212
merge_configs,
1313
)
@@ -58,11 +58,11 @@ def test_merge_configs_override_none_value():
5858
assert merged.retries == 0, "Retries should be taken from the default value in override"
5959

6060

61-
# ---------- BaseConfigJsonMixin tests ----------
61+
# ---------- BaseConfigJSONMixin tests ----------
6262

6363

6464
@dataclass
65-
class SampleJsonConfig(BaseConfigJsonMixin):
65+
class SampleJsonConfig(BaseConfigJSONMixin):
6666
name: str = ""
6767
count: int = 0
6868
label: str | None = None

0 commit comments

Comments
 (0)