Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] authored and github-actions[bot] committed Oct 14, 2024
1 parent effc256 commit aca5570
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions env_config/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit aca5570

Please sign in to comment.