From 39f9f0de168b0149456a1aca09ef3f442f436bbf Mon Sep 17 00:00:00 2001 From: Bryan Forbes Date: Wed, 10 Feb 2021 14:37:35 -0600 Subject: Refactor typings * Improve typing of `__init__()` * Update typing of `Map`-producing functions to produce the correct type * Update typing of other methods to more closely align with `Mapping` * Add protocol classes for unexposed data structures * Export protocol classes for ease of use in typed code * Update stub file to pass in mypy strict mode --- .github/workflows/tests.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github/workflows/tests.yml') diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 971e850..7558539 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -51,4 +51,5 @@ jobs: run: | pip install -e .[test] flake8 immutables/ tests/ + mypy immutables/ python -m unittest -v tests.suite -- cgit v1.2.3