Skip to content

Remove the Anys from mypy/config_parser.py #19637

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

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

wyattscarpenter
Copy link
Contributor

@wyattscarpenter wyattscarpenter commented Aug 10, 2025

This pull request removes the Anys (and the ignore) from mypy/config_parser.py, fixing #19566. This is a refactor, but it also ensures that the class of bugs (unfriendly error messages) triggered by runtime type errors do not occur here further.

This comment has been minimized.

@wyattscarpenter wyattscarpenter changed the title Removes some of the Anys from mypy/config_parser.py Remove some of the Anys from mypy/config_parser.py Aug 10, 2025
@wyattscarpenter wyattscarpenter marked this pull request as ready for review August 10, 2025 14:40

This comment has been minimized.

@wyattscarpenter wyattscarpenter changed the title Remove some of the Anys from mypy/config_parser.py Remove the Anys from mypy/config_parser.py Aug 14, 2025
wyattscarpenter and others added 4 commits August 13, 2025 22:02
this actually did not matter for the code, I guess. The only reason to change it was because mypy was complaining because mypy doesn't allow redefinition that way (at least with these settings). But instead of beating mypy into doing what I want, I just made the types follow the error message here.
This attempts to get at mypy/config_parser.py:620: error: Incompatible types in assignment (expression has type tuple[int, int], variable has type Optional[bool])  [assignment]

however, I think this leaves v undefined in the else path, which is bad
@wyattscarpenter wyattscarpenter marked this pull request as draft August 14, 2025 05:25
Copy link
Contributor

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

bidict (https://github.com/jab/bidict)
+ mypy.ini: No [mypy] section in config file

mypy_primer (https://github.com/hauntsaninja/mypy_primer)
+ mypy.ini: No [mypy] section in config file

attrs (https://github.com/python-attrs/attrs)
+ mypy.ini: No [mypy] section in config file

spack (https://github.com/spack/spack)
+ mypy.ini: No [mypy] section in config file
+ Can't find package 'spack'
- lib/spack/spack/util/elf.py:220: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:225: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:226: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:228: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:229: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:230: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:233: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:234: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/util/elf.py:235: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/llnl/util/lang.py:488: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/llnl/util/lang.py:829: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/llnl/util/lang.py:1045: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/llnl/util/filesystem.py:3201: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/operating_systems/windows_os.py:52: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/schema/mirrors.py:62: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/schema/mirrors.py:63: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/schema/mirrors.py:80: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/schema/mirrors.py:82: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/config.py:453: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/config.py:476: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/version/git_ref_lookup.py:46: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/spec.py:1543: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/spec.py:3635: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/patch.py:185: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/fetch_strategy.py:392: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/fetch_strategy.py:520: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/fetch_strategy.py:834: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/fetch_strategy.py:835: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/fetch_strategy.py:836: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/database.py:1064: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/database.py:1765: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/database.py:1765: error: Missing named argument "key" for "sort" of "list"  [call-arg]
- lib/spack/spack/database.py:1765: note: Error code "call-arg" not covered by "type: ignore" comment
- lib/spack/spack/environment/list.py:182: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/package_base.py:738: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/package_base.py:754: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/package_base.py:757: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/install_test.py:260: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/install_test.py:408: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/install_test.py:518: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/install_test.py:520: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/install_test.py:531: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/install_test.py:847: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/installer.py:222: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/installer.py:2377: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/installer.py:2613: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/build_environment.py:396: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/build_environment.py:559: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/binary_distribution.py:2184: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/solver/asp.py:1364: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/solver/asp.py:3030: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/solver/asp.py:3030: error: Missing named argument "key" for "sort" of "list"  [call-arg]
- lib/spack/spack/solver/asp.py:3030: note: Error code "call-arg" not covered by "type: ignore" comment
- lib/spack/spack/solver/asp.py:3556: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/solver/asp.py:3559: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/solver/asp.py:3562: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/test/versions.py:672: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/test/spec_semantics.py:1999: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/test/sbang.py:58: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/entry_points.py:105: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/graph.py:447: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/graph.py:448: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/graph.py:508: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/unit_test.py:17: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/cmd/style.py:665: error: Incompatible types in assignment (expression has type "str | bytes | int | float | complex | EllipsisType | None", variable has type "str")  [assignment]
- lib/spack/spack/cmd/python.py:92: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/cmd/create.py:753: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/buildcache_prune.py:169: error: Redundant cast to "URLBuildcacheEntry"  [redundant-cast]
- lib/spack/spack/test/cmd/versions.py:39: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:34: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:35: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:52: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:53: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:57: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:58: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:59: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:70: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:71: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:75: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:76: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:77: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:382: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:459: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:460: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/binary_distribution.py:560: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/binary_distribution.py:1245: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/test/repo.py:120: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code  [unused-ignore]
- lib/spack/spack/test/repo.py:218: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code  [unused-ignore]
- lib/spack/spack/test/repo.py:221: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code  [unused-ignore]
- lib/spack/spack/ci/common.py:250: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/ci/common.py:268: error: Unused "type: ignore" comment  [unused-ignore]
- lib/spack/spack/cmd/repo.py:256: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/repo.py:424: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/repo.py:437: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/external.py:144: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/config.py:442: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/checksum.py:91: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/checksum.py:101: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/checksum.py:114: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:429: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:846: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:847: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- lib/spack/spack/cmd/env.py:372: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]

mypy-protobuf (https://github.com/dropbox/mypy-protobuf)
+ mypy.ini: No [mypy] section in config file
- mypy_protobuf/extensions_pb2.pyi:22: error: Class cannot subclass "Message" (has type "Any")  [misc]

typeshed-stats (https://github.com/AlexWaygood/typeshed-stats)
+ mypy.ini: No [mypy] section in config file
+ tests/test___all__.py:26: error: Unused "type: ignore" comment  [unused-ignore]
- src/typeshed_stats/_cli.py:115: error: Returning Any from function declared to return "type[HelpFormatter]"  [no-any-return]
- tests/test__cli.py:447: error: Returning Any from function declared to return "MagicMock"  [no-any-return]

cibuildwheel (https://github.com/pypa/cibuildwheel)
- Warning: unused section(s) in pyproject.toml: module = ['importlib_resources', 'setuptools._distutils', 'setuptools._distutils.util']
- cibuildwheel/resources/_cross_venv.py:38: error: Name "platform.AndroidVer" is not defined  [name-defined]
- cibuildwheel/resources/_cross_venv.py:39: error: Module has no attribute "AndroidVer"  [attr-defined]
- cibuildwheel/resources/_cross_venv.py:49: error: Module has no attribute "android_ver"  [attr-defined]
+ mypy.ini: No [mypy] section in config file
+ cibuildwheel/bashlex_eval.py:10: error: Cannot find implementation or library stub for module named "bashlex"  [import-not-found]
+ cibuildwheel/environment.py:5: error: Cannot find implementation or library stub for module named "bashlex"  [import-not-found]
+ cibuildwheel/environment.py:6: error: Cannot find implementation or library stub for module named "bashlex.errors"  [import-not-found]
+ cibuildwheel/schema.py:12: error: Unused "type: ignore" comment  [unused-ignore]
- cibuildwheel/logger.py:97: error: Returning Any from function declared to return "str | None"  [no-any-return]
- cibuildwheel/platforms/android.py:236: error: Class cannot subclass "IsolatedEnv" (has type "Any")  [misc]

pydantic (https://github.com/pydantic/pydantic)
+ mypy.ini: No [mypy] section in config file

PyGithub (https://github.com/PyGithub/PyGithub)
- pyproject.toml: [mypy]: python_version: Python 3.8 is not supported (must be 3.9 or higher)
+ mypy.ini: No [mypy] section in config file
+ github/PublicKey.py:48: error: Cannot find implementation or library stub for module named "nacl"  [import-not-found]
+ github/PublicKey.py:48: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ github/Repository.py:2612: error: Missing return statement  [return]
+ github/Repository.py:2620: error: Missing return statement  [return]
+ tests/Framework.py:71: error: Cannot find implementation or library stub for module named "responses"  [import-not-found]
- tests/Framework.py:368: error: Unused "type: ignore" comment  [unused-ignore]
- tests/Environment.py:33: error: Unused "type: ignore" comment  [unused-ignore]
+ tests/Retry.py:35: error: Cannot find implementation or library stub for module named "responses"  [import-not-found]
+ tests/PullRequest.py:58: error: Cannot find implementation or library stub for module named "pytest"  [import-not-found]
+ tests/DependabotAlert.py:29: error: Cannot find implementation or library stub for module named "pytest"  [import-not-found]
+ tests/Connection.py:36: error: Cannot find implementation or library stub for module named "pytest"  [import-not-found]
+ tests/Connection.py:37: error: Cannot find implementation or library stub for module named "responses"  [import-not-found]

optuna (https://github.com/optuna/optuna)
+ mypy.ini: No [mypy] section in config file
+ optuna/storages/_grpc/auto_generated/api_pb2.pyi:21: error: Library stubs not installed for "google.protobuf.descriptor"  [import-untyped]
+ optuna/storages/_grpc/auto_generated/api_pb2.pyi:21: error: Library stubs not installed for "google.protobuf"  [import-untyped]
+ optuna/storages/_grpc/auto_generated/api_pb2.pyi:21: error: Cannot find implementation or library stub for module named "google"  [import-not-found]
+ optuna/storages/_grpc/auto_generated/api_pb2.pyi:22: error: Library stubs not installed for "google.protobuf.internal.containers"  [import-untyped]
+ optuna/storages/_grpc/auto_generated/api_pb2.pyi:22: note: Hint: "python3 -m pip install types-protobuf"
+ optuna/storages/_grpc/auto_generated/api_pb2.pyi:22: error: Library stubs not installed for "google.protobuf.internal"  [import-untyped]
+ optuna/storages/_grpc/auto_generated/api_pb2.pyi:23: error: Library stubs not installed for "google.protobuf.internal.enum_type_wrapper"  [import-untyped]
+ optuna/storages/_grpc/auto_generated/api_pb2.pyi:24: error: Library stubs not installed for "google.protobuf.message"  [import-untyped]
+ tests/test_imports.py:1: error: Cannot find implementation or library stub for module named "pytest"  [import-not-found]
+ optuna/visualization/_plotly_imports.py:7: error: Cannot find implementation or library stub for module named "plotly"  [import-not-found]
+ optuna/visualization/_plotly_imports.py:9: error: Cannot find implementation or library stub for module named "plotly.graph_objects"  [import-not-found]
+ optuna/visualization/_plotly_imports.py:12: error: Cannot find implementation or library stub for module named "plotly.subplots"  [import-not-found]
+ optuna/visualization/matplotlib/_matplotlib_imports.py:8: error: Cannot find implementation or library stub for module named "matplotlib"  [import-not-found]
+ optuna/visualization/matplotlib/_matplotlib_imports.py:11: error: Cannot find implementation or library stub for module named "matplotlib.axes._axes"  [import-not-found]
+ optuna/visualization/matplotlib/_matplotlib_imports.py:12: error: Cannot find implementation or library stub for module named "matplotlib.collections"  [import-not-found]
+ optuna/visualization/matplotlib/_matplotlib_imports.py:14: error: Cannot find implementation or library stub for module named "matplotlib.colors"  [import-not-found]
+ optuna/visualization/matplotlib/_matplotlib_imports.py:15: error: Cannot find implementation or library stub for module named "matplotlib.contour"  [import-not-found]
+ optuna/visualization/matplotlib/_matplotlib_imports.py:16: error: Cannot find implementation or library stub for module named "matplotlib.dates"  [import-not-found]
+ optuna/visualization/matplotlib/_matplotlib_imports.py:17: error: Cannot find implementation or library stub for module named "matplotlib.figure"  [import-not-found]
+ optuna/visualization/matplotlib/_matplotlib_imports.py:18: error: Cannot find implementation or library stub for module named "mpl_toolkits.mplot3d.axes3d"  [import-not-found]
+ optuna/integration/xgboost.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.xgboost"  [import-not-found]
+ optuna/integration/wandb.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.wandb"  [import-not-found]
+ optuna/integration/tfkeras.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.tfkeras"  [import-not-found]
+ optuna/integration/tensorflow.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.tensorflow"  [import-not-found]
+ optuna/integration/tensorboard.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.tensorboard"  [import-not-found]
+ optuna/integration/skorch.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.skorch"  [import-not-found]
+ optuna/integration/sklearn.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.sklearn"  [import-not-found]
+ optuna/integration/shap.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.shap"  [import-not-found]
+ optuna/integration/pytorch_lightning.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.pytorch_lightning"  [import-not-found]
+ optuna/integration/pytorch_ignite.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.pytorch_ignite"  [import-not-found]
+ optuna/integration/pytorch_distributed.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.pytorch_distributed"  [import-not-found]
+ optuna/integration/mxnet.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.mxnet"  [import-not-found]
+ optuna/integration/mlflow.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.mlflow"  [import-not-found]
+ optuna/integration/lightgbm.py:11: error: Cannot find implementation or library stub for module named "optuna_integration.lightgbm"  [import-not-found]
+ optuna/integration/lightgbm.py:11: error: Cannot find implementation or library stub for module named "optuna_integration"  [import-not-found]
+ optuna/integration/lightgbm.py:18: error: Cannot find implementation or library stub for module named "optuna.integration.lightgbm_tuner"  [import-not-found]
+ optuna/integration/keras.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.keras"  [import-not-found]
+ optuna/integration/fastaiv2.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.fastaiv2"  [import-not-found]
+ optuna/integration/dask.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.dask"  [import-not-found]
+ optuna/integration/cma.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.cma"  [import-not-found]
+ optuna/integration/chainermn.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.chainermn"  [import-not-found]
+ optuna/integration/chainer.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.chainer"  [import-not-found]
+ optuna/integration/catboost.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.catboost"  [import-not-found]
+ optuna/integration/botorch.py:5: error: Cannot find implementation or library stub for module named "optuna_integration"  [import-not-found]
+ optuna/integration/allennlp/__init__.py:5: error: Cannot find implementation or library stub for module named "optuna_integration.allennlp._dump_best_config"  [import-not-found]
+ optuna/integration/allennlp/__init__.py:6: error: Cannot find implementation or library stub for module named "optuna_integration.allennlp._executor"  [import-not-found]
+ optuna/integration/allennlp/__init__.py:7: error: Cannot find implementation or library stub for module named "optuna_integration.allennlp._pruner"  [import-not-found]
+ optuna/artifacts/_gcs.py:15: error: Cannot find implementation or library stub for module named "google.cloud.storage"  [import-not-found]
+ optuna/artifacts/_gcs.py:15: error: Cannot find implementation or library stub for module named "google.cloud"  [import-not-found]
+ optuna/artifacts/_gcs.py:15: error: Cannot find implementation or library stub for module named "google"  [import-not-found]
+ optuna/_gp/scipy_blas_thread_patch.py:8: error: Library stubs not installed for "scipy"  [import-untyped]
+ tests/test_convert_positional_args.py:5: error: Cannot find implementation or library stub for module named "pytest"  [import-not-found]
+ optuna/logging.py:15: error: Cannot find implementation or library stub for module named "colorlog"  [import-not-found]
+ optuna/artifacts/_boto3.py:14: error: Cannot find implementation or library stub for module named "mypy_boto3_s3"  [import-not-found]
+ optuna/artifacts/_boto3.py:17: error: Cannot find implementation or library stub for module named "boto3"  [import-not-found]
+ optuna/artifacts/_boto3.py:18: error: Cannot find implementation or library stub for module named "botocore.exceptions"  [import-not-found]
+ optuna/storages/journal/_redis.py:81: error: Unused "type: ignore" comment  [unused-ignore]
+ optuna/importance/_fanova/_tree.py:11: error: Cannot find implementation or library stub for module named "sklearn.tree"  [import-not-found]
+ optuna/importance/_fanova/_tree.py:11: error: Cannot find implementation or library stub for module named "sklearn"  [import-not-found]
+ optuna/_gp/gp.py:36: error: Library stubs not installed for "scipy.optimize"  [import-untyped]
+ optuna/_gp/gp.py:36: note: Hint: "python3 -m pip install scipy-stubs"
+ optuna/_gp/gp.py:36: note: (or run "mypy --install-types" to install all missing stub packages)
+ optuna/_gp/gp.py:36: error: Library stubs not installed for "scipy"  [import-untyped]
+ optuna/_gp/gp.py:37: error: Cannot find implementation or library stub for module named "torch"  [import-not-found]
+ tests/test_transform.py:5: error: Cannot find implementation or library stub for module named "pytest"  [import-not-found]
+ tests/importance_tests/fanova_tests/test_tree.py:7: error: Cannot find implementation or library stub for module named "pytest"  [import-not-found]
+ optuna/importance/_fanova/_fanova.py:28: error: Cannot find implementation or library stub for module named "sklearn.ensemble"  [import-not-found]
+ optuna/_gp/prior.py:7: error: Cannot find implementation or library stub for module named "torch"  [import-not-found]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.d.py:41: error: Variable "optuna.storages._rdb.alembic.versions.v3.0.0.d.BaseModel" is not valid as a type  [valid-type]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.d.py:41: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ optuna/storages/_rdb/alembic/versions/v3.0.0.d.py:41: error: Invalid base class "BaseModel"  [misc]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.d.py:50: error: Need type annotation for "value_type"  [var-annotated]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.d.py:126: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.c.py:41: error: Variable "optuna.storages._rdb.alembic.versions.v3.0.0.c.BaseModel" is not valid as a type  [valid-type]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.c.py:41: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ optuna/storages/_rdb/alembic/versions/v3.0.0.c.py:41: error: Invalid base class "BaseModel"  [misc]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.c.py:51: error: Need type annotation for "intermediate_value_type"  [var-annotated]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.c.py:116: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.b.py:45: error: Variable "optuna.storages._rdb.alembic.versions.v3.0.0.b.BaseModel" is not valid as a type  [valid-type]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.b.py:45: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ optuna/storages/_rdb/alembic/versions/v3.0.0.b.py:45: error: Invalid base class "BaseModel"  [misc]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.b.py:49: error: Need type annotation for "state"  [var-annotated]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.b.py:52: error: Variable "optuna.storages._rdb.alembic.versions.v3.0.0.b.BaseModel" is not valid as a type  [valid-type]
+ optuna/storages/_rdb/alembic/versions/v3.0.0.b.py:52: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ optuna/storages/_rdb/alembic/versions/v3.0.0.b.py:52: error: Invalid base class "BaseModel"  [misc]
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type  [valid-type]
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:35: error: Invalid base class "BaseModel"  [misc]
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:41: error: Variable "optuna.storages._rdb.alembic.versions.v1.3.0.a.BaseModel" is not valid as a type  [valid-type]
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:41: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ optuna/storages/_rdb/alembic/versions/v1.3.0.a.py:41: error: Invalid base class "BaseModel"  [misc]
+ optuna/_gp/search_space.py:18: error: Library stubs not installed for "scipy.stats.qmc"  [import-untyped]
+ optuna/_gp/search_space.py:18: error: Library stubs not installed for "scipy.stats"  [import-untyped]
+ optuna/_gp/search_space.py:18: error: Library stubs not installed for "scipy"  [import-untyped]
+ optuna/_gp/optim_mixed.py:13: error: Library stubs not installed for "scipy.optimize"  [import-untyped]
+ optuna/_gp/optim_mixed.py:13: error: Library stubs not installed for "scipy"  [import-untyped]
+ optuna/storages/_grpc/client.py:27: error: Cannot find implementation or library stub for module named "grpc"  [import-not-found]
+ optuna/pruners/_hyperband.py:316: error: Unused "type: ignore" comment  [unused-ignore]
+ optuna/storages/_grpc/server.py:13: error: Cannot find implementation or library stub for module named "grpc"  [import-not-found]
+ optuna/pruners/_wilcoxon.py:18: error: Library stubs not installed for "scipy.stats"  [import-untyped]
+ optuna/pruners/_wilcoxon.py:18: error: Library stubs not installed for "scipy"  [import-untyped]
+ optuna/samplers/_gp/sampler.py:26: error: Cannot find implementation or library stub for module named "torch"  [import-not-found]
+ optuna/samplers/_cmaes.py:34: error: Cannot find implementation or library stub for module named "cmaes"  [import-not-found]
+ optuna/study/_dataframe.py:13: error: Library stubs not installed for "pandas"  [import-untyped]
+ optuna/study/_dataframe.py:13: note: Hint: "python3 -m pip install pandas-stubs"
+ optuna/storages/_grpc/servicer.py:21: error: Cannot find implementation or library stub for module named "grpc"  [import-not-found]
+ optuna/storages/_grpc/auto_generated/api_pb2_grpc.py:3: error: Cannot find implementation or library stub for module named "grpc"  [import-not-found]
+ optuna/storages/_grpc/auto_generated/api_pb2_grpc.py:13: error: Cannot find implementation or library stub for module named "grpc._utilities"  [import-not-found]
+ optuna/_gp/acqf.py:16: error: Cannot find implementation or library stub for module named "torch"  [import-not-found]
+ tutorial/20_recipes/013_wilcoxon_pruner.py:62: error: Cannot find implementation or library stub for module named "plotly.graph_objects"  [import-not-found]
+ tutorial/20_recipes/013_wilcoxon_pruner.py:62: error: Cannot find implementation or library stub for module named "plotly"  [import-not-found]
+ tutorial/20_recipes/013_wilcoxon_pruner.py:87: error: Argument 1 to "append" of "list" has incompatible type "signedinteger[_32Bit | _64Bit]"; expected "int"  [arg-type]
+ tutorial/20_recipes/013_wilcoxon_pruner.py:133: error: Incompatible types in assignment (expression has type "floating[Any] | float64", variable has type "float")  [assignment]
+ tutorial/20_recipes/011_journal_storage.py:24: error: Module has no attribute "JournalFileBackend"  [attr-defined]
+ tutorial/20_recipes/010_reuse_best_trial.py:26: error: Cannot find implementation or library stub for module named "sklearn"  [import-not-found]
+ tutorial/20_recipes/010_reuse_best_trial.py:27: error: Cannot find implementation or library stub for module named "sklearn.datasets"  [import-not-found]
+ tutorial/20_recipes/010_reuse_best_trial.py:28: error: Cannot find implementation or library stub for module named "sklearn.linear_model"  [import-not-found]
+ tutorial/20_recipes/010_reuse_best_trial.py:29: error: Cannot find implementation or library stub for module named "sklearn.model_selection"  [import-not-found]

... (truncated 240 lines) ...

check-jsonschema (https://github.com/python-jsonschema/check-jsonschema)
+ mypy.ini: No [mypy] section in config file
+ src/check_jsonschema/transforms/base.py:5: error: Cannot find implementation or library stub for module named "ruamel.yaml"  [import-not-found]
+ src/check_jsonschema/transforms/base.py:5: error: Cannot find implementation or library stub for module named "ruamel"  [import-not-found]
+ src/check_jsonschema/parsers/yaml.py:6: error: Cannot find implementation or library stub for module named "ruamel.yaml"  [import-not-found]
+ src/check_jsonschema/parsers/yaml.py:6: error: Cannot find implementation or library stub for module named "ruamel"  [import-not-found]
+ src/check_jsonschema/parsers/json5.py:8: error: Cannot find implementation or library stub for module named "pyjson5"  [import-not-found]
+ src/check_jsonschema/parsers/json5.py:15: error: Cannot find implementation or library stub for module named "json5"  [import-not-found]
+ src/check_jsonschema/cli/warnings.py:6: error: Cannot find implementation or library stub for module named "click"  [import-not-found]
+ src/check_jsonschema/transforms/gitlab.py:5: error: Cannot find implementation or library stub for module named "ruamel.yaml"  [import-not-found]
+ src/check_jsonschema/transforms/gitlab.py:5: error: Cannot find implementation or library stub for module named "ruamel"  [import-not-found]
+ src/check_jsonschema/parsers/json_.py:7: error: Cannot find implementation or library stub for module named "orjson"  [import-not-found]
+ src/check_jsonschema/parsers/__init__.py:7: error: Cannot find implementation or library stub for module named "ruamel.yaml"  [import-not-found]
+ src/check_jsonschema/parsers/__init__.py:7: error: Cannot find implementation or library stub for module named "ruamel"  [import-not-found]
+ src/check_jsonschema/utils.py:13: error: Cannot find implementation or library stub for module named "click"  [import-not-found]
+ src/check_jsonschema/regex_variants.py:6: error: Cannot find implementation or library stub for module named "regress"  [import-not-found]
+ src/check_jsonschema/cli/param_types.py:10: error: Cannot find implementation or library stub for module named "click"  [import-not-found]
+ src/check_jsonschema/cli/param_types.py:12: error: Cannot find implementation or library stub for module named "click._compat"  [import-not-found]
+ src/check_jsonschema/reporter.py:13: error: Cannot find implementation or library stub for module named "click"  [import-not-found]
+ src/check_jsonschema/schema_loader/readers.py:8: error: Cannot find implementation or library stub for module named "ruamel.yaml"  [import-not-found]
+ src/check_jsonschema/schema_loader/readers.py:8: error: Cannot find implementation or library stub for module named "ruamel"  [import-not-found]
+ src/check_jsonschema/cli/parse_result.py:6: error: Cannot find implementation or library stub for module named "click"  [import-not-found]
+ src/check_jsonschema/checker.py:6: error: Cannot find implementation or library stub for module named "click"  [import-not-found]
+ src/check_jsonschema/cli/main_command.py:7: error: Cannot find implementation or library stub for module named "click"  [import-not-found]
+ src/check_jsonschema/cli/main_command.py:7: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

mkosi (https://github.com/systemd/mkosi)
+ mypy.ini: No [mypy] section in config file

pylox (https://github.com/sco1/pylox)
- tool/generate_tests.py:43: error: Untyped decorator makes function "main" untyped  [misc]
- tool/generate_ast.py:178: error: Untyped decorator makes function "main" untyped  [misc]
+ mypy.ini: No [mypy] section in config file
+ tool/generate_tests.py:4: error: Cannot find implementation or library stub for module named "typer"  [import-not-found]
+ tool/generate_tests.py:5: error: Cannot find implementation or library stub for module named "rich"  [import-not-found]
+ tool/generate_ast.py:5: error: Cannot find implementation or library stub for module named "typer"  [import-not-found]
+ tool/generate_ast.py:6: error: Cannot find implementation or library stub for module named "rich"  [import-not-found]
+ pylox/ast_printer.py:17: error: Unused "type: ignore" comment  [unused-ignore]
+ pylox/interpreter.py:3: error: Cannot find implementation or library stub for module named "rich"  [import-not-found]
+ pylox/interpreter.py:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- pylox/builtins/py_builtins.py:175: error: Returning Any from function declared to return "float"  [no-any-return]
- pylox/builtins/py_builtins.py:192: error: Returning Any from function declared to return "float"  [no-any-return]
- pylox/builtins/py_builtins.py:216: error: Returning Any from function declared to return "float"  [no-any-return]
- pylox/builtins/py_builtins.py:326: error: Returning Any from function declared to return "float"  [no-any-return]
+ pylox/lox.py:5: error: Cannot find implementation or library stub for module named "typer"  [import-not-found]
+ pylox/lox.py:6: error: Cannot find implementation or library stub for module named "rich"  [import-not-found]
+ pylox/lox.py:7: error: Cannot find implementation or library stub for module named "rich.prompt"  [import-not-found]
+ tests/scanning/test_whitespace.py:3: error: Cannot find implementation or library stub for module named "pytest_check"  [import-not-found]
+ tests/scanning/test_strings.py:3: error: Cannot find implementation or library stub for module named "pytest_check"  [import-not-found]
+ tests/scanning/test_punctuators.py:4: error: Cannot find implementation or library stub for module named "pytest_check"  [import-not-found]
+ tests/scanning/test_numbers.py:3: error: Cannot find implementation or library stub for module named "pytest_check"  [import-not-found]
+ tests/scanning/test_keywords.py:4: error: Cannot find implementation or library stub for module named "pytest_check"  [import-not-found]
+ tests/scanning/test_identifiers.py:4: error: Cannot find implementation or library stub for module named "pytest_check"  [import-not-found]
+ tests/expressions/test_parse.py:2: error: Cannot find implementation or library stub for module named "pytest_check"  [import-not-found]
+ tests/expressions/test_evaluate.py:2: error: Cannot find implementation or library stub for module named "pytest_check"  [import-not-found]
- pylox/interpreter.py:220: error: Returning Any from function declared to return "Expr"  [no-any-return]
- pylox/interpreter.py:223: error: Returning Any from function declared to return "Expr"  [no-any-return]
- pylox/interpreter.py:225: error: Returning Any from function declared to return "Expr"  [no-any-return]
- pylox/interpreter.py:235: error: Returning Any from function declared to return "float | bool"  [no-any-return]
- pylox/interpreter.py:266: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
- pylox/interpreter.py:282: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
- pylox/interpreter.py:286: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
- pylox/interpreter.py:292: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
- pylox/interpreter.py:297: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
- pylox/interpreter.py:300: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
- pylox/interpreter.py:303: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
- pylox/interpreter.py:306: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
- pylox/interpreter.py:309: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
- pylox/interpreter.py:312: error: Returning Any from function declared to return "float | str | None"  [no-any-return]
- pylox/lox.py:117: error: Untyped decorator makes function "main" untyped  [misc]

psycopg (https://github.com/psycopg/psycopg)
+ mypy.ini: No [mypy] section in config file
+ usage: mypy [-h] [-v] [-V] [more options; see below]
+             [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...]
+ mypy: error: Missing target module, package, files, or command.
- Warning: unused section(s) in pyproject.toml: module = ['polib']
- psycopg/psycopg/types/shapely.py:31: error: Unused "type: ignore" comment  [unused-ignore]
- psycopg/psycopg/types/shapely.py:32: error: Unused "type: ignore" comment  [unused-ignore]
- psycopg/psycopg/types/shapely.py:52: error: Returning Any from function declared to return "bytes | bytearray | memoryview[int] | None"  [no-any-return]
- psycopg/psycopg/types/shapely.py:57: error: Returning Any from function declared to return "bytes | bytearray | memoryview[int] | None"  [no-any-return]
- tests/test_psycopg_dbapi20.py:45: error: "type[PsycopgTests]" has no attribute "failUnless"  [attr-defined]
- tests/test_psycopg_dbapi20.py:46: error: "type[PsycopgTPCTests]" has no attribute "assertEquals"  [attr-defined]
- tests/test_dns.py:21: error: Cannot find implementation or library stub for module named "dns.rdtypes.IN.A"  [import-not-found]
- tests/test_dns.py:21: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- tests/test_dns.py:21: error: Cannot find implementation or library stub for module named "dns.rdtypes.IN"  [import-not-found]
- tests/test_dns.py:21: error: Cannot find implementation or library stub for module named "dns.rdtypes"  [import-not-found]
- tests/test_dns.py:21: error: Cannot find implementation or library stub for module named "dns"  [import-not-found]
- tests/types/test_shapely.py:18: error: Unused "type: ignore" comment  [unused-ignore]
- tests/types/test_shapely.py:21: error: Unused "type: ignore" comment  [unused-ignore]
- tests/test_dns_srv.py:114: error: Cannot find implementation or library stub for module named "dns.exception"  [import-not-found]
- tests/test_dns_srv.py:115: error: Cannot find implementation or library stub for module named "dns.rdtypes.IN.A"  [import-not-found]
- tests/test_dns_srv.py:116: error: Cannot find implementation or library stub for module named "dns.rdtypes.IN.SRV"  [import-not-found]

tornado (https://github.com/tornadoweb/tornado)
+ mypy.ini: No [mypy] section in config file
+ tornado/web.py:1942: error: Unused "type: ignore" comment  [unused-ignore]
+ tornado/web.py:2013: error: Unused "type: ignore" comment  [unused-ignore]
+ tornado/web.py:2042: error: Unused "type: ignore" comment  [unused-ignore]
+ tornado/web.py:3358: error: Unused "type: ignore" comment  [unused-ignore]
+ tornado/web.py:3480: error: Unused "type: ignore" comment  [unused-ignore]
+ tornado/test/util_test.py:256: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/util_test.py:265: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/util.py:83: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/template_test.py:227: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:25: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:48: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:60: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:79: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:84: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:89: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:94: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:102: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:111: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:122: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:130: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:146: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:162: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:180: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:185: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:191: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:201: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:214: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:228: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:244: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:253: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:268: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:290: error: Unused "type: ignore" comment  [unused-ignore]
+ tornado/test/queues_test.py:314: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:319: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:342: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:355: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:361: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/queues_test.py:406: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/options_test.py:122: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
+ tornado/test/locks_test.py:26: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs  [annotation-unchecked]
- tornado/test/auth_test.py:78: error: Signature of "_oauth_get_user_future" incompatible with supertype "tornado.auth.OAuthMixin"  [override]
- tornado/test/auth_test.py:78: note:      Superclass:

... (truncated 5068 lines) ...```

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.

1 participant