refactor: ruff autofixes

This commit is contained in:
Mark Paronyan committed 2026-09-27 15:55:10 +03:00
1 parent 2ac637c662
commit a0450b6bce
455 files changed
+12322 -14762

No files matched your search

-4
View File
@@ -32,13 +32,11 @@ class PrivilegeBase(BaseModel):
class Privilege(DateTimeModelMixin, PrivilegeBase):
privilege_id: UUID
model_config = ConfigDict(from_attributes=True)
class ACEType(str, Enum):
user = "user"
group = "group"
@@ -75,7 +73,6 @@ class ACEUpdate(ACEBase):
class ACE(DateTimeModelMixin, ACEBase):
ace_id: UUID
model_config = ConfigDict(from_attributes=True)
@@ -106,7 +103,6 @@ class RoleUpdate(RoleBase):
class Role(DateTimeModelMixin, RoleBase):
role_id: UUID
is_builtin: bool
privileges: List[Privilege]