konradhalas / dacite

Simple creation of data classes from dictionaries.
MIT License
1.72k stars 107 forks source link

mypy typecheck fails on dacite import #103

Closed fburato closed 4 years ago

fburato commented 4 years ago

Hi @konradhalas,

I'm having some issues when type-checking my applications with mypy due to the absence of the py.typed marker in the dacite package as required by PEP 561. I might have not looked to deep into the code, but at a first look it seems like every public entity is properly type annotated. Is there any reason why the package is not marked as typed? Are there stub implementation for type hints that would prevent me from having to add the # type: ignore comment?

Thanks,

Frank

fburato commented 4 years ago

Found the issue, I was using an older version of the library. Classical problem between keyboard and chair 😄