From b275763c65dfa3c38432465c5bfba66a15c08040 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Mon, 6 Feb 2023 12:54:11 +0000 Subject: [PATCH] Expect type stubs from canonicaljson (#14992) * canonicaljson has stubs now since https://github.com/matrix-org/python-canonicaljson/pull/52 which is included in the lockfile version we use for type checking. * Changelog --- changelog.d/14992.misc | 1 + mypy.ini | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 changelog.d/14992.misc diff --git a/changelog.d/14992.misc b/changelog.d/14992.misc new file mode 100644 index 0000000000..93ceaeafc9 --- /dev/null +++ b/changelog.d/14992.misc @@ -0,0 +1 @@ +Improve type hints. diff --git a/mypy.ini b/mypy.ini index 351b8ccade..e66e8f1ffb 100644 --- a/mypy.ini +++ b/mypy.ini @@ -142,9 +142,6 @@ disallow_untyped_defs = True [mypy-authlib.*] ignore_missing_imports = True -[mypy-canonicaljson] -ignore_missing_imports = True - [mypy-ijson.*] ignore_missing_imports = True