Skip to content

Split import-untyped into import-untyped and import-untyped-stubs-available #19101

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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

wyattscarpenter
Copy link
Contributor

@wyattscarpenter wyattscarpenter commented May 17, 2025

Fixes #18661. Please see that issue for discussion and justification. However, briefly: import-untyped-stubs-available is now a new error, so that it can be enabled while import-untyped is left disabled, so users can be made aware of available type stubs to improve their typing. As I said over there:

This lets all current import-untyped ignore codes work except where maintainers can improve their types by installing the available stubs. (And if they don't want that for some reason, the new code can be globally ignored.) Although perhaps I am a bit too optimistic about the average enthusiasm for improving one's types.

This also meant I noticed that lxml-stubs exists, and — in order to pass the self-check — fixed the code that assumed it wouldn't exist. An early success story for this new code!


Beyond the scope of this PR, unless someone authoritatively tells me what to do with them:

  • I'm looking at https://github.com/lxml/lxml-stubs right now and it suggests lxml-types, suggesting that maybe mypy/stubinfo.py should recommend that instead, and we should require that for mypy test-requirements.

  • The "module is installed, but missing library stubs or py.typed marker" message should be changed in certain circumstances to be more informative. Which one is it? We could probably tell the user.

  • There is a line of code ending in and os.path.basename(testcase.file) == "reports.test". We don't have such a file anymore, so we never skip for lxml-related reasons on whatever this is supposed to be. Is this supposed to be check-reports.test? Well, whatever. It passes ci, so I guess we didn't need that for anything right now anyway.

  • Working on this PR made me realize that several pieces of the documentation I was working within were inelegant or inaccurate. I'm working on revising them, but for my own sanity I have decided that will be a subsequent PR instead of part of this one.

@wyattscarpenter
Copy link
Contributor Author

wyattscarpenter commented May 17, 2025

As I was making this change, and adapting the mypy codebase to include some new stubs, I realized that the requirements.txt files tell you to run pip-compile --output-file=test-requirements.txt --strip-extras --allow-unsafe test-requirements.in, and thus have an implicit undeclared requirement on pip-tools. I tried adding this to build-requirements.txt but that broke some things so I put it in a new extra called dev instead.

This comment has been minimized.

@wyattscarpenter
Copy link
Contributor Author

An interesting mypy_primer diff! We can safely ignore all of the candy stripes where some [import-untyped] just became some [import-untyped-stubs-available]. (Side note: are people just running mypy on these projects and getting hundreds of errors, which they don't look at? What?). The ones where there are now just a bunch of import-untyped-stubs-available also seem uninteresting; these guys were just globally ignoring import-untyped, or whatever, and they can globally ignore import-untyped-stubs-available too. A couple of them have the interesting type of error, along the lines of:

+ src/urllib3/contrib/pyopenssl.py:43: error: Unused "type: ignore" comment  [unused-ignore]
+ src/urllib3/contrib/pyopenssl.py:43: error: Library stubs not installed for "OpenSSL.SSL"  [import-untyped-stubs-available]
+ src/urllib3/contrib/pyopenssl.py:43: note: Error code "import-untyped-stubs-available" not covered by "type: ignore" comment
+ src/urllib3/contrib/pyopenssl.py:43: note: Hint: "python3 -m pip install types-pyOpenSSL"
+ src/urllib3/contrib/pyopenssl.py:43: note: (or run "mypy --install-types" to install all missing stub packages)

This is what this change seeks to promote, and implicitly we think users will find it more useful than it is annoying.

Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

trio (https://github.com/python-trio/trio)
- src/trio/_tools/sync_requirements.py:12: error: Library stubs not installed for "yaml"  [import-untyped]
+ src/trio/_tools/sync_requirements.py:12: error: Library stubs not installed for "yaml"  [import-untyped-stubs-available]
- src/trio/_tests/tools/test_sync_requirements.py:10: error: Library stubs not installed for "yaml"  [import-untyped]
+ src/trio/_tests/tools/test_sync_requirements.py:10: error: Library stubs not installed for "yaml"  [import-untyped-stubs-available]

prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/server/api/collections.py:6: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/server/api/collections.py:6: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/settings/sources.py:9: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/settings/sources.py:9: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/_internal/compatibility/deprecated.py:21: error: Library stubs not installed for "dateparser"  [import-untyped]
+ src/prefect/_internal/compatibility/deprecated.py:21: error: Library stubs not installed for "dateparser"  [import-untyped-stubs-available]
- src/prefect/server/utilities/messaging/memory.py:17: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/server/utilities/messaging/memory.py:17: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/events/clients.py:26: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/events/clients.py:26: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/task_runs.py:10: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/task_runs.py:10: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/_waiters.py:13: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/_waiters.py:13: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/server/events/actions.py:35: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/server/events/actions.py:35: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/results.py:24: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/results.py:24: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/server/events/ordering.py:21: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/server/events/ordering.py:21: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/server/models/events.py:5: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/server/models/events.py:5: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/server/database/query_components.py:18: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/server/database/query_components.py:18: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/runner/runner.py:71: error: Library stubs not installed for "cachetools"  [import-untyped]
+ src/prefect/runner/runner.py:71: error: Library stubs not installed for "cachetools"  [import-untyped-stubs-available]
- src/prefect/cli/deployment.py:759: error: Library stubs not installed for "dateparser"  [import-untyped]
+ src/prefect/cli/deployment.py:759: error: Library stubs not installed for "dateparser"  [import-untyped-stubs-available]

strawberry (https://github.com/strawberry-graphql/strawberry)
- strawberry/utils/graphql_lexer.py:3: error: Library stubs not installed for "pygments"  [import-untyped]
+ strawberry/utils/graphql_lexer.py:3: error: Library stubs not installed for "pygments"  [import-untyped-stubs-available]
- strawberry/utils/graphql_lexer.py:4: error: Library stubs not installed for "pygments.lexer"  [import-untyped]
+ strawberry/utils/graphql_lexer.py:4: error: Library stubs not installed for "pygments.lexer"  [import-untyped-stubs-available]
- strawberry/exceptions/syntax.py:5: error: Library stubs not installed for "pygments.lexers"  [import-untyped]
+ strawberry/exceptions/syntax.py:5: error: Library stubs not installed for "pygments.lexers"  [import-untyped-stubs-available]
- strawberry/utils/debug.py:20: error: Library stubs not installed for "pygments"  [import-untyped]
+ strawberry/utils/debug.py:20: error: Library stubs not installed for "pygments"  [import-untyped-stubs-available]
- strawberry/utils/debug.py:21: error: Library stubs not installed for "pygments.formatters"  [import-untyped]
+ strawberry/utils/debug.py:21: error: Library stubs not installed for "pygments.formatters"  [import-untyped-stubs-available]
- strawberry/schema/types/base_scalars.py:7: error: Library stubs not installed for "dateutil.parser"  [import-untyped]
+ strawberry/schema/types/base_scalars.py:7: error: Library stubs not installed for "dateutil.parser"  [import-untyped-stubs-available]
- strawberry/schema/types/base_scalars.py:7: error: Library stubs not installed for "dateutil"  [import-untyped]
+ strawberry/schema/types/base_scalars.py:7: error: Library stubs not installed for "dateutil"  [import-untyped-stubs-available]

mypy (https://github.com/python/mypy)
+ mypy/report.py:29: error: Unused "type: ignore" comment  [unused-ignore]
+ mypy/report.py:29: error: Library stubs not installed for "lxml"  [import-untyped-stubs-available]
+ mypy/report.py:29: note: Error code "import-untyped-stubs-available" not covered by "type: ignore" comment
+ mypy/report.py:29: note: Hint: "python3 -m pip install lxml-stubs"
+ mypy/report.py:29: note: See https://mypy.rtfd.io/en/stable/_refs.html#code-import-untyped-stubs-available for more info
+ mypy/report.py:29: note: (or run "mypy --install-types" to install all missing stub packages)
+ mypy/test/testreports.py:11: error: Unused "type: ignore" comment  [unused-ignore]
+ mypy/test/testreports.py:11: error: Library stubs not installed for "lxml"  [import-untyped-stubs-available]
+ mypy/test/testreports.py:11: note: Error code "import-untyped-stubs-available" not covered by "type: ignore" comment
+ mypy/test/testreports.py:26: error: Unused "type: ignore" comment  [unused-ignore]
+ mypy/test/testreports.py:26: error: Library stubs not installed for "lxml.etree"  [import-untyped-stubs-available]
+ mypy/test/testreports.py:26: note: Error code "import-untyped-stubs-available" not covered by "type: ignore" comment
+ mypy/test/testcmdline.py:23: error: Unused "type: ignore" comment  [unused-ignore]
+ mypy/test/testcmdline.py:23: error: Library stubs not installed for "lxml"  [import-untyped-stubs-available]
+ mypy/test/testcmdline.py:23: note: Error code "import-untyped-stubs-available" not covered by "type: ignore" comment
+ mypy/test/testcheck.py:28: error: Unused "type: ignore" comment  [unused-ignore]
+ mypy/test/testcheck.py:28: error: Library stubs not installed for "lxml"  [import-untyped-stubs-available]
+ mypy/test/testcheck.py:28: note: Error code "import-untyped-stubs-available" not covered by "type: ignore" comment

typeshed-stats (https://github.com/AlexWaygood/typeshed-stats)
- website_macros.py:17: error: Library stubs not installed for "markdown"  [import-untyped]
+ website_macros.py:17: error: Library stubs not installed for "markdown"  [import-untyped-stubs-available]
- tests/test_serialize.py:7: error: Library stubs not installed for "markdown"  [import-untyped]
+ tests/test_serialize.py:7: error: Library stubs not installed for "markdown"  [import-untyped-stubs-available]
- tests/test_serialize.py:9: error: Library stubs not installed for "bs4"  [import-untyped]
+ tests/test_serialize.py:9: error: Library stubs not installed for "bs4"  [import-untyped-stubs-available]
- tests/test__cli.py:16: error: Library stubs not installed for "markdown"  [import-untyped]
+ tests/test__cli.py:16: error: Library stubs not installed for "markdown"  [import-untyped-stubs-available]

apprise (https://github.com/caronc/apprise)
- apprise/plugins/windows.py:42: error: Library stubs not installed for "win32api"  [import-untyped]
+ apprise/plugins/windows.py:42: error: Library stubs not installed for "win32api"  [import-untyped-stubs-available]
- apprise/plugins/windows.py:43: error: Library stubs not installed for "win32con"  [import-untyped]
+ apprise/plugins/windows.py:43: error: Library stubs not installed for "win32con"  [import-untyped-stubs-available]
- apprise/plugins/windows.py:44: error: Library stubs not installed for "win32gui"  [import-untyped]
+ apprise/plugins/windows.py:44: error: Library stubs not installed for "win32gui"  [import-untyped-stubs-available]
- apprise/plugins/mqtt.py:52: error: Library stubs not installed for "paho.mqtt.client"  [import-untyped]
+ apprise/plugins/mqtt.py:52: error: Library stubs not installed for "paho.mqtt.client"  [import-untyped-stubs-available]
- apprise/plugins/mqtt.py:52: error: Library stubs not installed for "paho.mqtt"  [import-untyped]
+ apprise/plugins/mqtt.py:52: error: Library stubs not installed for "paho.mqtt"  [import-untyped-stubs-available]
- apprise/plugins/twitter.py:36: error: Library stubs not installed for "requests_oauthlib"  [import-untyped]
+ apprise/plugins/twitter.py:36: error: Library stubs not installed for "requests_oauthlib"  [import-untyped-stubs-available]
- setup.py:35: error: Library stubs not installed for "setuptools"  [import-untyped]
+ setup.py:35: error: Library stubs not installed for "setuptools"  [import-untyped-stubs-available]
- test/test_config_base.py:35: error: Library stubs not installed for "yaml"  [import-untyped]
+ test/test_config_base.py:35: error: Library stubs not installed for "yaml"  [import-untyped-stubs-available]

urllib3 (https://github.com/urllib3/urllib3)
+ src/urllib3/contrib/pyopenssl.py:43: error: Unused "type: ignore" comment  [unused-ignore]
+ src/urllib3/contrib/pyopenssl.py:43: error: Library stubs not installed for "OpenSSL.SSL"  [import-untyped-stubs-available]
+ src/urllib3/contrib/pyopenssl.py:43: note: Error code "import-untyped-stubs-available" not covered by "type: ignore" comment
+ src/urllib3/contrib/pyopenssl.py:43: note: Hint: "python3 -m pip install types-pyOpenSSL"
+ src/urllib3/contrib/pyopenssl.py:43: note: (or run "mypy --install-types" to install all missing stub packages)
+ src/urllib3/contrib/pyopenssl.py:43: error: Library stubs not installed for "OpenSSL"  [import-untyped-stubs-available]
+ src/urllib3/contrib/pyopenssl.py:64: error: Unused "type: ignore" comment  [unused-ignore]
+ src/urllib3/contrib/pyopenssl.py:64: error: Library stubs not installed for "OpenSSL.crypto"  [import-untyped-stubs-available]
+ src/urllib3/contrib/pyopenssl.py:64: note: Error code "import-untyped-stubs-available" not covered by "type: ignore" comment
+ test/contrib/test_pyopenssl.py:10: error: Unused "type: ignore" comment  [unused-ignore]
+ test/contrib/test_pyopenssl.py:10: error: Library stubs not installed for "OpenSSL.crypto"  [import-untyped-stubs-available]
+ test/contrib/test_pyopenssl.py:10: note: Error code "import-untyped-stubs-available" not covered by "type: ignore" comment

xarray (https://github.com/pydata/xarray)
+ xarray/conventions.py:413: error: Argument "decode_timedelta" to "decode_cf_variable" has incompatible type "object"; expected "bool | CFTimedeltaCoder | None"  [arg-type]
- xarray/tests/test_backends.py:5471: error: Library stubs not installed for "requests"  [import-untyped]
+ xarray/tests/test_backends.py:5471: error: Library stubs not installed for "requests"  [import-untyped-stubs-available]

colour (https://github.com/colour-science/colour)
- colour/utilities/requirements.py:149: error: Library stubs not installed for "networkx"  [import-untyped]
+ colour/utilities/requirements.py:149: error: Library stubs not installed for "networkx"  [import-untyped-stubs-available]
- colour/utilities/requirements.py:348: error: Library stubs not installed for "tqdm"  [import-untyped]
+ colour/utilities/requirements.py:348: error: Library stubs not installed for "tqdm"  [import-untyped-stubs-available]
- colour/utilities/network.py:1779: error: Library stubs not installed for "networkx"  [import-untyped]
+ colour/utilities/network.py:1779: error: Library stubs not installed for "networkx"  [import-untyped-stubs-available]
- colour/recovery/jakob2019.py:67: error: Library stubs not installed for "tqdm"  [import-untyped]
+ colour/recovery/jakob2019.py:67: error: Library stubs not installed for "tqdm"  [import-untyped-stubs-available]
- colour/recovery/otsu2018.py:70: error: Library stubs not installed for "tqdm"  [import-untyped]
+ colour/recovery/otsu2018.py:70: error: Library stubs not installed for "tqdm"  [import-untyped-stubs-available]
- colour/graph/conversion.py:1048: error: Library stubs not installed for "networkx"  [import-untyped]
+ colour/graph/conversion.py:1048: error: Library stubs not installed for "networkx"  [import-untyped-stubs-available]
- colour/plotting/graph.py:80: error: Library stubs not installed for "networkx"  [import-untyped]
+ colour/plotting/graph.py:80: error: Library stubs not installed for "networkx"  [import-untyped-stubs-available]

antidote (https://github.com/Finistere/antidote)
- setup.py:4: error: Library stubs not installed for "setuptools"  [import-untyped]
+ setup.py:4: error: Library stubs not installed for "setuptools"  [import-untyped-stubs-available]

arviz (https://github.com/arviz-devs/arviz)
- arviz/plots/backends/__init__.py:6: error: Library stubs not installed for "pandas"  [import-untyped]
+ arviz/plots/backends/__init__.py:6: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]
- arviz/stats/stats_utils.py:9: error: Library stubs not installed for "pandas"  [import-untyped]
+ arviz/stats/stats_utils.py:9: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]
- arviz/stats/stats.py:10: error: Library stubs not installed for "pandas"  [import-untyped]
+ arviz/stats/stats.py:10: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]
- arviz/stats/diagnostics.py:8: error: Library stubs not installed for "pandas"  [import-untyped]
+ arviz/stats/diagnostics.py:8: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]
- arviz/tests/base_tests/test_diagnostics.py:8: error: Library stubs not installed for "pandas"  [import-untyped]
+ arviz/tests/base_tests/test_diagnostics.py:8: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]
- arviz/tests/base_tests/test_plots_matplotlib.py:13: error: Library stubs not installed for "pandas"  [import-untyped]
+ arviz/tests/base_tests/test_plots_matplotlib.py:13: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]
- arviz/tests/base_tests/test_plots_bokeh.py:7: error: Library stubs not installed for "pandas"  [import-untyped]
+ arviz/tests/base_tests/test_plots_bokeh.py:7: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]

pandas-stubs (https://github.com/pandas-dev/pandas-stubs)
- pandas-stubs/_libs/tslibs/offsets.pyi:15: error: Library stubs not installed for "dateutil.relativedelta"  [import-untyped]
+ pandas-stubs/_libs/tslibs/offsets.pyi:15: error: Library stubs not installed for "dateutil.relativedelta"  [import-untyped-stubs-available]
- tests/test_timefuncs.py:10: error: Library stubs not installed for "dateutil.relativedelta"  [import-untyped]
+ tests/test_timefuncs.py:10: error: Library stubs not installed for "dateutil.relativedelta"  [import-untyped-stubs-available]
- tests/test_scalars.py:12: error: Library stubs not installed for "dateutil.tz"  [import-untyped]
+ tests/test_scalars.py:12: error: Library stubs not installed for "dateutil.tz"  [import-untyped-stubs-available]
- tests/test_scalars.py:12: error: Library stubs not installed for "dateutil"  [import-untyped]
+ tests/test_scalars.py:12: error: Library stubs not installed for "dateutil"  [import-untyped-stubs-available]

django-stubs (https://github.com/typeddjango/django-stubs)
+ django-stubs/contrib/postgres/forms/ranges.pyi:6: error: Unused "type: ignore" comment  [unused-ignore]
+ django-stubs/contrib/postgres/forms/ranges.pyi:6: error: Library stubs not installed for "psycopg2.extras"  [import-untyped-stubs-available]
+ django-stubs/contrib/postgres/forms/ranges.pyi:6: note: Error code "import-untyped-stubs-available" not covered by "type: ignore" comment
+ django-stubs/contrib/postgres/fields/ranges.pyi:9: error: Unused "type: ignore" comment  [unused-ignore]
+ django-stubs/contrib/postgres/fields/ranges.pyi:9: error: Library stubs not installed for "psycopg2.extras"  [import-untyped-stubs-available]
+ django-stubs/contrib/postgres/fields/ranges.pyi:9: note: Error code "import-untyped-stubs-available" not covered by "type: ignore" comment
+ django-stubs/contrib/postgres/fields/ranges.pyi:9: note: Hint: "python3 -m pip install types-psycopg2"
+ django-stubs/contrib/postgres/fields/ranges.pyi:9: note: (or run "mypy --install-types" to install all missing stub packages)
+ django-stubs/contrib/postgres/fields/ranges.pyi:9: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

materialize (https://github.com/MaterializeInc/materialize)
- misc/python/stubs/docker/__init__.pyi:10: error: Library stubs not installed for "docker.models.containers"  [import-untyped]
+ misc/python/stubs/docker/__init__.pyi:10: error: Library stubs not installed for "docker.models.containers"  [import-untyped-stubs-available]
- misc/python/materialize/benches/avro_ingest.py:18: error: Library stubs not installed for "docker"  [import-untyped]
+ misc/python/materialize/benches/avro_ingest.py:18: error: Library stubs not installed for "docker"  [import-untyped-stubs-available]
- misc/python/materialize/benches/avro_ingest.py:22: error: Library stubs not installed for "docker.models.containers"  [import-untyped]
+ misc/python/materialize/benches/avro_ingest.py:22: error: Library stubs not installed for "docker.models.containers"  [import-untyped-stubs-available]

pwndbg (https://github.com/pwndbg/pwndbg)
- pwndbg/color/syntax_highlight.py:9: error: Library stubs not installed for "pygments"  [import-untyped]
+ pwndbg/color/syntax_highlight.py:9: error: Library stubs not installed for "pygments"  [import-untyped-stubs-available]
- pwndbg/color/syntax_highlight.py:10: error: Library stubs not installed for "pygments.formatters"  [import-untyped]
+ pwndbg/color/syntax_highlight.py:10: error: Library stubs not installed for "pygments.formatters"  [import-untyped-stubs-available]
- pwndbg/color/syntax_highlight.py:11: error: Library stubs not installed for "pygments.lexers"  [import-untyped]
+ pwndbg/color/syntax_highlight.py:11: error: Library stubs not installed for "pygments.lexers"  [import-untyped-stubs-available]
- pwndbg/color/syntax_highlight.py:12: error: Library stubs not installed for "pygments.util"  [import-untyped]
+ pwndbg/color/syntax_highlight.py:12: error: Library stubs not installed for "pygments.util"  [import-untyped-stubs-available]
- pwndbg/dbg/gdb/__init__.py:1309: error: Library stubs not installed for "psutil"  [import-untyped]
+ pwndbg/dbg/gdb/__init__.py:1309: error: Library stubs not installed for "psutil"  [import-untyped-stubs-available]
- pwndbg/aglib/onegadget.py:13: error: Library stubs not installed for "tabulate"  [import-untyped]
+ pwndbg/aglib/onegadget.py:13: error: Library stubs not installed for "tabulate"  [import-untyped-stubs-available]
- pwndbg/commands/slab.py:16: error: Library stubs not installed for "tabulate"  [import-untyped]
+ pwndbg/commands/slab.py:16: error: Library stubs not installed for "tabulate"  [import-untyped-stubs-available]
- pwndbg/commands/ptmalloc2.py:10: error: Library stubs not installed for "tabulate"  [import-untyped]
+ pwndbg/commands/ptmalloc2.py:10: error: Library stubs not installed for "tabulate"  [import-untyped-stubs-available]
- pwndbg/commands/misc.py:103: error: Library stubs not installed for "tabulate"  [import-untyped]
+ pwndbg/commands/misc.py:103: error: Library stubs not installed for "tabulate"  [import-untyped-stubs-available]
- pwndbg/commands/attachp.py:11: error: Library stubs not installed for "tabulate"  [import-untyped]
+ pwndbg/commands/attachp.py:11: error: Library stubs not installed for "tabulate"  [import-untyped-stubs-available]
- pwndbg/integration/binja.py:23: error: Library stubs not installed for "pygments"  [import-untyped]
+ pwndbg/integration/binja.py:23: error: Library stubs not installed for "pygments"  [import-untyped-stubs-available]
- pwndbg/integration/binja.py:24: error: Library stubs not installed for "pygments.formatters"  [import-untyped]
+ pwndbg/integration/binja.py:24: error: Library stubs not installed for "pygments.formatters"  [import-untyped-stubs-available]
- pwndbg/integration/binja.py:25: error: Library stubs not installed for "pygments.style"  [import-untyped]
+ pwndbg/integration/binja.py:25: error: Library stubs not installed for "pygments.style"  [import-untyped-stubs-available]
- pwndbg/integration/binja.py:26: error: Library stubs not installed for "pygments.token"  [import-untyped]
+ pwndbg/integration/binja.py:26: error: Library stubs not installed for "pygments.token"  [import-untyped-stubs-available]
- pwndbg/commands/tls.py:9: error: Library stubs not installed for "tabulate"  [import-untyped]
+ pwndbg/commands/tls.py:9: error: Library stubs not installed for "tabulate"  [import-untyped-stubs-available]
- pwndbg/commands/ai.py:89: error: Library stubs not installed for "requests"  [import-untyped]
+ pwndbg/commands/ai.py:89: error: Library stubs not installed for "requests"  [import-untyped-stubs-available]

bokeh (https://github.com/bokeh/bokeh)
- release/ui.py:27:1: error: Library stubs not installed for "colorama"  [import-untyped]
+ release/ui.py:27:1: error: Library stubs not installed for "colorama"  [import-untyped-stubs-available]
- src/bokeh/util/terminal.py:51:1: error: Library stubs not installed for "colorama"  [import-untyped]
+ src/bokeh/util/terminal.py:51:1: error: Library stubs not installed for "colorama"  [import-untyped-stubs-available]
- src/bokeh/util/serialization.py:47:1: error: Library stubs not installed for "pandas"  [import-untyped]
+ src/bokeh/util/serialization.py:47:1: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]
- src/bokeh/core/serialization.py:462:1: error: Library stubs not installed for "pandas"  [import-untyped]
+ src/bokeh/core/serialization.py:462:1: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]
- src/bokeh/core/property/data_frame.py:31:1: error: Library stubs not installed for "pandas"  [import-untyped]
+ src/bokeh/core/property/data_frame.py:31:1: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]
- src/bokeh/core/property/data_frame.py:32:1: error: Library stubs not installed for "pandas.core.groupby"  [import-untyped]
+ src/bokeh/core/property/data_frame.py:32:1: error: Library stubs not installed for "pandas.core.groupby"  [import-untyped-stubs-available]
- src/bokeh/server/tornado.py:774:1: error: Library stubs not installed for "pandas"  [import-untyped]
+ src/bokeh/server/tornado.py:774:1: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]
- src/bokeh/util/hex.py:39:1: error: Library stubs not installed for "pandas"  [import-untyped]
+ src/bokeh/util/hex.py:39:1: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]

openlibrary (https://github.com/internetarchive/openlibrary)
- openlibrary/solr/update.py:7: error: Library stubs not installed for "aiofiles"  [import-untyped]
+ openlibrary/solr/update.py:7: error: Library stubs not installed for "aiofiles"  [import-untyped-stubs-available]

artigraph (https://github.com/artigraph/artigraph)
- src/arti/fingerprints/__init__.py:11: error: Library stubs not installed for "farmhash"  [import-untyped]
+ src/arti/fingerprints/__init__.py:11: error: Library stubs not installed for "farmhash"  [import-untyped-stubs-available]

core (https://github.com/home-assistant/core)
+ homeassistant/components/modem_callerid/const.py:6: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/mqtt/async_client.py:9: error: Library stubs not installed for "paho.mqtt.client"  [import-untyped-stubs-available]
+ homeassistant/components/mqtt/async_client.py:9: note: Hint: "python3 -m pip install types-paho-mqtt"
+ homeassistant/components/usb/utils.py:7: error: Library stubs not installed for "serial.tools.list_ports"  [import-untyped-stubs-available]
+ homeassistant/components/usb/utils.py:8: error: Library stubs not installed for "serial.tools.list_ports_common"  [import-untyped-stubs-available]
+ homeassistant/components/slack/utils.py:5: error: Library stubs not installed for "aiofiles"  [import-untyped-stubs-available]
+ homeassistant/components/recorder/util.py:406: error: Library stubs not installed for "MySQLdb.constants"  [import-untyped-stubs-available]
+ homeassistant/components/recorder/util.py:406: note: Hint: "python3 -m pip install types-mysqlclient"
+ homeassistant/components/recorder/util.py:407: error: Library stubs not installed for "MySQLdb.converters"  [import-untyped-stubs-available]
+ homeassistant/components/calendar/__init__.py:15: error: Library stubs not installed for "dateutil.rrule"  [import-untyped-stubs-available]
+ homeassistant/components/zestimate/sensor.py:10: error: Library stubs not installed for "xmltodict"  [import-untyped-stubs-available]
+ homeassistant/components/tensorflow/image_processing.py:13: error: Library stubs not installed for "tensorflow"  [import-untyped-stubs-available]
+ homeassistant/components/tensorflow/image_processing.py:13: note: Hint: "python3 -m pip install types-tensorflow"
+ homeassistant/components/ted5000/sensor.py:11: error: Library stubs not installed for "xmltodict"  [import-untyped-stubs-available]
+ homeassistant/components/systemmonitor/util.py:6: error: Library stubs not installed for "psutil._common"  [import-untyped-stubs-available]
+ homeassistant/components/startca/sensor.py:12: error: Library stubs not installed for "xmltodict"  [import-untyped-stubs-available]
+ homeassistant/components/serial/sensor.py:9: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/rainforest_raven/config_flow.py:11: error: Library stubs not installed for "serial.tools.list_ports"  [import-untyped-stubs-available]
+ homeassistant/components/rainforest_raven/config_flow.py:11: error: Library stubs not installed for "serial.tools"  [import-untyped-stubs-available]
+ homeassistant/components/rainforest_raven/config_flow.py:11: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/rainforest_raven/config_flow.py:12: error: Library stubs not installed for "serial.tools.list_ports_common"  [import-untyped-stubs-available]
+ homeassistant/components/profiler/__init__.py:169: error: Library stubs not installed for "objgraph"  [import-untyped-stubs-available]
+ homeassistant/components/profiler/__init__.py:169: note: Hint: "python3 -m pip install types-objgraph"
+ homeassistant/components/pandora/media_player.py:13: error: Library stubs not installed for "pexpect"  [import-untyped-stubs-available]
+ homeassistant/components/opentherm_gw/__init__.py:9: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/ohmconnect/sensor.py:8: error: Library stubs not installed for "defusedxml.ElementTree"  [import-untyped-stubs-available]
+ homeassistant/components/ohmconnect/sensor.py:8: error: Library stubs not installed for "defusedxml"  [import-untyped-stubs-available]
+ homeassistant/components/noaa_tides/sensor.py:28: error: Library stubs not installed for "pandas"  [import-untyped-stubs-available]
+ homeassistant/components/noaa_tides/sensor.py:28: note: Hint: "python3 -m pip install pandas-stubs"
+ homeassistant/components/namecheapdns/__init__.py:6: error: Library stubs not installed for "defusedxml.ElementTree"  [import-untyped-stubs-available]
+ homeassistant/components/namecheapdns/__init__.py:6: error: Library stubs not installed for "defusedxml"  [import-untyped-stubs-available]
+ homeassistant/components/monoprice/media_player.py:5: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/monoprice/config_flow.py:9: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/monoprice/__init__.py:6: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/modem_callerid/config_flow.py:8: error: Library stubs not installed for "serial.tools.list_ports"  [import-untyped-stubs-available]
+ homeassistant/components/modem_callerid/config_flow.py:8: error: Library stubs not installed for "serial.tools"  [import-untyped-stubs-available]
+ homeassistant/components/modem_callerid/config_flow.py:8: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/modem_callerid/config_flow.py:9: error: Library stubs not installed for "serial.tools.list_ports_common"  [import-untyped-stubs-available]
+ homeassistant/components/matrix/__init__.py:13: error: Library stubs not installed for "aiofiles.os"  [import-untyped-stubs-available]
+ homeassistant/components/matrix/__init__.py:13: note: Hint: "python3 -m pip install types-aiofiles"
+ homeassistant/components/matrix/__init__.py:13: error: Library stubs not installed for "aiofiles"  [import-untyped-stubs-available]
+ homeassistant/components/landisgyr_heat_meter/coordinator.py:6: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/landisgyr_heat_meter/config_flow.py:9: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/landisgyr_heat_meter/config_flow.py:10: error: Library stubs not installed for "serial.tools"  [import-untyped-stubs-available]
+ homeassistant/components/lacrosse/sensor.py:10: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/habitica/util.py:10: error: Library stubs not installed for "dateutil.rrule"  [import-untyped-stubs-available]
+ homeassistant/components/elv/switch.py:9: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/cisco_ios/device_tracker.py:7: error: Library stubs not installed for "pexpect"  [import-untyped-stubs-available]
+ homeassistant/components/caldav/config_flow.py:7: error: Library stubs not installed for "caldav"  [import-untyped-stubs-available]
+ homeassistant/components/caldav/config_flow.py:8: error: Library stubs not installed for "caldav.lib.error"  [import-untyped-stubs-available]
+ homeassistant/components/caldav/api.py:3: error: Library stubs not installed for "caldav"  [import-untyped-stubs-available]
+ homeassistant/components/caldav/__init__.py:5: error: Library stubs not installed for "caldav"  [import-untyped-stubs-available]
+ homeassistant/components/caldav/__init__.py:6: error: Library stubs not installed for "caldav.lib.error"  [import-untyped-stubs-available]
+ homeassistant/components/caldav/__init__.py:6: note: Hint: "python3 -m pip install types-caldav"
+ homeassistant/components/blackbird/media_player.py:8: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/aurora_abb_powerone/coordinator.py:7: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/aurora_abb_powerone/config_flow.py:10: error: Library stubs not installed for "serial.tools.list_ports"  [import-untyped-stubs-available]
+ homeassistant/components/aurora_abb_powerone/config_flow.py:10: error: Library stubs not installed for "serial.tools"  [import-untyped-stubs-available]
+ homeassistant/components/aurora_abb_powerone/config_flow.py:10: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/aruba/device_tracker.py:9: error: Library stubs not installed for "pexpect"  [import-untyped-stubs-available]
+ homeassistant/components/aruba/device_tracker.py:9: note: Hint: "python3 -m pip install types-pexpect"
+ homeassistant/components/velbus/config_flow.py:7: error: Library stubs not installed for "serial.tools.list_ports"  [import-untyped-stubs-available]
+ homeassistant/components/velbus/config_flow.py:7: error: Library stubs not installed for "serial.tools"  [import-untyped-stubs-available]
+ homeassistant/components/velbus/config_flow.py:7: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/tuya/__init__.py:51: error: Library stubs not installed for "paho.mqtt.client"  [import-untyped-stubs-available]
+ homeassistant/components/tuya/__init__.py:51: error: Library stubs not installed for "paho.mqtt"  [import-untyped-stubs-available]
+ homeassistant/components/systemmonitor/coordinator.py:11: error: Library stubs not installed for "psutil"  [import-untyped-stubs-available]
+ homeassistant/components/systemmonitor/coordinator.py:12: error: Library stubs not installed for "psutil._common"  [import-untyped-stubs-available]
+ homeassistant/components/snmp/sensor.py:9: error: Library stubs not installed for "pyasn1.codec.ber"  [import-untyped-stubs-available]
+ homeassistant/components/snmp/sensor.py:9: note: Hint: "python3 -m pip install types-pyasn1"
+ homeassistant/components/rest/data.py:9: error: Library stubs not installed for "xmltodict"  [import-untyped-stubs-available]
+ homeassistant/components/opentherm_gw/config_flow.py:10: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/nmap_tracker/__init__.py:14: error: Library stubs not installed for "nmap"  [import-untyped-stubs-available]
+ homeassistant/components/nmap_tracker/__init__.py:14: note: Hint: "python3 -m pip install types-python-nmap"
+ homeassistant/components/litejet/config_flow.py:8: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/influxdb/__init__.py:16: error: Library stubs not installed for "influxdb_client"  [import-untyped-stubs-available]
+ homeassistant/components/influxdb/__init__.py:17: error: Library stubs not installed for "influxdb_client.client.write_api"  [import-untyped-stubs-available]
+ homeassistant/components/influxdb/__init__.py:17: note: Hint: "python3 -m pip install types-influxdb-client"
+ homeassistant/components/influxdb/__init__.py:18: error: Library stubs not installed for "influxdb_client.rest"  [import-untyped-stubs-available]
+ homeassistant/components/ihc/auto_setup.py:6: error: Library stubs not installed for "defusedxml"  [import-untyped-stubs-available]
+ homeassistant/components/ihc/auto_setup.py:6: note: Hint: "python3 -m pip install types-defusedxml"
+ homeassistant/components/google_travel_time/sensor.py:20: error: Library stubs not installed for "google.protobuf"  [import-untyped-stubs-available]
+ homeassistant/components/google_travel_time/sensor.py:20: note: Hint: "python3 -m pip install types-protobuf"
+ homeassistant/components/google_tasks/api.py:12: error: Library stubs not installed for "httplib2"  [import-untyped-stubs-available]
+ homeassistant/components/google_tasks/api.py:12: note: Hint: "python3 -m pip install types-httplib2"
+ homeassistant/components/fritz/coordinator.py:22: error: Library stubs not installed for "xmltodict"  [import-untyped-stubs-available]
+ homeassistant/components/fritz/coordinator.py:22: note: Hint: "python3 -m pip install types-xmltodict"
+ homeassistant/components/enocean/dongle.py:9: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/dsmr/config_flow.py:17: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/dsmr/config_flow.py:18: error: Library stubs not installed for "serial.tools.list_ports"  [import-untyped-stubs-available]
+ homeassistant/components/dsmr/config_flow.py:18: error: Library stubs not installed for "serial.tools"  [import-untyped-stubs-available]
+ homeassistant/components/crownstone/helpers.py:8: error: Library stubs not installed for "serial.tools.list_ports_common"  [import-untyped-stubs-available]
+ homeassistant/components/caldav/todo.py:11: error: Library stubs not installed for "caldav"  [import-untyped-stubs-available]
+ homeassistant/components/caldav/todo.py:12: error: Library stubs not installed for "caldav.lib.error"  [import-untyped-stubs-available]
+ homeassistant/components/caldav/coordinator.py:11: error: Library stubs not installed for "caldav"  [import-untyped-stubs-available]
+ homeassistant/components/airnow/sensor.py:9: error: Library stubs not installed for "dateutil"  [import-untyped-stubs-available]
+ homeassistant/components/airnow/sensor.py:9: note: Hint: "python3 -m pip install types-python-dateutil"
+ homeassistant/components/acer_projector/switch.py:9: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/acer_projector/switch.py:9: note: Hint: "python3 -m pip install types-pyserial"
+ homeassistant/components/acer_projector/switch.py:9: note: (or run "mypy --install-types" to install all missing stub packages)
+ homeassistant/components/acer_projector/switch.py:9: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ homeassistant/components/zwave_js/config_flow.py:13: error: Library stubs not installed for "serial.tools"  [import-untyped-stubs-available]
+ homeassistant/components/systemmonitor/binary_sensor.py:12: error: Library stubs not installed for "psutil"  [import-untyped-stubs-available]
+ homeassistant/components/systemmonitor/binary_sensor.py:12: note: Hint: "python3 -m pip install types-psutil"
+ homeassistant/components/mqtt/models.py:29: error: Library stubs not installed for "paho.mqtt.client"  [import-untyped-stubs-available]
+ homeassistant/components/mqtt/client.py:91: error: Library stubs not installed for "paho.mqtt.client"  [import-untyped-stubs-available]
+ homeassistant/components/mqtt/client.py:91: error: Library stubs not installed for "paho.mqtt"  [import-untyped-stubs-available]
+ homeassistant/components/mqtt/client.py:1326: error: Library stubs not installed for "paho.mqtt.matcher"  [import-untyped-stubs-available]
+ homeassistant/components/insteon/utils.py:29: error: Library stubs not installed for "serial.tools"  [import-untyped-stubs-available]
+ homeassistant/components/dsmr/sensor.py:20: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/caldav/calendar.py:8: error: Library stubs not installed for "caldav"  [import-untyped-stubs-available]
+ homeassistant/components/zha/config_flow.py:10: error: Library stubs not installed for "serial.tools.list_ports"  [import-untyped-stubs-available]
+ homeassistant/components/zha/config_flow.py:10: error: Library stubs not installed for "serial.tools"  [import-untyped-stubs-available]
+ homeassistant/components/zha/config_flow.py:10: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/zha/config_flow.py:11: error: Library stubs not installed for "serial.tools.list_ports_common"  [import-untyped-stubs-available]
+ homeassistant/components/rfxtrx/config_flow.py:13: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/rfxtrx/config_flow.py:14: error: Library stubs not installed for "serial.tools.list_ports"  [import-untyped-stubs-available]
+ homeassistant/components/rfxtrx/config_flow.py:14: error: Library stubs not installed for "serial.tools"  [import-untyped-stubs-available]
+ homeassistant/components/rflink/__init__.py:10: error: Library stubs not installed for "serial"  [import-untyped-stubs-available]
+ homeassistant/components/mqtt/config_flow.py:2871: error: Library stubs not installed for "paho.mqtt.client"  [import-untyped-stubs-available]
+ homeassistant/components/mqtt/config_flow.py:2871: error: Library stubs not installed for "paho.mqtt"  [import-untyped-stubs-available]
+ homeassistant/components/habitica/calendar.py:12: error: Library stubs not installed for "dateutil.rrule"  [import-untyped-stubs-available]

... (truncated 8 lines) ...

flake8 (https://github.com/pycqa/flake8)
- src/flake8/plugins/pyflakes.py:10: error: Library stubs not installed for "pyflakes.checker"  [import-untyped]
+ src/flake8/plugins/pyflakes.py:10: error: Library stubs not installed for "pyflakes.checker"  [import-untyped-stubs-available]
- src/flake8/plugins/pyflakes.py:10: error: Library stubs not installed for "pyflakes"  [import-untyped]
+ src/flake8/plugins/pyflakes.py:10: error: Library stubs not installed for "pyflakes"  [import-untyped-stubs-available]
- tests/unit/test_pyflakes_codes.py:6: error: Library stubs not installed for "pyflakes"  [import-untyped]
+ tests/unit/test_pyflakes_codes.py:6: error: Library stubs not installed for "pyflakes"  [import-untyped-stubs-available]

cki-lib (https://gitlab.com/cki-project/cki-lib)
- setup.py:3: error: Library stubs not installed for "setuptools"  [import-untyped]
+ setup.py:3: error: Library stubs not installed for "setuptools"  [import-untyped-stubs-available]
- cki_lib/psql.py:3: error: Library stubs not installed for "psycopg2"  [import-untyped]
+ cki_lib/psql.py:3: error: Library stubs not installed for "psycopg2"  [import-untyped-stubs-available]
- cki_lib/misc.py:22: error: Library stubs not installed for "dateutil.parser"  [import-untyped]
+ cki_lib/misc.py:22: error: Library stubs not installed for "dateutil.parser"  [import-untyped-stubs-available]
- cki_lib/yaml.py:14: error: Library stubs not installed for "jsonschema"  [import-untyped]
+ cki_lib/yaml.py:14: error: Library stubs not installed for "jsonschema"  [import-untyped-stubs-available]
- cki_lib/kcidb/validate.py:12: error: Library stubs not installed for "jsonschema"  [import-untyped]
+ cki_lib/kcidb/validate.py:12: error: Library stubs not installed for "jsonschema"  [import-untyped-stubs-available]
- tests/test_psql.py:6: error: Library stubs not installed for "psycopg2"  [import-untyped]
+ tests/test_psql.py:6: error: Library stubs not installed for "psycopg2"  [import-untyped-stubs-available]
- cki_lib/cronjob.py:5: error: Library stubs not installed for "crontab"  [import-untyped]
+ cki_lib/cronjob.py:5: error: Library stubs not installed for "crontab"  [import-untyped-stubs-available]
- cki_lib/krb_ticket_refresher.py:8: error: Library stubs not installed for "dateutil"  [import-untyped]
+ cki_lib/krb_ticket_refresher.py:8: error: Library stubs not installed for "dateutil"  [import-untyped-stubs-available]
- tests/kcidb/test_validate.py:8: error: Library stubs not installed for "jsonschema"  [import-untyped]
+ tests/kcidb/test_validate.py:8: error: Library stubs not installed for "jsonschema"  [import-untyped-stubs-available]

sphinx (https://github.com/sphinx-doc/sphinx)
- sphinx/pygments_styles.py:5:1: error: Library stubs not installed for "pygments.style"  [import-untyped]
+ sphinx/pygments_styles.py:5:1: error: Library stubs not installed for "pygments.style"  [import-untyped-stubs-available]
- sphinx/pygments_styles.py:6:1: error: Library stubs not installed for "pygments.styles.friendly"  [import-untyped]
+ sphinx/pygments_styles.py:6:1: error: Library stubs not installed for "pygments.styles.friendly"  [import-untyped-stubs-available]
- sphinx/pygments_styles.py:7:1: error: Library stubs not installed for "pygments.token"  [import-untyped]
+ sphinx/pygments_styles.py:7:1: error: Library stubs not installed for "pygments.token"  [import-untyped-stubs-available]
- sphinx/_cli/util/errors.py:102:1: error: Library stubs not installed for "pygments"  [import-untyped]
+ sphinx/_cli/util/errors.py:102:1: error: Library stubs not installed for "pygments"  [import-untyped-stubs-available]
- sphinx/highlighting.py:9:1: error: Library stubs not installed for "pygments"  [import-untyped]
+ sphinx/highlighting.py:9:1: error: Library stubs not installed for "pygments"  [import-untyped-stubs-available]
- sphinx/highlighting.py:11:1: error: Library stubs not installed for "pygments.filters"  [import-untyped]
+ sphinx/highlighting.py:11:1: error: Library stubs not installed for "pygments.filters"  [import-untyped-stubs-available]
- sphinx/highlighting.py:12:1: error: Library stubs not installed for "pygments.formatters"  [import-untyped]
+ sphinx/highlighting.py:12:1: error: Library stubs not installed for "pygments.formatters"  [import-untyped-stubs-available]
- sphinx/highlighting.py:13:1: error: Library stubs not installed for "pygments.lexers"  [import-untyped]
+ sphinx/highlighting.py:13:1: error: Library stubs not installed for "pygments.lexers"  [import-untyped-stubs-available]
- sphinx/highlighting.py:22:1: error: Library stubs not installed for "pygments.styles"  [import-untyped]
+ sphinx/highlighting.py:22:1: error: Library stubs not installed for "pygments.styles"  [import-untyped-stubs-available]
- sphinx/highlighting.py:23:1: error: Library stubs not installed for "pygments.util"  [import-untyped]
+ sphinx/highlighting.py:23:1: error: Library stubs not installed for "pygments.util"  [import-untyped-stubs-available]
- sphinx/highlighting.py:32:1: error: Library stubs not installed for "pygments.formatter"  [import-untyped]
+ sphinx/highlighting.py:32:1: error: Library stubs not installed for "pygments.formatter"  [import-untyped-stubs-available]
- sphinx/highlighting.py:33:1: error: Library stubs not installed for "pygments.lexer"  [import-untyped]
+ sphinx/highlighting.py:33:1: error: Library stubs not installed for "pygments.lexer"  [import-untyped-stubs-available]
- sphinx/highlighting.py:34:1: error: Library stubs not installed for "pygments.style"  [import-untyped]
+ sphinx/highlighting.py:34:1: error: Library stubs not installed for "pygments.style"  [import-untyped-stubs-available]
- sphinx/application.py:48:1: error: Library stubs not installed for "pygments.lexer"  [import-untyped]
+ sphinx/application.py:48:1: error: Library stubs not installed for "pygments.lexer"  [import-untyped-stubs-available]
- sphinx/testing/util.py:81:1: error: Library stubs not installed for "defusedxml.ElementTree"  [import-untyped]
+ sphinx/testing/util.py:81:1: error: Library stubs not installed for "defusedxml.ElementTree"  [import-untyped-stubs-available]
- sphinx/transforms/post_transforms/code.py:9:1: error: Library stubs not installed for "pygments.lexers"  [import-untyped]
+ sphinx/transforms/post_transforms/code.py:9:1: error: Library stubs not installed for "pygments.lexers"  [import-untyped-stubs-available]
- sphinx/cmd/build.py:460:1: error: Library stubs not installed for "pygments"  [import-untyped]
+ sphinx/cmd/build.py:460:1: error: Library stubs not installed for "pygments"  [import-untyped-stubs-available]

comtypes (https://github.com/enthought/comtypes)
- comtypes/test/test_win32com_interop.py:10: error: Library stubs not installed for "pythoncom"  [import-untyped]
+ comtypes/test/test_win32com_interop.py:10: error: Library stubs not installed for "pythoncom"  [import-untyped-stubs-available]
- comtypes/test/test_win32com_interop.py:11: error: Library stubs not installed for "win32com.client"  [import-untyped]
+ comtypes/test/test_win32com_interop.py:11: error: Library stubs not installed for "win32com.client"  [import-untyped-stubs-available]
- comtypes/test/test_win32com_interop.py:11: error: Library stubs not installed for "win32com"  [import-untyped]
+ comtypes/test/test_win32com_interop.py:11: error: Library stubs not installed for "win32com"  [import-untyped-stubs-available]
- comtypes/test/test_dispinterface.py:8: error: Library stubs not installed for "win32com.client"  [import-untyped]
+ comtypes/test/test_dispinterface.py:8: error: Library stubs not installed for "win32com.client"  [import-untyped-stubs-available]
- comtypes/test/test_dispinterface.py:9: error: Library stubs not installed for "win32com.client.gencache"  [import-untyped]
+ comtypes/test/test_dispinterface.py:9: error: Library stubs not installed for "win32com.client.gencache"  [import-untyped-stubs-available]
- comtypes/test/test_comserver.py:15: error: Library stubs not installed for "win32com.client"  [import-untyped]
+ comtypes/test/test_comserver.py:15: error: Library stubs not installed for "win32com.client"  [import-untyped-stubs-available]

AutoSplit (https://github.com/Toufool/AutoSplit)
- src/capture_method/XcbCaptureMethod.py:11:1: error: Library stubs not installed for "Xlib.display"  [import-untyped]
+ src/capture_method/XcbCaptureMethod.py:11:1: error: Library stubs not installed for "Xlib.display"  [import-untyped-stubs-available]
- src/capture_method/XcbCaptureMethod.py:12:1: error: Library stubs not installed for "Xlib.error"  [import-untyped]
+ src/capture_method/XcbCaptureMethod.py:12:1: error: Library stubs not installed for "Xlib.error"  [import-untyped-stubs-available]

... (truncated 186 lines) ...```

@wyattscarpenter wyattscarpenter marked this pull request as draft May 17, 2025 13:52
@wyattscarpenter wyattscarpenter marked this pull request as ready for review May 17, 2025 13:55
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.

Split import-untyped into two different error codes depending on whether stubs are available to install
1 participant