refactor: improve variable naming and add comments for clarity in models and services
Test / test (push) Successful in 15s

This commit is contained in:
Artem Kashaev
2025-12-01 16:24:23 +05:00
parent 1039fba571
commit dc0046c730
8 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ class Base(DeclarativeBase):
"""Base class that configures naming conventions."""
@declared_attr.directive
def __tablename__(cls) -> str: # type: ignore[misc]
def __tablename__(cls) -> str: # type: ignore[misc] # noqa: N805 - SQLAlchemy expects cls
return cls.__name__.lower()