From aca5570bd7d13eee95ca5a0f5890fdb99ad0481d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 03:10:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- env_config/base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/env_config/base.py b/env_config/base.py index aec09c6..3a035b2 100644 --- a/env_config/base.py +++ b/env_config/base.py @@ -136,9 +136,9 @@ def load_settings(cls) -> dict[str, Any]: return {name: getattr(cls, name) for name in dir(cls) if name.isupper() and not name.startswith("_")} @classproperty - def dotenv(cls) -> dict[str, str] | Undefined: # noqa: N805 + def dotenv(cls) -> dict[str, str] | Undefined: return getattr(cls, f"_{cls.__name__}__dotenv", Undefined) @classproperty - def dotenv_path(cls) -> str | None | Undefined: # noqa: N805 + def dotenv_path(cls) -> str | None | Undefined: return getattr(cls, f"_{cls.__name__}__dotenv_path", Undefined)