PYTHON-3686 codec_options is no longer shadowed

This commit is contained in:
Shane Harvey 2023-04-28 15:01:25 -07:00
parent 3f1e960c4b
commit eb137fdf5c

View File

@ -63,8 +63,6 @@ jobs:
- name: Run mypy
run: |
mypy --install-types --non-interactive bson gridfs tools pymongo
# Test overshadowed codec_options.py file
mypy --install-types --non-interactive bson/codec_options.py
mypy --install-types --non-interactive --disable-error-code var-annotated --disable-error-code attr-defined --disable-error-code union-attr --disable-error-code assignment --disable-error-code no-redef --disable-error-code index --allow-redefinition --allow-untyped-globals --exclude "test/mypy_fails/*.*" test
python -m pip install -U typing_extensions
mypy --install-types --non-interactive test/test_typing.py test/test_typing_strict.py