Skip to content

[Library Bug] Missing py.typed marker #83

@GrandMoff100

Description

@GrandMoff100

Describe the bug
Running mypy on a freshly installed version from pypi, on a bare project gives this.

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

To Reproduce

  1. Create a new project with a main.py file
  2. Install homeassistant_api and then add from homeassistant_api import Client to main.py
  3. Install and run mypy main.py

Expected behavior
This shouldn't happen as homeassistant_api is typed.

Desktop (please complete the following information):

  • OS: Ubuntu
  • OS Version: 20.04
  • HomeAssistantAPI Version: 3.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions