Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 029cfaf

Browse files
author
David Robertson
committed
Pull in updated canonicaljson lib
so the protocol check just works
1 parent e9329dc commit 029cfaf

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

synapse/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@
6464
try:
6565
from canonicaljson import set_json_library
6666

67-
# type-ignore: I think there has been a regression in mypy 1.0.0 in how it checks
68-
# modules against Protocols.
69-
set_json_library(json) # type: ignore[arg-type]
67+
set_json_library(json)
7068
except ImportError:
7169
pass
7270

0 commit comments

Comments
 (0)