Skip to content

VCTLabs/munch-stubs

 
 

Repository files navigation

PyPI version Code on Github Code style: black GitHub last commit

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.

About

Mypy plugin and stubs for munch

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 96.4%
  • Makefile 3.6%