Mypy plugin and stubs for munch
Project description
munch-stubs
Add types for munch for mypy.
Installation
$ pip install munch-stubs
Usage
Mypy will automatically use the type annotations in this package, once it is installed. You just need to annotate your code:
from munch import Munch
def foo(bar: Munch) -> int:
return bar.foo
For general hints how to use type annotations, please read Type Annotations in Python 3.8.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
munch-stubs-0.1.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for munch_stubs-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 057600a701949fcba8fabcdc8fab5c1d811e974eb5639d7e4c79d78e93147721 |
|
MD5 | 087af463beebbb1aa9ca91b769514c67 |
|
BLAKE2b-256 | 78fa9fd00ce45df024e7e94a9240019a4214dffbb6ece402eeeea021c1d10a3f |