From 5f139b896c36af04ad3ed13668b68c9fbee97dba Mon Sep 17 00:00:00 2001 From: David Robertson Date: Mon, 2 May 2022 23:34:35 +0100 Subject: [PATCH] Make use of canonicaljson's type annotations Added by me in canonicaljson 1.6.1. --- mypy.ini | 3 --- poetry.lock | 7 ++++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/mypy.ini b/mypy.ini index ef28216418a5..2b46aa8df502 100644 --- a/mypy.ini +++ b/mypy.ini @@ -244,9 +244,6 @@ ignore_missing_imports = True [mypy-bcrypt] ignore_missing_imports = True -[mypy-canonicaljson] -ignore_missing_imports = True - [mypy-constantly] ignore_missing_imports = True diff --git a/poetry.lock b/poetry.lock index e27a44989cd4..c14182515aef 100644 --- a/poetry.lock +++ b/poetry.lock @@ -95,7 +95,7 @@ webencodings = "*" [[package]] name = "canonicaljson" -version = "1.6.0" +version = "1.6.1" description = "Canonical JSON" category = "main" optional = false @@ -103,6 +103,7 @@ python-versions = "~=3.7" [package.dependencies] simplejson = ">=3.14.0" +typing-extensions = {version = ">=4.0.0", markers = "python_version < \"3.8\""} [package.extras] frozendict = ["frozendict (>=1.0)"] @@ -1619,8 +1620,8 @@ bleach = [ {file = "bleach-4.1.0.tar.gz", hash = "sha256:0900d8b37eba61a802ee40ac0061f8c2b5dee29c1927dd1d233e075ebf5a71da"}, ] canonicaljson = [ - {file = "canonicaljson-1.6.0-py3-none-any.whl", hash = "sha256:7230c2a2a3db07874f622af84effe41a655e07bf23734830e18a454e65d5b998"}, - {file = "canonicaljson-1.6.0.tar.gz", hash = "sha256:8739d5fd91aca7281d425660ae65af7663808c8177778965f67e90b16a2b2427"}, + {file = "canonicaljson-1.6.1-py3-none-any.whl", hash = "sha256:9ccf1079a928b520b9b7dd8567f842ca44d1877d8b6540b83254b8a6ac6cfc11"}, + {file = "canonicaljson-1.6.1.tar.gz", hash = "sha256:a93664f698556dbd4bab9c3fc4fb35834cf2535da1ea00b6b7758d8fe2bbb824"}, ] certifi = [ {file = "certifi-2021.10.8-py2.py3-none-any.whl", hash = "sha256:d62a0163eb4c2344ac042ab2bdf75399a71a2d8c7d47eac2e2ee91b9d6339569"},