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.2.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for munch_stubs-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06338441663b4e1fbe33ac0a3911977d3ff63e9714e5c356f61910be623393ac |
|
MD5 | 051230dfc465a383e7f192261c60767d |
|
BLAKE2b-256 | eebc8acd19d0f4a1e97408667381d7e972f6f324174fda9449f270cd7eeb2e45 |