add lints

This commit is contained in:
ivankirpichnikov
2025-10-16 23:11:04 +03:00
parent 2ae3323b1e
commit 31d06fc0b4
25 changed files with 56 additions and 52 deletions
@@ -1,4 +1,5 @@
from typing import override
from template_project.application.common.errors import ApplicationError, to_error
@@ -10,6 +11,7 @@ class UserWithEmailAlreadyExistsError(ApplicationError):
def __str__(self) -> str:
return f"User with the email={self.email!r} already exists"
@to_error
class UserUnauthorizedError(ApplicationError):
pass