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.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for munch_stubs-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50bae21942f70c29421cf34c93d38dac7c61dfb59beef928d65c22a38b607dca |
|
MD5 | 8830b0bf38ba69d213b9fa95e8fe1d9c |
|
BLAKE2b-256 | 4e20424169abb2474259cc0a2242e81bb059a88c6022accc080f4d134a3a94f8 |