Skip to content

have stubs for minimal type annotation on addict #147

Description

@LuisBL

Today this minimal code:

$ cat /tmp/test.py
from addict import Dict

a = Dict()

can not be included in a fully typed project:

$ mypy /tmp/test.py
/tmp/test.py:1: error: Skipping analyzing "addict": module is installed, but missing library stubs or py.typed marker
/tmp/test.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
Found 1 error in 1 file (checked 1 source file)
$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions