Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing py.typed marker file for PEP 561 #45

Closed
jonemo opened this issue May 19, 2022 · 1 comment
Closed

Missing py.typed marker file for PEP 561 #45

jonemo opened this issue May 19, 2022 · 1 comment

Comments

@jonemo
Copy link
Contributor

jonemo commented May 19, 2022

When type checking projects that depend on InquirerPy with mypy with default settings, the following error results in a type checking failure:

Skipping analyzing "InquirerPy": module is installed, but missing library stubs or py.typed marker

To reproduce:

  1. Install InquirerPy as dependency into a project
  2. Run mypy my-project-directory to type check the project

Related information:

@kazhala
Copy link
Owner

kazhala commented May 25, 2022

Hi jonemo ,

Thanks again for doing this. I should have touched up in the issue ticket for this. No not your changes broke the pyright lints, think pyright updated some checks around Optional[XXX] which I need to update the codebase to align with that.

I've been quite busy for the last few months and should have fixed the pyright thing first. I'll close your issue once I fix the linting and make a quick release.

Thanks

cross posting here ..

@kazhala kazhala closed this as completed Jun 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants