From 9e92b25ad53af8808854dacce5ecee623695d56f Mon Sep 17 00:00:00 2001 From: Denis Anikin Date: Sun, 31 Dec 2023 19:35:15 +0300 Subject: [PATCH] Fixes for ruff sake --- scripts/__main__.py | 2 +- whole_app/settings.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/__main__.py b/scripts/__main__.py index fbfa09f..a187b79 100755 --- a/scripts/__main__.py +++ b/scripts/__main__.py @@ -31,7 +31,7 @@ def _update_readme() -> None: env_prefix_value: typing.Final = SETTINGS.model_config["env_prefix"] for one_field_name, field_properties in SETTINGS.model_fields.items(): if field_properties.description is None: - print("-", one_field_name, "not be available in README") + print("-", one_field_name, "not be available in README") # noqa: T201 continue default_value_beautified: str = ( "empty string" diff --git a/whole_app/settings.py b/whole_app/settings.py index 1bf4b3b..eceb423 100644 --- a/whole_app/settings.py +++ b/whole_app/settings.py @@ -7,6 +7,7 @@ import toml from pydantic_settings import BaseSettings + LOGGER_OBJ: typing.Final = structlog.get_logger() PATH_TO_PYPROJECT: typing.Final = pathlib.Path(__file__).parent.parent / "pyproject.toml" AvailableLanguagesType = typing.Literal[