aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBryan Forbes <bryan@reigndropsfall.net>2021-02-10 14:37:35 -0600
committerElvis Pranskevichus <elvis@magic.io>2021-08-03 17:54:57 -0700
commit39f9f0de168b0149456a1aca09ef3f442f436bbf (patch)
tree785d7d9d9543c78e38019ced2f648d492f6adf6b /.github
parent67c5edfb8284e39ab6a0be9a4644ede306c6e9bd (diff)
downloadimmutables-39f9f0de168b0149456a1aca09ef3f442f436bbf.tar.gz
immutables-39f9f0de168b0149456a1aca09ef3f442f436bbf.zip
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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/tests.yml1
1 files changed, 1 insertions, 0 deletions
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