We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following import statement triggers a pyi error in pytype:
from tqdm.notebook import IProgress
To reproduce: python-3.9.15 tqdm==4.67.0 pytype==2024.9.13
Test file is foo.py:
foo.py
from tqdm.notebook import IProgress def foo(): pass
Run pytype on it:
pytype
~/src/clean ❯ python3 -m pytype foo.py Computing dependencies Analyzing 1 sources with 0 local dependencies ninja: Entering directory `.pytype' [1/1] check foo FAILED: ~/src/clean/.pytype/pyi/foo.pyi ~/.pyenv/versions/venv-clean/bin/python3 -m pytype.main --imports_info ~/src/clean/.pytype/imports/foo.imports --module-name foo --platform darwin -V 3.9 -o ~/src/clean/.pytype/pyi/foo.pyi --analyze-annotated --nofail --quick ~/src/clean/foo.py ~/src/clean/foo.py:1:1: error: in <module>: Couldn't import pyi for 'tqdm.notebook' [pyi-error] Unreplaced NamedType: 'tqdm.std.tqdm', referenced from 'tqdm.notebook' from tqdm.notebook import IProgress~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ from tqdm.notebook import IProgress For more details, see https://google.github.io/pytype/errors.html#pyi-error ninja: build stopped: subcommand failed. Leaving directory '.pytype'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The following import statement triggers a pyi error in pytype:
To reproduce:
python-3.9.15
tqdm==4.67.0
pytype==2024.9.13
Test file is
foo.py
:Run
pytype
on it:The text was updated successfully, but these errors were encountered: