Fix olddeps & mypy errors

This commit is contained in:
Devon Hudson
2025-08-05 15:07:10 -06:00
committed by Andrew Morgan
parent e65a6fc58a
commit a1a40523ae

View File

@@ -365,7 +365,7 @@ class RoomIdWithDomain(DomainSpecificString):
ROOM_ID_PATTERN_DOMAINLESS = re.compile(r"^[A-Za-z0-9\-_]{43}$")
@attr.define(slots=True, frozen=True, repr=False)
@attr.s(slots=True, frozen=True, auto_attribs=True, repr=False)
class RoomID:
"""Structure representing a room id without a domain.
There are two forms of room IDs: