mongo-python-driver/mypy_test.ini

16 lines
481 B
INI

[mypy]
strict = true
show_error_codes = true
disable_error_code = attr-defined, union-attr, var-annotated, assignment, no-redef, type-arg, import, no-untyped-call, no-untyped-def, index, no-any-return, misc
exclude = (?x)(
^test/mypy_fails/*.*$
| ^test/conftest.py$
)
[mypy-pymongo.synchronous.*,gridfs.synchronous.*,test.*]
warn_unused_ignores = false
disable_error_code = unused-coroutine
[mypy-pymongo.asynchronous.*,test.asynchronous.*]
warn_unused_ignores = false