Project: types-mock

Typing stubs for mock

Project Details

Latest version
5.1.0.3
Home Page
https://github.com/python/typeshed
PyPI Page
https://pypi.org/project/types-mock/

Project Popularity

PageRank
0.0033621408018824385
Number of downloads
841193

Typing stubs for mock

This is a PEP 561 type stub package for the mock package. It can be used by type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code that uses mock.

This version of types-mock aims to provide accurate annotations for mock==5.1.*. The source for this package can be found at https://github.com/python/typeshed/tree/main/stubs/mock. All fixes for types and metadata should be contributed there.

See https://github.com/python/typeshed/blob/main/README.md for more details. This package was generated from typeshed commit 81633e27097228a8a7eb0f963c62916ecea78abc and was tested with mypy 1.7.1, pyright 1.1.334, and pytype 2023.11.21.