Closed
Conversation
wyattscarpenter
commented
Jan 19, 2026
wyattscarpenter
commented
Jan 19, 2026
This comment has been minimized.
This comment has been minimized.
Owner
Author
|
This goes back in the drawer for if I ever want to work on it later. (Would probably suggest a bigger refactor than mypy has ever accepted from me before.) |
|
Diff from mypy_primer, showing the effect of this PR on open source code: beartype (https://github.com/beartype/beartype)
+ beartype/claw/_importlib/_clawimpload.py:19: error: Unused "type: ignore" comment [unused-ignore]
CPython (Argument Clinic) (https://github.com/python/cpython)
- Tools/clinic/libclinic/clanguage.py:67: error: Module has no attribute "cpp" [attr-defined]
+ 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.
spack (https://github.com/spack/spack)
+ 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:441: 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:788: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/llnl/util/lang.py:1004: 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:3000: 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/config.py:517: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/config.py:546: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/fetch_strategy.py:393: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/fetch_strategy.py:523: 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/patch.py:187: 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:1535: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/spec.py:1567: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/spec.py:3603: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/stage.py:842: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- 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/externals.py:258: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/externals.py:292: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/database.py:1063: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/database.py:1764: error: Unused "type: ignore[call-overload]" comment [unused-ignore]
- lib/spack/spack/install_test.py:259: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/install_test.py:409: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/install_test.py:514: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/install_test.py:830: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/build_environment.py:398: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/build_environment.py:561: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/installer.py:228: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/installer.py:2411: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/installer.py:2650: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/solver/asp.py:1272: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:1287: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:1290: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:1295: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:2924: error: Unused "type: ignore[call-overload]" comment [unused-ignore]
- lib/spack/spack/solver/asp.py:3462: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:3465: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:3468: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/test/versions.py:689: 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:1982: 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/externals.py:109: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/test/externals.py:128: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/test/entry_points.py:105: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/config.py:1815: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/graph.py:445: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/graph.py:446: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/graph.py:506: 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/python.py:94: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/cmd/create.py:754: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/buildcache_prune.py:233: error: Redundant cast to "URLBuildcacheEntry" [redundant-cast]
- lib/spack/spack/test/cmd/versions.py:44: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code [unused-ignore]
- lib/spack/spack/test/cmd/edit.py:56: 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:36: 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:54: 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:60: 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:72: 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:78: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:383: 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/cmd/dev_build.py:461: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/binary_distribution.py:631: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/binary_distribution.py:1319: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/ci/common.py:221: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/ci/common.py:239: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/spec_yaml.py:554: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/test/repo.py:119: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code [unused-ignore]
- lib/spack/spack/test/repo.py:217: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code [unused-ignore]
- lib/spack/spack/test/repo.py:220: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code [unused-ignore]
- lib/spack/spack/cmd/repo.py:272: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/repo.py:442: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/repo.py:455: 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:502: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/checksum.py:90: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/checksum.py:100: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/checksum.py:113: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:491: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:1163: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:1164: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:1165: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/env.py:373: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/ci.py:850: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/ci.py:851: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
optuna (https://github.com/optuna/optuna)
+ tests/conftest.py:1: error: Cannot find implementation or library stub for module named "pytest" [import-not-found]
+ 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]
+ optuna/_gp/scipy_blas_thread_patch.py:13: error: Library stubs not installed for "scipy" [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/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/logging.py:14: error: Cannot find implementation or library stub for module named "colorlog" [import-not-found]
+ tests/test_convert_positional_args.py:5: error: Cannot find implementation or library stub for module named "pytest" [import-not-found]
+ tests/test_convert_positional_args.py:39: error: Unused "type: ignore" comment [unused-ignore]
+ tests/test_convert_positional_args.py:60: error: Unused "type: ignore" comment [unused-ignore]
+ tests/test_convert_positional_args.py:61: error: Unused "type: ignore" comment [unused-ignore]
+ tests/test_convert_positional_args.py:137: error: Unused "type: ignore" comment [unused-ignore]
+ optuna/storages/journal/_redis.py:80: 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" [import-untyped]
+ optuna/_gp/gp.py:37: error: Cannot find implementation or library stub for module named "torch" [import-not-found]
+ optuna/_gp/batched_lbfgsb.py:12: error: Library stubs not installed for "greenlet" [import-untyped]
+ optuna/_gp/batched_lbfgsb.py:12: note: Hint: "python3 -m pip install types-greenlet"
+ optuna/_gp/batched_lbfgsb.py:18: error: Library stubs not installed for "scipy.optimize" [import-untyped]
+ optuna/_gp/batched_lbfgsb.py:18: note: Hint: "python3 -m pip install scipy-stubs"
+ optuna/_gp/batched_lbfgsb.py:18: note: (or run "mypy --install-types" to install all missing stub packages)
+ optuna/_gp/batched_lbfgsb.py:18: error: Library stubs not installed for "scipy" [import-untyped]
+ 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: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: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: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/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: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/_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/_gp/optim_mixed.py:14: error: Cannot find implementation or library stub for module named "torch" [import-not-found]
+ optuna/storages/_grpc/client.py:27: error: Library stubs not installed for "grpc" [import-untyped]
+ optuna/pruners/_hyperband.py:316: error: Unused "type: ignore" comment [unused-ignore]
+ optuna/storages/_grpc/server.py:13: error: Library stubs not installed for "grpc" [import-untyped]
+ 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: Library stubs not installed for "grpc" [import-untyped]
+ optuna/storages/_grpc/auto_generated/api_pb2_grpc.py:3: error: Library stubs not installed for "grpc" [import-untyped]
+ optuna/storages/_grpc/auto_generated/api_pb2_grpc.py:13: error: Library stubs not installed for "grpc._utilities" [import-untyped]
+ optuna/storages/_grpc/auto_generated/api_pb2_grpc.py:13: note: Hint: "python3 -m pip install types-grpcio"
+ 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:131: error: Incompatible types in assignment (expression has type "floating[Any]", variable has type "float") [assignment]
+ tutorial/20_recipes/011_journal_storage.py:24: error: Module has no attribute "journal" [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]
... (truncated 235 lines) ...
hydpy (https://github.com/hydpy-dev/hydpy)
+ hydpy/data/HydPy-H-Lahn/control/default/land_dill_assl.py: error: Duplicate module named "land_dill_assl" (also at "hydpy/data/HydPy-H-Lahn/conditions/init_1996_01_01_00_00_00/land_dill_assl.py")
+ hydpy/data/HydPy-H-Lahn/control/default/land_dill_assl.py: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#mapping-file-paths-to-modules for more info
+ hydpy/data/HydPy-H-Lahn/control/default/land_dill_assl.py: note: Common resolutions include: a) using `--exclude` to avoid checking one of them, b) adding `__init__.py` somewhere, c) using `--explicit-package-bases` or adjusting MYPYPATH
- hydpy/core/testtools.py:2923: error: Module "hydpy" has no attribute "aliases" [attr-defined]
- hydpy/core/objecttools.py:347: error: Unused "type: ignore" comment [unused-ignore]
- hydpy/core/hydpytools.py:3351: error: Need type annotation for "digraph" [var-annotated]
- hydpy/core/devicetools.py:2622: error: Incompatible types in assignment (expression has type "DataFrame", variable has type "Series[Any]") [assignment]
- hydpy/core/devicetools.py:2631: error: No overload variant of "__call__" of "PlotAccessor" matches argument types "Any", "dict[str, str | int]" [call-overload]
- hydpy/core/devicetools.py:2631: note: Possible overload variants:
- hydpy/core/devicetools.py:2631: note: def [HashableT1: Hashable, HashableT2: Hashable] __call__(self, *, data: Series[Any] | DataFrame | None = ..., x: Hashable = ..., y: Hashable | Sequence[Hashable] = ..., kind: Literal['line', 'bar', 'barh', 'hist', 'box', 'kde', 'density', 'area', 'pie', 'scatter', 'hexbin'] = ..., ax: Any | None = ..., subplots: Literal[False] | None = ..., sharex: bool = ..., sharey: bool = ..., layout: tuple[int, int] = ..., figsize: tuple[float, float] = ..., use_index: bool = ..., title: Sequence[str] | None = ..., grid: bool | None = ..., legend: bool | Literal['reverse'] = ..., style: str | list[str] | dict[HashableT1, str] = ..., logx: bool | Literal['sym'] = ..., logy: bool | Literal['sym'] = ..., loglog: bool | Literal['sym'] = ..., xticks: Sequence[float] = ..., yticks: Sequence[float] = ..., xlim: tuple[float, float] | list[float] = ..., ylim: tuple[float, float] | list[float] = ..., xlabel: str = ..., ylabel: str = ..., rot: float = ..., fontsize: float = ..., colormap: str | Any | None = ..., colorbar: bool = ..., position: float = ..., table: bool | Series[Any] | DataFrame = ..., yerr: DataFrame | Series[Any] | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | dict[Any, Any] | str = ..., xerr: DataFrame | Series[Any] | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | dict[Any, Any] | str = ..., stacked: bool = ..., secondary_y: bool | list[HashableT2] | tuple[HashableT2, ...] = ..., mark_right: bool = ..., include_bool: bool = ..., backend: str = ..., **kwargs: Any) -> Any
- hydpy/core/devicetools.py:2631: note: def [HashableT1: Hashable, HashableT2: Hashable, HashableT3: Hashable] __call__(self, *, data: Series[Any] | DataFrame | None = ..., x: Hashable = ..., y: Hashable | Sequence[Hashable] = ..., kind: Literal['line', 'bar', 'barh', 'hist', 'kde', 'density', 'area', 'pie', 'scatter', 'hexbin'] = ..., ax: Any | None = ..., subplots: Literal[True] | Sequence[Iterable[HashableT1]], sharex: bool = ..., sharey: bool = ..., layout: tuple[int, int] = ..., figsize: tuple[float, float] = ..., use_index: bool = ..., title: Sequence[str] | None = ..., grid: bool | None = ..., legend: bool | Literal['reverse'] = ..., style: str | list[str] | dict[HashableT2, str] = ..., logx: bool | Literal['sym'] = ..., logy: bool | Literal['sym'] = ..., loglog: bool | Literal['sym'] = ..., xticks: Sequence[float] = ..., yticks: Sequence[float] = ..., xlim: tuple[float, float] | list[float] = ..., ylim: tuple[float, float] | list[float] = ..., xlabel: str = ..., ylabel: str = ..., rot: float = ..., fontsize: float = ..., colormap: str | Any | None = ..., colorbar: bool = ..., position: float = ..., table: bool | Series[Any] | DataFrame = ..., yerr: DataFrame | Series[Any] | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | dict[Any, Any] | str = ..., xerr: DataFrame | Series[Any] | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | dict[Any, Any] | str = ..., stacked: bool = ..., secondary_y: bool | list[HashableT3] | tuple[HashableT3, ...] = ..., mark_right: bool = ..., include_bool: bool = ..., backend: str = ..., **kwargs: Any) -> ndarray[tuple[Any, ...], dtype[object_]]
- hydpy/core/devicetools.py:2631: note: def [HashableT1: Hashable, HashableT2: Hashable, HashableT3: Hashable] __call__(self, *, data: Series[Any] | DataFrame | None = ..., x: Hashable = ..., y: Hashable | Sequence[Hashable] = ..., kind: Literal['box'], ax: Any | None = ..., subplots: Literal[True] | Sequence[Iterable[HashableT1]], sharex: bool = ..., sharey: bool = ..., layout: tuple[int, int] = ..., figsize: tuple[float, float] = ..., use_index: bool = ..., title: Sequence[str] | None = ..., grid: bool | None = ..., legend: bool | Literal['reverse'] = ..., style: str | list[str] | dict[HashableT2, str] = ..., logx: bool | Literal['sym'] = ..., logy: bool | Literal['sym'] = ..., loglog: bool | Literal['sym'] = ..., xticks: Sequence[float] = ..., yticks: Sequence[float] = ..., xlim: tuple[float, float] | list[float] = ..., ylim: tuple[float, float] | list[float] = ..., xlabel: str = ..., ylabel: str = ..., rot: float = ..., fontsize: float = ..., colormap: str | Any | None = ..., colorbar: bool = ..., position: float = ..., table: bool | Series[Any] | DataFrame = ..., yerr: DataFrame | Series[Any] | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | dict[Any, Any] | str = ..., xerr: DataFrame | Series[Any] | ExtensionArray | ndarray[tuple[Any, ...], dtype[Any]] | dict[Any, Any] | str = ..., stacked: bool = ..., secondary_y: bool | list[HashableT3] | tuple[HashableT3, ...] = ..., mark_right: bool = ..., include_bool: bool = ..., backend: str = ..., **kwargs: Any) -> Series[Any]
- hydpy/core/devicetools.py:2804: error: Unused "type: ignore" comment [unused-ignore]
- hydpy/auxs/statstools.py:298: error: Argument "sim" to "SimObs" has incompatible type "Series[Any]"; expected "ndarray[tuple[Any, ...], dtype[float64]]" [arg-type]
- hydpy/auxs/statstools.py:298: error: Argument "obs" to "SimObs" has incompatible type "Series[Any]"; expected "ndarray[tuple[Any, ...], dtype[float64]]" [arg-type]
- hydpy/auxs/statstools.py:1689: error: No overload variant of "fmin" matches argument types "Callable[[tuple[float, float, float, float]], float]", "Iterable[float]", "float", "float", "bool" [call-overload]
- hydpy/auxs/statstools.py:1689: note: Possible overload variants:
- hydpy/auxs/statstools.py:1689: note: def fmin(func: def (ndarray[tuple[int], dtype[float64]], /, *Any, **Any) -> float | floating[Any] | integer[Any] | numpy.bool[builtins.bool], x0: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] | _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[float | floating[Any] | integer[Any] | numpy.bool[builtins.bool]], args: tuple[object, ...] = ..., xtol: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] = ..., ftol: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] = ..., maxiter: int | None = ..., maxfun: int | None = ..., full_output: Literal[False] | numpy.bool[Literal[False]] | Literal[0] = ..., disp: Literal[0, 1, 2, 3] | builtins.bool | numpy.bool[builtins.bool] = ..., retall: Literal[False] | numpy.bool[Literal[False]] | Literal[0] = ..., callback: Callable[[ndarray[tuple[int], dtype[float64]]], None] | None = ..., initial_simplex: _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[_CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[float | floating[Any] | integer[Any] | numpy.bool[builtins.bool]]] | None = ...) -> ndarray[tuple[int], dtype[float64]]
- hydpy/auxs/statstools.py:1689: note: def fmin(func: def (ndarray[tuple[int], dtype[float64]], /, *Any, **Any) -> float | floating[Any] | integer[Any] | numpy.bool[builtins.bool], x0: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] | _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[float | floating[Any] | integer[Any] | numpy.bool[builtins.bool]], args: tuple[object, ...] = ..., xtol: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] = ..., ftol: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] = ..., maxiter: int | None = ..., maxfun: int | None = ..., full_output: Literal[False] | numpy.bool[Literal[False]] | Literal[0] = ..., disp: Literal[0, 1, 2, 3] | builtins.bool | numpy.bool[builtins.bool] = ..., *, retall: Literal[True] | numpy.bool[Literal[True]] | Literal[1], callback: Callable[[ndarray[tuple[int], dtype[float64]]], None] | None = ..., initial_simplex: _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[_CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[float | floating[Any] | integer[Any] | numpy.bool[builtins.bool]]] | None = ...) -> tuple[ndarray[tuple[int], dtype[float64]], list[ndarray[tuple[int], dtype[signedinteger[_32Bit | _64Bit]]] | ndarray[tuple[int], dtype[float64]]]]
- hydpy/auxs/statstools.py:1689: note: def fmin(func: def (ndarray[tuple[int], dtype[float64]], /, *Any, **Any) -> float | floating[Any] | integer[Any] | numpy.bool[builtins.bool], x0: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] | _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[float | floating[Any] | integer[Any] | numpy.bool[builtins.bool]], args: tuple[object, ...] = ..., xtol: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] = ..., ftol: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] = ..., maxiter: int | None = ..., maxfun: int | None = ..., *, full_output: Literal[True] | numpy.bool[Literal[True]] | Literal[1], disp: Literal[0, 1, 2, 3] | builtins.bool | numpy.bool[builtins.bool] = ..., retall: Literal[False] | numpy.bool[Literal[False]] | Literal[0] = ..., callback: Callable[[ndarray[tuple[int], dtype[float64]]], None] | None = ..., initial_simplex: _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[_CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[float | floating[Any] | integer[Any] | numpy.bool[builtins.bool]]] | None = ...) -> tuple[ndarray[tuple[int], dtype[float64]], float | floating[Any] | integer[Any] | numpy.bool[builtins.bool], int, int, Literal[0, 1, 2, 3, 4]]
- hydpy/auxs/statstools.py:1689: note: def fmin(func: def (ndarray[tuple[int], dtype[float64]], /, *Any, **Any) -> float | floating[Any] | integer[Any] | numpy.bool[builtins.bool], x0: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] | _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[float | floating[Any] | integer[Any] | numpy.bool[builtins.bool]], args: tuple[object, ...] = ..., xtol: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] = ..., ftol: float | floating[Any] | integer[Any] | numpy.bool[builtins.bool] = ..., maxiter: int | None = ..., maxfun: int | None = ..., *, full_output: Literal[True] | numpy.bool[Literal[True]] | Literal[1], disp: Literal[0, 1, 2, 3] | builtins.bool | numpy.bool[builtins.bool] = ..., retall: Literal[True] | numpy.bool[Literal[True]] | Literal[1], callback: Callable[[ndarray[tuple[int], dtype[float64]]], None] | None = ..., initial_simplex: _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[_CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[float | floating[Any] | integer[Any] | numpy.bool[builtins.bool]]] | None = ...) -> tuple[ndarray[tuple[int], dtype[float64]], float | floating[Any] | integer[Any] | numpy.bool[builtins.bool], int, int, Literal[0, 1, 2, 3, 4], list[ndarray[tuple[int], dtype[signedinteger[_32Bit | _64Bit]]] | ndarray[tuple[int], dtype[float64]]]]
- hydpy/auxs/ppolytools.py:423: error: No overload variant of "CubicHermiteSpline" matches argument types "Sequence[float] | ndarray[tuple[Any, ...], dtype[float64]]", "Sequence[float] | ndarray[tuple[Any, ...], dtype[float64]]" [call-overload]
- hydpy/auxs/ppolytools.py:423: note: Possible overload variants:
- hydpy/auxs/ppolytools.py:423: note: def [_CT_co: float64 | complex128] CubicHermiteSpline(x: _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[float | floating[Any] | integer[Any] | numpy.bool[builtins.bool]], y: _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | SequenceND[float | _CanArray[floating[Any] | integer[Any] | numpy.bool[builtins.bool]]], dydx: _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | SequenceND[float | _CanArray[floating[Any] | integer[Any] | numpy.bool[builtins.bool]]], axis: int | integer[Any] = ..., extrapolate: Literal['periodic'] | bool | None = ...) -> CubicHermiteSpline[float64]
- hydpy/auxs/ppolytools.py:423: note: def [_CT_co: float64 | complex128] CubicHermiteSpline(x: _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[float | floating[Any] | integer[Any] | numpy.bool[builtins.bool]], y: _CanArrayND[complexfloating[Any, Any]] | SequenceND[JustComplex | _CanArray[complexfloating[Any, Any]]], dydx: _CanArrayND[number[Any, int | float | complex] | numpy.bool[builtins.bool]] | SequenceND[complex | _CanArray[number[Any, int | float | complex] | numpy.bool[builtins.bool]]], axis: int | integer[Any] = ..., extrapolate: Literal['periodic'] | bool | None = ...) -> CubicHermiteSpline[complex128]
- hydpy/auxs/ppolytools.py:423: note: def [_CT_co: float64 | complex128] CubicHermiteSpline(x: _CanArrayND[floating[Any] | integer[Any] | numpy.bool[builtins.bool]] | Sequence[float | floating[Any] | integer[Any] | numpy.bool[builtins.bool]], y: _CanArrayND[number[Any, int | float | complex] | numpy.bool[builtins.bool]] | SequenceND[complex | _CanArray[number[Any, int | float | complex] | numpy.bool[builtins.bool]]], dydx: _CanArrayND[number[Any, int | float | complex] | numpy.bool[builtins.bool]] | SequenceND[complex | _CanArray[number[Any, int | float | complex] | numpy.bool[builtins.bool]]], axis: int | integer[Any] = ..., extrapolate: Literal['periodic'] | bool | None = ...) -> CubicHermiteSpline[Any]
psycopg (https://github.com/psycopg/psycopg)
+ 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', 'scrap.*']
- 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_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)
+ tornado/platform/asyncio.py:410: error: Module has no attribute "DefaultEventLoopPolicy" [attr-defined]
+ tornado/autoreload.py:339: error: Module has no attribute "get_loader" [attr-defined]
spark (https://github.com/apache/spark)
+ python/pyspark/loose_version.py:34: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/loose_version.py:40: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/loose_version.py:46: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/loose_version.py:52: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/loose_version.py:58: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/loose_version.py:64: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/errors/exceptions/tblib.py:213: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/errors/exceptions/tblib.py:283: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/errors/exceptions/tblib.py:334: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/ml/torch/torch_run_process_wrapper.py:69: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/ml/torch/torch_run_process_wrapper.py:71: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/instrumentation_utils.py:62: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/instrumentation_utils.py:83: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/instrumentation_utils.py:113: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/serializers.py:467: error: Unused "type: ignore[misc]" comment [unused-ignore]
+ python/pyspark/logger/logger.py:202: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/logger/logger.py:213: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/logger/logger.py:224: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/logger/logger.py:248: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/logger/logger.py:264: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/logger/logger.py:275: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/logger/logger.py:288: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/logger/worker_io.py:193: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/logger/worker_io.py:194: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/errors/utils.py:63: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/errors/utils.py:332: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/errors/exceptions/captured.py:110: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/errors/exceptions/captured.py:129: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/errors/exceptions/captured.py:143: error: Unused "type: ignore" comment [unused-ignore]
... (truncated 7324 lines) ...``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I don't even know.