Skip to content

Commit

Permalink
Fix linting (#16780)
Browse files Browse the repository at this point in the history
Introduced in #16762
  • Loading branch information
erikjohnston authored Jan 5, 2024
1 parent 7469fa7 commit 81b1c56
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/16780.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Simplify event internal metadata class.
12 changes: 11 additions & 1 deletion synapse/handlers/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,17 @@
import string
from collections import OrderedDict
from http import HTTPStatus
from typing import TYPE_CHECKING, Any, Awaitable, Callable, Dict, List, Optional, Tuple
from typing import (
TYPE_CHECKING,
Any,
Awaitable,
Callable,
Dict,
List,
Optional,
Tuple,
cast,
)

import attr
from typing_extensions import TypedDict
Expand Down

0 comments on commit 81b1c56

Please sign in to comment.