fix(python): update default python config

This commit is contained in:
2023-12-01 00:41:11 +03:00
parent cf2fcfbacc
commit 7f2d08d9ee
3 changed files with 4 additions and 5 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ __all__ = (
@dataclass
class PresetResolverConfig:
deafult: bool = True
default: bool = True
user: bool = True
project: bool = True
@@ -28,7 +28,7 @@ class PresetResolver:
self._config = config or PresetResolverConfig()
def iter_sources(self) -> Iterable[Path]:
if self._config.deafult:
if self._config.default:
for filepath in (Path(__file__).parent / "default").iterdir():
yield filepath
if self._config.user: