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

Add py.typed marker #761

Closed
wants to merge 1 commit into from
Closed

Conversation

pjonsson
Copy link

Without the py.typed marker, mypy will complain
for users of testinfra:

file.py:2: error: Skipping analyzing "testinfra.host": module is installed, but missing library stubs or py.typed marker [import-untyped]
file.py:2: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

Refs #619

Without the py.typed marker, mypy will complain
for users of testinfra:

file.py:2: error: Skipping analyzing "testinfra.host": module is installed, but missing library stubs or py.typed marker  [import-untyped]
file.py:2: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

Refs pytest-dev#619
@philpep
Copy link
Contributor

philpep commented May 26, 2024

Hi, I think we should have 100% typed code before doing this. Otherwise this could be confusing for users.

@pjonsson pjonsson closed this May 27, 2024
@pjonsson pjonsson deleted the add-py-typed branch May 27, 2024 06:44
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

Successfully merging this pull request may close these issues.

None yet

2 participants