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 type hints for 3rd party package warning gets shown more than once per package #3

Open
obi1kenobi opened this issue Nov 6, 2020 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@obi1kenobi
Copy link
Owner

Example duplicates with identical module names:

WARNING: mypy was not able to find type hints for module 'pytest' since it does not seem to be installed in the current environment. Assuming it has no type hints available.
WARNING: mypy was not able to find type hints for module 'pytest' since it does not seem to be installed in the current environment. Assuming it has no type hints available.

Example duplicates with different module names but part of the same package:

WARNING: mypy was not able to find type hints for module 'pyorient' since it does not seem to be installed in the current environment. Assuming it has no type hints available.
WARNING: mypy was not able to find type hints for module 'pyorient.constants' since it does not seem to be installed in the current environment. Assuming it has no type hints available.
WARNING: mypy was not able to find type hints for module 'pyorient.ogm' since it does not seem to be installed in the current environment. Assuming it has no type hints available.

To avoid overwhelming the user with repetitive output, we'd like each package to show up only once regardless of which of their modules or submodules are lacking type hints.

@obi1kenobi obi1kenobi added the enhancement New feature or request label Nov 6, 2020
@obi1kenobi obi1kenobi added the good first issue Good for newcomers label Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant