KotlinIsland / basedtypeshed

Collection of library stubs for Python, with static types
Other
3 stars 0 forks source link

Poetry #13

Open DetachHead opened 2 years ago

github-actions[bot] commented 2 years ago

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

github-actions[bot] commented 2 years ago

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


PyGithub (https://github.com/PyGithub/PyGithub)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- tests/GithubIntegration.py:7: error: Cannot find implementation or library stub for module named "jwt"
- tests/GithubIntegration.py:7: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

pytest (https://github.com/pytest-dev/pytest)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- src/_pytest/_code/code.py:140: error: Unsupported operand types for - ("None" and "int")  [operator]
- src/_pytest/_code/code.py:140: note: Left operand is of type "Optional[int]"
- src/_pytest/fixtures.py:1154: error: Incompatible types in assignment (expression has type "Union[Tuple[Union[None, str, float, int, bool], ...], Callable[[Any], Optional[object]], None]", variable has type "Union[Tuple[Union[None, str, float, int, bool], ...], Callable[[Any], Optional[object]]]")  [assignment]
- src/_pytest/assertion/rewrite.py:282: error: Returning Any from function declared to return "TraversableResources"  [no-any-return]
- testing/test_assertion.py:1013: error: No overload variant matches argument type "bool"  [call-overload]
- testing/test_assertion.py:1013: note: Possible overload variants:
- testing/test_assertion.py:1013: note:     def [_C <: type] attrs(maybe_cls: _C, these: Optional[Dict[str, Any]] = ..., repr_ns: Optional[str] = ..., repr: bool = ..., cmp: Optional[bool] = ..., hash: Optional[bool] = ..., init: bool = ..., slots: bool = ..., frozen: bool = ..., weakref_slot: bool = ..., str: bool = ..., auto_attribs: bool = ..., kw_only: bool = ..., cache_hash: bool = ..., auto_exc: bool = ..., eq: Optional[bool] = ..., order: Optional[bool] = ...) -> _C
- testing/test_assertion.py:1013: note:     def attrs(maybe_cls: None = ..., these: Optional[Dict[str, Any]] = ..., repr_ns: Optional[str] = ..., repr: bool = ..., cmp: Optional[bool] = ..., hash: Optional[bool] = ..., init: bool = ..., slots: bool = ..., frozen: bool = ..., weakref_slot: bool = ..., str: bool = ..., auto_attribs: bool = ..., kw_only: bool = ..., cache_hash: bool = ..., auto_exc: bool = ..., eq: Optional[bool] = ..., order: Optional[bool] = ...) -> Callable[[_C], _C]
- testing/test_assertion.py:1029: error: Module has no attribute "define"  [attr-defined]
- testing/test_assertion.py:1036: error: Too many arguments for "SimpleDataObject"  [call-arg]
- testing/test_assertion.py:1037: error: Too many arguments for "SimpleDataObject"  [call-arg]
- testing/deprecated_test.py:125: error: Unsupported operand types for > ("int" and "None")  [operator]
- testing/deprecated_test.py:125: note: Left operand is of type "Optional[int]"
- testing/deprecated_test.py:125: error: Unsupported operand types for < ("int" and "None")  [operator]
- testing/deprecated_test.py:125: note: Right operand is of type "Optional[int]"

python-sop (https://gitlab.com/dkg/python-sop)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- sop/__init__.py:224: error: Missing type parameters for generic type "_SubParsersAction"
- sop/__init__.py:387: error: Missing type parameters for generic type "_SubParsersAction"

xarray (https://github.com/pydata/xarray)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- xarray/core/npcompat.py:35: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/rolling_exp.py:6: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/dask_array_compat.py:4: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/duck_array_ops.py:23: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/indexing.py:11: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/plot/plot.py:13: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/missing.py:9: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/coding/cftimeindex.py:49: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/backends/h5netcdf_.py:6: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/backends/h5netcdf_.py:6: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- xarray/tests/__init__.py:11: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_sparse.py:7: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_dataarray.py:10: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_computation.py:9: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_combine.py:6: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_cftimeindex.py:7: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_backends.py:20: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_dask.py:10: error: Cannot find implementation or library stub for module named "packaging.version"  [import]

dedupe (https://github.com/dedupeio/dedupe)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

more-itertools (https://github.com/more-itertools/more-itertools)
- Warning: unused section(s) in setup.cfg: [mypy-tests.*]
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

black (https://github.com/psf/black)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

aiortc (https://github.com/aiortc/aiortc)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- src/aiortc/rtcdtlstransport.py:186: error: Unused "type: ignore" comment
- src/aiortc/rtcdtlstransport.py:211: error: Unused "type: ignore" comment
- src/aiortc/rtcdtlstransport.py:212: error: Unused "type: ignore" comment

pegen (https://github.com/we-like-parsers/pegen)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

flake8 (https://github.com/pycqa/flake8)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- src/flake8/plugins/pyflakes.py:12: error: Cannot find implementation or library stub for module named "pyflakes.checker"
- src/flake8/plugins/pyflakes.py:12: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- src/flake8/plugins/pyflakes.py:12: error: Cannot find implementation or library stub for module named "pyflakes"
- tests/unit/test_pyflakes_codes.py:4: error: Cannot find implementation or library stub for module named "pyflakes"
- tests/unit/plugins/finder_test.py:577: error: Cannot find implementation or library stub for module named "aplugin"

sockeye (https://github.com/awslabs/sockeye)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

rich (https://github.com/willmcgugan/rich)
- rich/_windows.py:33: error: Statement is unreachable
- rich/style.py:726: error: Statement is unreachable
- rich/console.py:1823: error: Incompatible return value type (got "Tuple[str, Optional[int], Dict[str, Any]]", expected "Tuple[str, int, Dict[str, Any]]")
- rich/live.py:172: error: Subclass of "TextIO" and "FileProxy" cannot exist: would have incompatible method signatures
- rich/live.py:175: error: Subclass of "TextIO" and "FileProxy" cannot exist: would have incompatible method signatures
+ Traceback (most recent call last):
+   File "/tmp/mypy_primer/new_mypy/venv/bin/mypy", line 8, in <module>
+     sys.exit(console_entry())
+   File "/tmp/mypy_primer/new_mypy/venv/lib/python3.10/site-packages/mypy/__main__.py", line 12, in console_entry
+     main(None, sys.stdout, sys.stderr)
+   File "mypy/main.py", line 70, in main
+   File "mypy/main.py", line 1039, in process_options
+   File "mypy/modulefinder.py", line 147, in __init__
+     if level <= self.debug:
+   File "mypy/modulefinder.py", line 818, in load_stdlib_py_versions
+ AssertionError: ('/tmp/mypy_primer/new_typeshed/typeshed_to_test', '/tmp/mypy_primer/new_typeshed/typeshed_to_test/stdlib/VERSIONS', '/tmp/mypy_primer/new_mypy/venv/lib/python3.10/site-packages/mypy/modulefinder.cpython-310-x86_64-linux-gnu.so')

twine (https://github.com/pypa/twine)
- Warning: unused section(s) in mypy.ini: [mypy-tests.*]
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

dulwich (https://github.com/dulwich/dulwich)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

scipy (https://github.com/scipy/scipy)
- mypy.ini:5: error: Error importing plugin "numpy.typing.mypy_plugin": No module named 'numpy'  [misc]
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

zulip (https://github.com/zulip/zulip)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- Warning: unused section(s) in pyproject.toml: module = ['coverage.*', 'natsort.*', 'netifaces.*', 'pyinotify.*', 'sphinx_rtd_theme.*']
- tools/linter_lib/pep8.py:3: error: Cannot find implementation or library stub for module named "zulint.linters"  [import]
- tools/linter_lib/pep8.py:4: error: Cannot find implementation or library stub for module named "zulint.printer"  [import]
- tools/linter_lib/custom_check.py:3: error: Cannot find implementation or library stub for module named "zulint.custom_rules"  [import]
- zerver/lib/html_diff.py:3: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/html_diff.py:4: error: Cannot find implementation or library stub for module named "lxml.html.diff"  [import]
- tools/setup/generate_zulip_bots_static_files.py:15: error: Cannot find implementation or library stub for module named "zulip_bots.lib"  [import]
- tools/linter_lib/pyflakes.py:4: error: Cannot find implementation or library stub for module named "zulint.linters"  [import]
- tools/lib/pretty_print.py:4: error: Cannot find implementation or library stub for module named "zulint.printer"  [import]
- zerver/migrations/0257_fix_has_link_attribute.py:5: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/migrations/0244_message_copy_pub_date_to_date_sent.py:7: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/migrations/0239_usermessage_copy_id_to_bigint_id.py:9: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/migrations/0149_realm_emoji_drop_unique_constraint.py:4: error: Cannot find implementation or library stub for module named "boto3"  [import]
- zerver/migrations/0149_realm_emoji_drop_unique_constraint.py:9: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.type_defs"  [import]
- zerver/migrations/0102_convert_muted_topic.py:6: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/migrate.py:5: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/db.py:16: error: Cannot find implementation or library stub for module named "psycopg2.extensions"  [import]
- zerver/lib/db.py:17: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py:13: error: Cannot find implementation or library stub for module named "twisted.python.failure"  [import]
- zerver/lib/sqlalchemy_utils.py:3: error: Cannot find implementation or library stub for module named "sqlalchemy"  [import]
- zerver/lib/sqlalchemy_utils.py:20: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:21: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:22: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:24: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:25: error: Unused "type: ignore" comment
- tools/tests/test_zulint_custom_rules.py:6: error: Cannot find implementation or library stub for module named "zulint.custom_rules"  [import]
- zerver/openapi/openapi.py:13: error: Cannot find implementation or library stub for module named "jsonschema.exceptions"  [import]
- zerver/openapi/javascript_examples.py:11: error: Cannot find implementation or library stub for module named "zulip"  [import]
- zerver/lib/markdown/fenced_code.py:81: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/markdown/fenced_code.py:81: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/markdown/fenced_code.py:87: error: Cannot find implementation or library stub for module named "pygments.lexers"  [import]
- zerver/lib/markdown/fenced_code.py:88: error: Cannot find implementation or library stub for module named "pygments.util"  [import]
- tools/oneclickapps/prepare_digital_ocean_one_click_app_release.py:8: error: Cannot find implementation or library stub for module named "zulip"  [import]
- tools/oneclickapps/prepare_digital_ocean_one_click_app_release.py:10: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/lib/outgoing_http.py:4: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/lib/queue.py:10: error: Cannot find implementation or library stub for module named "pika"  [import]
- zerver/lib/queue.py:11: error: Cannot find implementation or library stub for module named "pika.adapters.tornado_connection"  [import]
- zerver/lib/queue.py:11: error: Cannot find implementation or library stub for module named "pika.adapters"  [import]
- zerver/lib/queue.py:12: error: Cannot find implementation or library stub for module named "pika.connection"  [import]
- zerver/lib/queue.py:13: error: Cannot find implementation or library stub for module named "pika.exceptions"  [import]
- zerver/lib/queue.py:15: error: Cannot find implementation or library stub for module named "pika.adapters.blocking_connection"  [import]
- zerver/lib/queue.py:16: error: Cannot find implementation or library stub for module named "pika.channel"  [import]
- zerver/lib/queue.py:17: error: Cannot find implementation or library stub for module named "pika.spec"  [import]
- zerver/lib/queue.py:218: error: Unused "type: ignore" comment
- zerver/lib/queue.py:234: error: Unused "type: ignore" comment
- zerver/lib/url_preview/preview.py:5: error: Cannot find implementation or library stub for module named "magic"  [import]
- zerver/openapi/python_examples.py:21: error: Cannot find implementation or library stub for module named "zulip"  [import]
- zerver/lib/soft_deactivation.py:10: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- analytics/lib/counts.py:10: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/tornado/django_api.py:10: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/lib/upload.py:16: error: Cannot find implementation or library stub for module named "boto3"  [import]
- zerver/lib/upload.py:17: error: Cannot find implementation or library stub for module named "botocore"  [import]
- zerver/lib/upload.py:18: error: Cannot find implementation or library stub for module named "boto3.session"  [import]
- zerver/lib/upload.py:19: error: Cannot find implementation or library stub for module named "botocore.client"  [import]
- zerver/lib/upload.py:26: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- zerver/lib/upload.py:27: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.client"  [import]
- zerver/lib/upload.py:28: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.service_resource"  [import]
- zerver/lib/upload.py:29: error: Cannot find implementation or library stub for module named "PIL"  [import]
- zerver/lib/upload.py:30: error: Cannot find implementation or library stub for module named "PIL.GifImagePlugin"  [import]
- zerver/lib/upload.py:31: error: Cannot find implementation or library stub for module named "PIL.Image"  [import]
- zerver/lib/upload.py:153: error: Unused "type: ignore" comment
- zerver/lib/send_email.py:12: error: Cannot find implementation or library stub for module named "backoff"  [import]
- zerver/lib/send_email.py:296: error: Unused "type: ignore" comment
- zerver/lib/topic.py:7: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/lib/topic.py:8: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/lib/retention.py:38: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/topic_mutes.py:5: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/lib/topic_mutes.py:6: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/lib/export.py:25: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.service_resource"  [import]
- zerver/lib/markdown/__init__.py:34: error: Cannot find implementation or library stub for module named "lxml.etree"  [import]
- zerver/lib/markdown/__init__.py:34: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/middleware.py:33: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/middleware.py:34: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.logging"  [import]
- zerver/lib/users.py:12: error: Cannot find implementation or library stub for module named "zulip_bots.custom_exceptions"  [import]
- zerver/lib/templates.py:14: error: Cannot find implementation or library stub for module named "jinja2.exceptions"  [import]
- zerver/lib/message.py:14: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/push_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/push_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/email_notifications.py:11: error: Cannot find implementation or library stub for module named "html2text"  [import]
- zerver/lib/email_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/email_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/actions.py:40: error: Cannot find implementation or library stub for module named "psycopg2.extras"  [import]
- zerver/lib/actions.py:41: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zproject/backends.py:22: error: Cannot find implementation or library stub for module named "magic"  [import]
- zproject/backends.py:36: error: Cannot find implementation or library stub for module named "lxml.etree"  [import]
- zerver/views/video_calls.py:21: error: Cannot find implementation or library stub for module named "oauthlib.oauth2"  [import]
- zerver/views/video_calls.py:246: error: Unused "type: ignore" comment
- zerver/lib/bot_lib.py:7: error: Cannot find implementation or library stub for module named "zulip_bots.lib"  [import]
- zerver/forms.py:17: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- zerver/lib/test_helpers.py:27: error: Cannot find implementation or library stub for module named "boto3"  [import]
- zerver/lib/test_helpers.py:39: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.service_resource"  [import]
- zerver/views/message_fetch.py:12: error: Cannot find implementation or library stub for module named "sqlalchemy.dialects"  [import]
- zerver/views/message_fetch.py:13: error: Cannot find implementation or library stub for module named "sqlalchemy.engine"  [import]
- zerver/views/message_fetch.py:14: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/views/message_fetch.py:32: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/views/auth.py:8: error: Cannot find implementation or library stub for module named "jwt"  [import]
- zerver/views/auth.py:27: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- zerver/lib/test_classes.py:27: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/test_classes.py:27: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/worker/queue_processors.py:37: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/worker/queue_processors.py:47: error: Cannot find implementation or library stub for module named "zulip_bots.lib"  [import]
- corporate/tests/test_stripe.py:16: error: Cannot find implementation or library stub for module named "responses"  [import]
- analytics/tests/test_counts.py:10: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- tools/setup/generate_integration_bots_avatars.py:20: error: Cannot find implementation or library stub for module named "PIL"  [import]
- zproject/sentry.py:3: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zproject/sentry.py:5: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.django"  [import]
- zproject/sentry.py:6: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.logging"  [import]
- zproject/sentry.py:7: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.redis"  [import]
- zproject/sentry.py:8: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.sqlalchemy"  [import]
- zproject/sentry.py:9: error: Cannot find implementation or library stub for module named "sentry_sdk.utils"  [import]
- zproject/sentry.py:14: error: Cannot find implementation or library stub for module named "sentry_sdk._types"  [import]
- zproject/jinja2/__init__.py:9: error: Cannot find implementation or library stub for module named "jinja2"  [import]
- zproject/jinja2/__init__.py:33: error: Unused "type: ignore" comment
- zerver/logging_handlers.py:14: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/tests/test_upload.py:12: error: Cannot find implementation or library stub for module named "botocore.exceptions"  [import]
- zerver/tests/test_upload.py:12: error: Cannot find implementation or library stub for module named "botocore"  [import]
- zerver/tests/test_upload.py:18: error: Cannot find implementation or library stub for module named "PIL"  [import]
- zerver/tests/test_realm_export.py:4: error: Cannot find implementation or library stub for module named "botocore.exceptions"  [import]
- zerver/tests/test_realm_export.py:4: error: Cannot find implementation or library stub for module named "botocore"  [import]
- zerver/tests/test_queue.py:6: error: Cannot find implementation or library stub for module named "pika.exceptions"  [import]
- zerver/tests/test_push_notifications.py:12: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_outgoing_webhook_system.py:6: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_outgoing_http.py:6: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_outgoing_http.py:7: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/tests/test_outgoing_http.py:28: error: Unused "type: ignore" comment
- zerver/tests/test_outgoing_http.py:44: error: Unused "type: ignore" comment
- zerver/tests/test_openapi.py:11: error: Cannot find implementation or library stub for module named "jsonschema.exceptions"  [import]
- zerver/tests/test_message_fetch.py:11: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/tests/test_message_fetch.py:12: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/tests/test_link_embed.py:7: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_internet.py:2: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_github.py:2: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_email_notifications.py:10: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/tests/test_email_notifications.py:10: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/tests/test_create_video_call.py:3: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_bots.py:9: error: Cannot find implementation or library stub for module named "zulip_bots.custom_exceptions"  [import]
- zerver/tests/test_auth_backends.py:14: error: Cannot find implementation or library stub for module named "jwt"  [import]
- zerver/tests/test_auth_backends.py:18: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_auth_backends.py:30: error: Cannot find implementation or library stub for module named "jwt.exceptions"  [import]
- zerver/openapi/test_curl_examples.py:17: error: Cannot find implementation or library stub for module named "zulip"  [import]
- zerver/management/commands/process_queue.py:14: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/lib/import_realm.py:15: error: Cannot find implementation or library stub for module named "psycopg2.extras"  [import]
- zerver/lib/import_realm.py:16: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/fix_unreads.py:7: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/management/commands/fetch_tor_exit_nodes.py:7: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/data_import/mattermost.py:425: error: Cannot find implementation or library stub for module named "html2text"  [import]
- zerver/data_import/mattermost.py:425: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- analytics/views/activity_common.py:12: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- analytics/views/realm_activity.py:10: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- tools/lib/provision_inner.py:12: error: Cannot find implementation or library stub for module named "pygments"  [import]
- tools/lib/provision_inner.py:27: error: Unused "type: ignore" comment
- zerver/tests/test_slack_importer.py:10: error: Cannot find implementation or library stub for module named "responses"  [import]
- analytics/views/installation_activity.py:13: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- analytics/views/installation_activity.py:14: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]

pycryptodome (https://github.com/Legrandin/pycryptodome)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

bidict (https://github.com/jab/bidict)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- bidict/_mut.py:147: error: Signature of "update" incompatible with supertype "MutableMapping"  [override]
- bidict/_mut.py:147: note:      Superclass:
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, SupportsKeysAndGetItem[KT, VT], **kwargs: VT) -> None
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, Iterable[Tuple[KT, VT]], **kwargs: VT) -> None
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self```
github-actions[bot] commented 2 years ago

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


more-itertools (https://github.com/more-itertools/more-itertools)
- Warning: unused section(s) in setup.cfg: [mypy-tests.*]
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

dulwich (https://github.com/dulwich/dulwich)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

aiortc (https://github.com/aiortc/aiortc)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- src/aiortc/rtcdtlstransport.py:186: error: Unused "type: ignore" comment
- src/aiortc/rtcdtlstransport.py:211: error: Unused "type: ignore" comment
- src/aiortc/rtcdtlstransport.py:212: error: Unused "type: ignore" comment

websockets (https://github.com/aaugustin/websockets)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- src/websockets/datastructures.py:137: error: Signature of "update" incompatible with supertype "MutableMapping"
- src/websockets/datastructures.py:137: note:      Superclass:
- src/websockets/datastructures.py:137: note:          @overload
- src/websockets/datastructures.py:137: note:          def update(self, SupportsKeysAndGetItem[str, str], **kwargs: str) -> None
- src/websockets/datastructures.py:137: note:          @overload
- src/websockets/datastructures.py:137: note:          def update(self, Iterable[Tuple[str, str]], **kwargs: str) -> None
- src/websockets/datastructures.py:137: note:          @overload
- src/websockets/datastructures.py:137: note:          def update(self, **kwargs: str) -> None
- src/websockets/datastructures.py:137: note:      Subclass:
- src/websockets/datastructures.py:137: note:          def update(self, *args: Union[Headers, Mapping[str, str], Iterable[Tuple[str, str]]], **kwargs: str) -> None

sockeye (https://github.com/awslabs/sockeye)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

twine (https://github.com/pypa/twine)
- Warning: unused section(s) in mypy.ini: [mypy-tests.*]
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

PyGithub (https://github.com/PyGithub/PyGithub)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- tests/GithubIntegration.py:7: error: Cannot find implementation or library stub for module named "jwt"
- tests/GithubIntegration.py:7: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

dacite (https://github.com/konradhalas/dacite)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

xarray (https://github.com/pydata/xarray)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- xarray/core/npcompat.py:35: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/rolling_exp.py:6: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/dask_array_compat.py:4: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/duck_array_ops.py:23: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/indexing.py:11: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/plot/plot.py:13: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/missing.py:9: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/coding/cftimeindex.py:49: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/backends/h5netcdf_.py:6: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/backends/h5netcdf_.py:6: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- xarray/tests/__init__.py:11: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_sparse.py:7: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_dataarray.py:10: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_computation.py:9: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_combine.py:6: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_cftimeindex.py:7: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_backends.py:20: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_dask.py:10: error: Cannot find implementation or library stub for module named "packaging.version"  [import]

pegen (https://github.com/we-like-parsers/pegen)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

pycryptodome (https://github.com/Legrandin/pycryptodome)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

dedupe (https://github.com/dedupeio/dedupe)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

scipy (https://github.com/scipy/scipy)
- mypy.ini:5: error: Error importing plugin "numpy.typing.mypy_plugin": No module named 'numpy'  [misc]
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

bidict (https://github.com/jab/bidict)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- bidict/_mut.py:147: error: Signature of "update" incompatible with supertype "MutableMapping"  [override]
- bidict/_mut.py:147: note:      Superclass:
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, SupportsKeysAndGetItem[KT, VT], **kwargs: VT) -> None
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, Iterable[Tuple[KT, VT]], **kwargs: VT) -> None
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, **kwargs: VT) -> None
- bidict/_mut.py:147: note:      Subclass:
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, Mapping[KT, VT], **kw: VT) -> None
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, Iterable[Tuple[KT, VT]], **kw: VT) -> None
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, **kw: VT) -> None

flake8 (https://github.com/pycqa/flake8)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- src/flake8/plugins/pyflakes.py:12: error: Cannot find implementation or library stub for module named "pyflakes.checker"
- src/flake8/plugins/pyflakes.py:12: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- src/flake8/plugins/pyflakes.py:12: error: Cannot find implementation or library stub for module named "pyflakes"
- tests/unit/test_pyflakes_codes.py:4: error: Cannot find implementation or library stub for module named "pyflakes"
- tests/unit/plugins/finder_test.py:577: error: Cannot find implementation or library stub for module named "aplugin"

black (https://github.com/psf/black)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

zulip (https://github.com/zulip/zulip)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- Warning: unused section(s) in pyproject.toml: module = ['coverage.*', 'natsort.*', 'netifaces.*', 'pyinotify.*', 'sphinx_rtd_theme.*']
- tools/linter_lib/pep8.py:3: error: Cannot find implementation or library stub for module named "zulint.linters"  [import]
- tools/linter_lib/pep8.py:4: error: Cannot find implementation or library stub for module named "zulint.printer"  [import]
- tools/linter_lib/custom_check.py:3: error: Cannot find implementation or library stub for module named "zulint.custom_rules"  [import]
- zerver/lib/html_diff.py:3: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/html_diff.py:4: error: Cannot find implementation or library stub for module named "lxml.html.diff"  [import]
- tools/setup/generate_zulip_bots_static_files.py:15: error: Cannot find implementation or library stub for module named "zulip_bots.lib"  [import]
- tools/linter_lib/pyflakes.py:4: error: Cannot find implementation or library stub for module named "zulint.linters"  [import]
- tools/lib/pretty_print.py:4: error: Cannot find implementation or library stub for module named "zulint.printer"  [import]
- zerver/migrations/0257_fix_has_link_attribute.py:5: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/migrations/0244_message_copy_pub_date_to_date_sent.py:7: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/migrations/0239_usermessage_copy_id_to_bigint_id.py:9: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/migrations/0149_realm_emoji_drop_unique_constraint.py:4: error: Cannot find implementation or library stub for module named "boto3"  [import]
- zerver/migrations/0149_realm_emoji_drop_unique_constraint.py:9: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.type_defs"  [import]
- zerver/migrations/0102_convert_muted_topic.py:6: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/migrate.py:5: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/db.py:16: error: Cannot find implementation or library stub for module named "psycopg2.extensions"  [import]
- zerver/lib/db.py:17: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py:13: error: Cannot find implementation or library stub for module named "twisted.python.failure"  [import]
- zerver/lib/sqlalchemy_utils.py:3: error: Cannot find implementation or library stub for module named "sqlalchemy"  [import]
- zerver/lib/sqlalchemy_utils.py:20: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:21: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:22: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:24: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:25: error: Unused "type: ignore" comment
- tools/tests/test_zulint_custom_rules.py:6: error: Cannot find implementation or library stub for module named "zulint.custom_rules"  [import]
- zerver/openapi/openapi.py:13: error: Cannot find implementation or library stub for module named "jsonschema.exceptions"  [import]
- zerver/openapi/javascript_examples.py:11: error: Cannot find implementation or library stub for module named "zulip"  [import]
- zerver/lib/markdown/fenced_code.py:81: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/markdown/fenced_code.py:81: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/markdown/fenced_code.py:87: error: Cannot find implementation or library stub for module named "pygments.lexers"  [import]
- zerver/lib/markdown/fenced_code.py:88: error: Cannot find implementation or library stub for module named "pygments.util"  [import]
- tools/oneclickapps/prepare_digital_ocean_one_click_app_release.py:8: error: Cannot find implementation or library stub for module named "zulip"  [import]
- tools/oneclickapps/prepare_digital_ocean_one_click_app_release.py:10: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/lib/outgoing_http.py:4: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/lib/queue.py:10: error: Cannot find implementation or library stub for module named "pika"  [import]
- zerver/lib/queue.py:11: error: Cannot find implementation or library stub for module named "pika.adapters.tornado_connection"  [import]
- zerver/lib/queue.py:11: error: Cannot find implementation or library stub for module named "pika.adapters"  [import]
- zerver/lib/queue.py:12: error: Cannot find implementation or library stub for module named "pika.connection"  [import]
- zerver/lib/queue.py:13: error: Cannot find implementation or library stub for module named "pika.exceptions"  [import]
- zerver/lib/queue.py:15: error: Cannot find implementation or library stub for module named "pika.adapters.blocking_connection"  [import]
- zerver/lib/queue.py:16: error: Cannot find implementation or library stub for module named "pika.channel"  [import]
- zerver/lib/queue.py:17: error: Cannot find implementation or library stub for module named "pika.spec"  [import]
- zerver/lib/queue.py:218: error: Unused "type: ignore" comment
- zerver/lib/queue.py:234: error: Unused "type: ignore" comment
- zerver/lib/url_preview/preview.py:5: error: Cannot find implementation or library stub for module named "magic"  [import]
- zerver/openapi/python_examples.py:21: error: Cannot find implementation or library stub for module named "zulip"  [import]
- zerver/lib/soft_deactivation.py:10: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- analytics/lib/counts.py:10: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/tornado/django_api.py:10: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/lib/upload.py:16: error: Cannot find implementation or library stub for module named "boto3"  [import]
- zerver/lib/upload.py:17: error: Cannot find implementation or library stub for module named "botocore"  [import]
- zerver/lib/upload.py:18: error: Cannot find implementation or library stub for module named "boto3.session"  [import]
- zerver/lib/upload.py:19: error: Cannot find implementation or library stub for module named "botocore.client"  [import]
- zerver/lib/upload.py:26: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- zerver/lib/upload.py:27: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.client"  [import]
- zerver/lib/upload.py:28: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.service_resource"  [import]
- zerver/lib/upload.py:29: error: Cannot find implementation or library stub for module named "PIL"  [import]
- zerver/lib/upload.py:30: error: Cannot find implementation or library stub for module named "PIL.GifImagePlugin"  [import]
- zerver/lib/upload.py:31: error: Cannot find implementation or library stub for module named "PIL.Image"  [import]
- zerver/lib/upload.py:153: error: Unused "type: ignore" comment
- zerver/lib/send_email.py:12: error: Cannot find implementation or library stub for module named "backoff"  [import]
- zerver/lib/send_email.py:296: error: Unused "type: ignore" comment
- zerver/lib/topic.py:7: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/lib/topic.py:8: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/lib/retention.py:38: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/topic_mutes.py:5: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/lib/topic_mutes.py:6: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/lib/export.py:25: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.service_resource"  [import]
- zerver/lib/markdown/__init__.py:34: error: Cannot find implementation or library stub for module named "lxml.etree"  [import]
- zerver/lib/markdown/__init__.py:34: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/middleware.py:33: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/middleware.py:34: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.logging"  [import]
- zerver/lib/users.py:12: error: Cannot find implementation or library stub for module named "zulip_bots.custom_exceptions"  [import]
- zerver/lib/templates.py:14: error: Cannot find implementation or library stub for module named "jinja2.exceptions"  [import]
- zerver/lib/message.py:14: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/push_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/push_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/email_notifications.py:11: error: Cannot find implementation or library stub for module named "html2text"  [import]
- zerver/lib/email_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/email_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/actions.py:40: error: Cannot find implementation or library stub for module named "psycopg2.extras"  [import]
- zerver/lib/actions.py:41: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zproject/backends.py:22: error: Cannot find implementation or library stub for module named "magic"  [import]
- zproject/backends.py:36: error: Cannot find implementation or library stub for module named "lxml.etree"  [import]
- zerver/views/video_calls.py:21: error: Cannot find implementation or library stub for module named "oauthlib.oauth2"  [import]
- zerver/views/video_calls.py:246: error: Unused "type: ignore" comment
- zerver/lib/bot_lib.py:7: error: Cannot find implementation or library stub for module named "zulip_bots.lib"  [import]
- zerver/forms.py:17: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- zerver/lib/test_helpers.py:27: error: Cannot find implementation or library stub for module named "boto3"  [import]
- zerver/lib/test_helpers.py:39: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.service_resource"  [import]
- zerver/views/message_fetch.py:12: error: Cannot find implementation or library stub for module named "sqlalchemy.dialects"  [import]
- zerver/views/message_fetch.py:13: error: Cannot find implementation or library stub for module named "sqlalchemy.engine"  [import]
- zerver/views/message_fetch.py:14: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/views/message_fetch.py:32: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/views/auth.py:8: error: Cannot find implementation or library stub for module named "jwt"  [import]
- zerver/views/auth.py:27: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- zerver/lib/test_classes.py:27: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/test_classes.py:27: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/worker/queue_processors.py:37: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/worker/queue_processors.py:47: error: Cannot find implementation or library stub for module named "zulip_bots.lib"  [import]
- corporate/tests/test_stripe.py:16: error: Cannot find implementation or library stub for module named "responses"  [import]
- analytics/tests/test_counts.py:10: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- tools/setup/generate_integration_bots_avatars.py:20: error: Cannot find implementation or library stub for module named "PIL"  [import]
- zproject/sentry.py:3: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zproject/sentry.py:5: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.django"  [import]
- zproject/sentry.py:6: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.logging"  [import]
- zproject/sentry.py:7: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.redis"  [import]
- zproject/sentry.py:8: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.sqlalchemy"  [import]
- zproject/sentry.py:9: error: Cannot find implementation or library stub for module named "sentry_sdk.utils"  [import]
- zproject/sentry.py:14: error: Cannot find implementation or library stub for module named "sentry_sdk._types"  [import]
- zproject/jinja2/__init__.py:9: error: Cannot find implementation or library stub for module named "jinja2"  [import]
- zproject/jinja2/__init__.py:33: error: Unused "type: ignore" comment
- zerver/logging_handlers.py:14: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/tests/test_upload.py:12: error: Cannot find implementation or library stub for module named "botocore.exceptions"  [import]
- zerver/tests/test_upload.py:12: error: Cannot find implementation or library stub for module named "botocore"  [import]
- zerver/tests/test_upload.py:18: error: Cannot find implementation or library stub for module named "PIL"  [import]
- zerver/tests/test_realm_export.py:4: error: Cannot find implementation or library stub for module named "botocore.exceptions"  [import]
- zerver/tests/test_realm_export.py:4: error: Cannot find implementation or library stub for module named "botocore"  [import]
- zerver/tests/test_queue.py:6: error: Cannot find implementation or library stub for module named "pika.exceptions"  [import]
- zerver/tests/test_push_notifications.py:12: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_outgoing_webhook_system.py:6: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_outgoing_http.py:6: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_outgoing_http.py:7: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/tests/test_outgoing_http.py:28: error: Unused "type: ignore" comment
- zerver/tests/test_outgoing_http.py:44: error: Unused "type: ignore" comment
- zerver/tests/test_openapi.py:11: error: Cannot find implementation or library stub for module named "jsonschema.exceptions"  [import]
- zerver/tests/test_message_fetch.py:11: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/tests/test_message_fetch.py:12: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/tests/test_link_embed.py:7: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_internet.py:2: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_github.py:2: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_email_notifications.py:10: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/tests/test_email_notifications.py:10: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/tests/test_create_video_call.py:3: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_bots.py:9: error: Cannot find implementation or library stub for module named "zulip_bots.custom_exceptions"  [import]
- zerver/tests/test_auth_backends.py:14: error: Cannot find implementation or library stub for module named "jwt"  [import]
- zerver/tests/test_auth_backends.py:18: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_auth_backends.py:30: error: Cannot find implementation or library stub for module named "jwt.exceptions"  [import]
- zerver/openapi/test_curl_examples.py:17: error: Cannot find implementation or library stub for module named "zulip"  [import]
- zerver/management/commands/process_queue.py:14: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/lib/import_realm.py:15: error: Cannot find implementation or library stub for module named "psycopg2.extras"  [import]
- zerver/lib/import_realm.py:16: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/fix_unreads.py:7: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/management/commands/fetch_tor_exit_nodes.py:7: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/data_import/mattermost.py:425: error: Cannot find implementation or library stub for module named "html2text"  [import]
- zerver/data_import/mattermost.py:425: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- analytics/views/activity_common.py:12: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- analytics/views/realm_activity.py:10: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- tools/lib/provision_inner.py:12: error: Cannot find implementation or library stub for module named "pygments"  [import]
- tools/lib/provision_inner.py:27: error: Unused "type: ignore" comment
- zerver/tests/test_slack_importer.py:10: error: Cannot find implementation or library stub for module named "responses"  [import]
- analytics/views/installation_activity.py:13: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- analytics/views/installation_activity.py:14: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]

pytest (https://github.com/pytest-dev/pytest)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- src/_pytest/_code/code.py:140: error: Unsupported operand types for - ("None" and "int")  [operator]
- src/_pytest/_code/code.py:140: note: Left operand is of type "Optional[int]"
- src/_pytest/fixtures.py:1154: error: Incompatible types in assignment (expression has type "Union[Tuple[Union[None, str, float, int, bool], ...], Callable[[Any], Optional[object]], None]", variable has type "Union[Tuple[Union[None, str, float, int, bool], ...], Callable[[Any], Optional[object]]]")  [assignment]
- src/_pytest/assertion/rewrite.py:282: error: Returning Any from function declared to return "TraversableResources"  [no-any-return]
- testing/test_assertion.py:1013: error: No overload variant matches argument type "bool"  [call-overload]
- testing/test_assertion.py:1013: note: Possible overload variants:
- testing/test_assertion.py:1013: note:     def [_C <: type] attrs(maybe_cls: _C, these: Optional[Dict[str, Any]] = ..., repr_ns: Optional[str] = ..., repr: bool = ..., cmp: Optional[bool] = ..., hash: Optional[bool] = ..., init: bool = ..., slots: bool = ..., frozen: bool = ..., weakref_slot: bool = ..., str: bool = ..., auto_attribs: bool = ..., kw_only: bool = ..., cache_hash: bool = ..., auto_exc: bool = ..., eq: Optional[bool] = ..., order: Optional[bool] = ...) -> _C
- testing/test_assertion.py:1013: note:     def attrs(maybe_cls: None = ..., these: Optional[Dict[str, Any]] = ..., repr_ns: Optional[str] = ..., repr: bool = ..., cmp: Optional[bool] = ..., hash: Optional[bool] = ..., init: bool = ..., slots: bool = ..., frozen: bool = ..., weakref_slot: bool = ..., str: bool = ..., auto_attribs: bool = ..., kw_only: bool = ..., cache_hash: bool = ..., auto_exc: bool = ..., eq: Optional[bool] = ..., order: Optional[bool] = ...) -> Callable[[_C], _C]
- testing/test_assertion.py:1029: error: Module has no attribute "define"  [attr-defined]
- testing/test_assertion.py:1036: error: Too many arguments for "SimpleDataObject"  [call-arg]
- testing/test_assertion.py:1037: error: Too many arguments for "SimpleDataObject"  [call-arg]
- testing/deprecated_test.py:125: error: Unsupported operand types for > ("int" and "None")  [operator]
- testing/deprecated_test.py:125: note: Left operand is of type "Optional[int]"
- testing/deprecated_test.py:125: error: Unsupported operand types for < ("int" and "None")  [operator]
- testing/deprecated_test.py:1```
github-actions[bot] commented 2 years ago

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


PyGithub (https://github.com/PyGithub/PyGithub)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- tests/GithubIntegration.py:7: error: Cannot find implementation or library stub for module named "jwt"
- tests/GithubIntegration.py:7: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

python-sop (https://gitlab.com/dkg/python-sop)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- sop/__init__.py:224: error: Missing type parameters for generic type "_SubParsersAction"
- sop/__init__.py:387: error: Missing type parameters for generic type "_SubParsersAction"

xarray (https://github.com/pydata/xarray)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- xarray/core/npcompat.py:35: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/rolling_exp.py:6: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/dask_array_compat.py:4: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/duck_array_ops.py:23: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/indexing.py:11: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/plot/plot.py:13: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/core/missing.py:9: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/coding/cftimeindex.py:49: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/backends/h5netcdf_.py:6: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/backends/h5netcdf_.py:6: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- xarray/tests/__init__.py:11: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_sparse.py:7: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_dataarray.py:10: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_computation.py:9: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_combine.py:6: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_cftimeindex.py:7: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_backends.py:20: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- xarray/tests/test_dask.py:10: error: Cannot find implementation or library stub for module named "packaging.version"  [import]

dacite (https://github.com/konradhalas/dacite)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

black (https://github.com/psf/black)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

bidict (https://github.com/jab/bidict)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- bidict/_mut.py:147: error: Signature of "update" incompatible with supertype "MutableMapping"  [override]
- bidict/_mut.py:147: note:      Superclass:
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, SupportsKeysAndGetItem[KT, VT], **kwargs: VT) -> None
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, Iterable[Tuple[KT, VT]], **kwargs: VT) -> None
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, **kwargs: VT) -> None
- bidict/_mut.py:147: note:      Subclass:
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, Mapping[KT, VT], **kw: VT) -> None
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, Iterable[Tuple[KT, VT]], **kw: VT) -> None
- bidict/_mut.py:147: note:          @overload
- bidict/_mut.py:147: note:          def update(self, **kw: VT) -> None

aiortc (https://github.com/aiortc/aiortc)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- src/aiortc/rtcdtlstransport.py:186: error: Unused "type: ignore" comment
- src/aiortc/rtcdtlstransport.py:211: error: Unused "type: ignore" comment
- src/aiortc/rtcdtlstransport.py:212: error: Unused "type: ignore" comment

sockeye (https://github.com/awslabs/sockeye)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

dedupe (https://github.com/dedupeio/dedupe)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

websockets (https://github.com/aaugustin/websockets)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- src/websockets/datastructures.py:137: error: Signature of "update" incompatible with supertype "MutableMapping"
- src/websockets/datastructures.py:137: note:      Superclass:
- src/websockets/datastructures.py:137: note:          @overload
- src/websockets/datastructures.py:137: note:          def update(self, SupportsKeysAndGetItem[str, str], **kwargs: str) -> None
- src/websockets/datastructures.py:137: note:          @overload
- src/websockets/datastructures.py:137: note:          def update(self, Iterable[Tuple[str, str]], **kwargs: str) -> None
- src/websockets/datastructures.py:137: note:          @overload
- src/websockets/datastructures.py:137: note:          def update(self, **kwargs: str) -> None
- src/websockets/datastructures.py:137: note:      Subclass:
- src/websockets/datastructures.py:137: note:          def update(self, *args: Union[Headers, Mapping[str, str], Iterable[Tuple[str, str]]], **kwargs: str) -> None

pegen (https://github.com/we-like-parsers/pegen)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

rich (https://github.com/willmcgugan/rich)
- rich/_windows.py:33: error: Statement is unreachable
- rich/style.py:726: error: Statement is unreachable
- rich/console.py:1823: error: Incompatible return value type (got "Tuple[str, Optional[int], Dict[str, Any]]", expected "Tuple[str, int, Dict[str, Any]]")
- rich/live.py:172: error: Subclass of "TextIO" and "FileProxy" cannot exist: would have incompatible method signatures
- rich/live.py:175: error: Subclass of "TextIO" and "FileProxy" cannot exist: would have incompatible method signatures
+ Traceback (most recent call last):
+   File "/tmp/mypy_primer/new_mypy/venv/bin/mypy", line 8, in <module>
+     sys.exit(console_entry())
+   File "/tmp/mypy_primer/new_mypy/venv/lib/python3.10/site-packages/mypy/__main__.py", line 12, in console_entry
+     main(None, sys.stdout, sys.stderr)
+   File "mypy/main.py", line 70, in main
+   File "mypy/main.py", line 1039, in process_options
+   File "mypy/modulefinder.py", line 147, in __init__
+     if level <= self.debug:
+   File "mypy/modulefinder.py", line 818, in load_stdlib_py_versions
+ AssertionError: ('/tmp/mypy_primer/new_typeshed/typeshed_to_test', '/tmp/mypy_primer/new_typeshed/typeshed_to_test/stdlib/VERSIONS', '/tmp/mypy_primer/new_mypy/venv/lib/python3.10/site-packages/mypy/modulefinder.cpython-310-x86_64-linux-gnu.so')

twine (https://github.com/pypa/twine)
- Warning: unused section(s) in mypy.ini: [mypy-tests.*]
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

dulwich (https://github.com/dulwich/dulwich)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

scipy (https://github.com/scipy/scipy)
- mypy.ini:5: error: Error importing plugin "numpy.typing.mypy_plugin": No module named 'numpy'  [misc]
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

zulip (https://github.com/zulip/zulip)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- Warning: unused section(s) in pyproject.toml: module = ['coverage.*', 'natsort.*', 'netifaces.*', 'pyinotify.*', 'sphinx_rtd_theme.*']
- tools/linter_lib/pep8.py:3: error: Cannot find implementation or library stub for module named "zulint.linters"  [import]
- tools/linter_lib/pep8.py:4: error: Cannot find implementation or library stub for module named "zulint.printer"  [import]
- tools/linter_lib/custom_check.py:3: error: Cannot find implementation or library stub for module named "zulint.custom_rules"  [import]
- zerver/lib/html_diff.py:3: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/html_diff.py:4: error: Cannot find implementation or library stub for module named "lxml.html.diff"  [import]
- tools/setup/generate_zulip_bots_static_files.py:15: error: Cannot find implementation or library stub for module named "zulip_bots.lib"  [import]
- tools/linter_lib/pyflakes.py:4: error: Cannot find implementation or library stub for module named "zulint.linters"  [import]
- tools/lib/pretty_print.py:4: error: Cannot find implementation or library stub for module named "zulint.printer"  [import]
- zerver/migrations/0257_fix_has_link_attribute.py:5: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/migrations/0244_message_copy_pub_date_to_date_sent.py:7: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/migrations/0239_usermessage_copy_id_to_bigint_id.py:9: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/migrations/0149_realm_emoji_drop_unique_constraint.py:4: error: Cannot find implementation or library stub for module named "boto3"  [import]
- zerver/migrations/0149_realm_emoji_drop_unique_constraint.py:9: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.type_defs"  [import]
- zerver/migrations/0102_convert_muted_topic.py:6: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/migrate.py:5: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/db.py:16: error: Cannot find implementation or library stub for module named "psycopg2.extensions"  [import]
- zerver/lib/db.py:17: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py:13: error: Cannot find implementation or library stub for module named "twisted.python.failure"  [import]
- zerver/lib/sqlalchemy_utils.py:3: error: Cannot find implementation or library stub for module named "sqlalchemy"  [import]
- zerver/lib/sqlalchemy_utils.py:20: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:21: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:22: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:24: error: Unused "type: ignore" comment
- zerver/lib/sqlalchemy_utils.py:25: error: Unused "type: ignore" comment
- tools/tests/test_zulint_custom_rules.py:6: error: Cannot find implementation or library stub for module named "zulint.custom_rules"  [import]
- zerver/openapi/openapi.py:13: error: Cannot find implementation or library stub for module named "jsonschema.exceptions"  [import]
- zerver/openapi/javascript_examples.py:11: error: Cannot find implementation or library stub for module named "zulip"  [import]
- zerver/lib/markdown/fenced_code.py:81: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/markdown/fenced_code.py:81: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/markdown/fenced_code.py:87: error: Cannot find implementation or library stub for module named "pygments.lexers"  [import]
- zerver/lib/markdown/fenced_code.py:88: error: Cannot find implementation or library stub for module named "pygments.util"  [import]
- tools/oneclickapps/prepare_digital_ocean_one_click_app_release.py:8: error: Cannot find implementation or library stub for module named "zulip"  [import]
- tools/oneclickapps/prepare_digital_ocean_one_click_app_release.py:10: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/lib/outgoing_http.py:4: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/lib/queue.py:10: error: Cannot find implementation or library stub for module named "pika"  [import]
- zerver/lib/queue.py:11: error: Cannot find implementation or library stub for module named "pika.adapters.tornado_connection"  [import]
- zerver/lib/queue.py:11: error: Cannot find implementation or library stub for module named "pika.adapters"  [import]
- zerver/lib/queue.py:12: error: Cannot find implementation or library stub for module named "pika.connection"  [import]
- zerver/lib/queue.py:13: error: Cannot find implementation or library stub for module named "pika.exceptions"  [import]
- zerver/lib/queue.py:15: error: Cannot find implementation or library stub for module named "pika.adapters.blocking_connection"  [import]
- zerver/lib/queue.py:16: error: Cannot find implementation or library stub for module named "pika.channel"  [import]
- zerver/lib/queue.py:17: error: Cannot find implementation or library stub for module named "pika.spec"  [import]
- zerver/lib/queue.py:218: error: Unused "type: ignore" comment
- zerver/lib/queue.py:234: error: Unused "type: ignore" comment
- zerver/lib/url_preview/preview.py:5: error: Cannot find implementation or library stub for module named "magic"  [import]
- zerver/openapi/python_examples.py:21: error: Cannot find implementation or library stub for module named "zulip"  [import]
- zerver/lib/soft_deactivation.py:10: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- analytics/lib/counts.py:10: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/tornado/django_api.py:10: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/lib/upload.py:16: error: Cannot find implementation or library stub for module named "boto3"  [import]
- zerver/lib/upload.py:17: error: Cannot find implementation or library stub for module named "botocore"  [import]
- zerver/lib/upload.py:18: error: Cannot find implementation or library stub for module named "boto3.session"  [import]
- zerver/lib/upload.py:19: error: Cannot find implementation or library stub for module named "botocore.client"  [import]
- zerver/lib/upload.py:26: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- zerver/lib/upload.py:27: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.client"  [import]
- zerver/lib/upload.py:28: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.service_resource"  [import]
- zerver/lib/upload.py:29: error: Cannot find implementation or library stub for module named "PIL"  [import]
- zerver/lib/upload.py:30: error: Cannot find implementation or library stub for module named "PIL.GifImagePlugin"  [import]
- zerver/lib/upload.py:31: error: Cannot find implementation or library stub for module named "PIL.Image"  [import]
- zerver/lib/upload.py:153: error: Unused "type: ignore" comment
- zerver/lib/send_email.py:12: error: Cannot find implementation or library stub for module named "backoff"  [import]
- zerver/lib/send_email.py:296: error: Unused "type: ignore" comment
- zerver/lib/topic.py:7: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/lib/topic.py:8: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/lib/retention.py:38: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/topic_mutes.py:5: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/lib/topic_mutes.py:6: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/lib/export.py:25: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.service_resource"  [import]
- zerver/lib/markdown/__init__.py:34: error: Cannot find implementation or library stub for module named "lxml.etree"  [import]
- zerver/lib/markdown/__init__.py:34: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/middleware.py:33: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/middleware.py:34: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.logging"  [import]
- zerver/lib/users.py:12: error: Cannot find implementation or library stub for module named "zulip_bots.custom_exceptions"  [import]
- zerver/lib/templates.py:14: error: Cannot find implementation or library stub for module named "jinja2.exceptions"  [import]
- zerver/lib/message.py:14: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/push_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/push_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/email_notifications.py:11: error: Cannot find implementation or library stub for module named "html2text"  [import]
- zerver/lib/email_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/email_notifications.py:12: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/lib/actions.py:40: error: Cannot find implementation or library stub for module named "psycopg2.extras"  [import]
- zerver/lib/actions.py:41: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zproject/backends.py:22: error: Cannot find implementation or library stub for module named "magic"  [import]
- zproject/backends.py:36: error: Cannot find implementation or library stub for module named "lxml.etree"  [import]
- zerver/views/video_calls.py:21: error: Cannot find implementation or library stub for module named "oauthlib.oauth2"  [import]
- zerver/views/video_calls.py:246: error: Unused "type: ignore" comment
- zerver/lib/bot_lib.py:7: error: Cannot find implementation or library stub for module named "zulip_bots.lib"  [import]
- zerver/forms.py:17: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- zerver/lib/test_helpers.py:27: error: Cannot find implementation or library stub for module named "boto3"  [import]
- zerver/lib/test_helpers.py:39: error: Cannot find implementation or library stub for module named "mypy_boto3_s3.service_resource"  [import]
- zerver/views/message_fetch.py:12: error: Cannot find implementation or library stub for module named "sqlalchemy.dialects"  [import]
- zerver/views/message_fetch.py:13: error: Cannot find implementation or library stub for module named "sqlalchemy.engine"  [import]
- zerver/views/message_fetch.py:14: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/views/message_fetch.py:32: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/views/auth.py:8: error: Cannot find implementation or library stub for module named "jwt"  [import]
- zerver/views/auth.py:27: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- zerver/lib/test_classes.py:27: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/lib/test_classes.py:27: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/worker/queue_processors.py:37: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/worker/queue_processors.py:47: error: Cannot find implementation or library stub for module named "zulip_bots.lib"  [import]
- corporate/tests/test_stripe.py:16: error: Cannot find implementation or library stub for module named "responses"  [import]
- analytics/tests/test_counts.py:10: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- tools/setup/generate_integration_bots_avatars.py:20: error: Cannot find implementation or library stub for module named "PIL"  [import]
- zproject/sentry.py:3: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zproject/sentry.py:5: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.django"  [import]
- zproject/sentry.py:6: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.logging"  [import]
- zproject/sentry.py:7: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.redis"  [import]
- zproject/sentry.py:8: error: Cannot find implementation or library stub for module named "sentry_sdk.integrations.sqlalchemy"  [import]
- zproject/sentry.py:9: error: Cannot find implementation or library stub for module named "sentry_sdk.utils"  [import]
- zproject/sentry.py:14: error: Cannot find implementation or library stub for module named "sentry_sdk._types"  [import]
- zproject/jinja2/__init__.py:9: error: Cannot find implementation or library stub for module named "jinja2"  [import]
- zproject/jinja2/__init__.py:33: error: Unused "type: ignore" comment
- zerver/logging_handlers.py:14: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/tests/test_upload.py:12: error: Cannot find implementation or library stub for module named "botocore.exceptions"  [import]
- zerver/tests/test_upload.py:12: error: Cannot find implementation or library stub for module named "botocore"  [import]
- zerver/tests/test_upload.py:18: error: Cannot find implementation or library stub for module named "PIL"  [import]
- zerver/tests/test_realm_export.py:4: error: Cannot find implementation or library stub for module named "botocore.exceptions"  [import]
- zerver/tests/test_realm_export.py:4: error: Cannot find implementation or library stub for module named "botocore"  [import]
- zerver/tests/test_queue.py:6: error: Cannot find implementation or library stub for module named "pika.exceptions"  [import]
- zerver/tests/test_push_notifications.py:12: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_outgoing_webhook_system.py:6: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_outgoing_http.py:6: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_outgoing_http.py:7: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/tests/test_outgoing_http.py:28: error: Unused "type: ignore" comment
- zerver/tests/test_outgoing_http.py:44: error: Unused "type: ignore" comment
- zerver/tests/test_openapi.py:11: error: Cannot find implementation or library stub for module named "jsonschema.exceptions"  [import]
- zerver/tests/test_message_fetch.py:11: error: Cannot find implementation or library stub for module named "sqlalchemy.sql"  [import]
- zerver/tests/test_message_fetch.py:12: error: Cannot find implementation or library stub for module named "sqlalchemy.types"  [import]
- zerver/tests/test_link_embed.py:7: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_internet.py:2: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_github.py:2: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_email_notifications.py:10: error: Cannot find implementation or library stub for module named "lxml.html"  [import]
- zerver/tests/test_email_notifications.py:10: error: Cannot find implementation or library stub for module named "lxml"  [import]
- zerver/tests/test_create_video_call.py:3: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_bots.py:9: error: Cannot find implementation or library stub for module named "zulip_bots.custom_exceptions"  [import]
- zerver/tests/test_auth_backends.py:14: error: Cannot find implementation or library stub for module named "jwt"  [import]
- zerver/tests/test_auth_backends.py:18: error: Cannot find implementation or library stub for module named "responses"  [import]
- zerver/tests/test_auth_backends.py:30: error: Cannot find implementation or library stub for module named "jwt.exceptions"  [import]
- zerver/openapi/test_curl_examples.py:17: error: Cannot find implementation or library stub for module named "zulip"  [import]
- zerver/management/commands/process_queue.py:14: error: Cannot find implementation or library stub for module named "sentry_sdk"  [import]
- zerver/lib/import_realm.py:15: error: Cannot find implementation or library stub for module named "psycopg2.extras"  [import]
- zerver/lib/import_realm.py:16: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/lib/fix_unreads.py:7: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- zerver/management/commands/fetch_tor_exit_nodes.py:7: error: Cannot find implementation or library stub for module named "requests.packages.urllib3.util.retry"  [import]
- zerver/data_import/mattermost.py:425: error: Cannot find implementation or library stub for module named "html2text"  [import]
- zerver/data_import/mattermost.py:425: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- analytics/views/activity_common.py:12: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- analytics/views/realm_activity.py:10: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]
- tools/lib/provision_inner.py:12: error: Cannot find implementation or library stub for module named "pygments"  [import]
- tools/lib/provision_inner.py:27: error: Unused "type: ignore" comment
- zerver/tests/test_slack_importer.py:10: error: Cannot find implementation or library stub for module named "responses"  [import]
- analytics/views/installation_activity.py:13: error: Cannot find implementation or library stub for module named "jinja2.utils"  [import]
- analytics/views/installation_activity.py:14: error: Cannot find implementation or library stub for module named "psycopg2.sql"  [import]

jax (https://github.com/google/jax)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- jax/experimental/jax2tf/converters_eval/converters_eval_main.py:40: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
- jax/_src/lib/mlir/dialects/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/mlir/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:37: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:37: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- jax/_src/lib/__init__.py:46: error: Cannot find implementation or library stub for module named "jaxlib.version"  [import]
- jax/_src/lib/__init__.py:71: error: Cannot find implementation or library stub for module named "jaxlib.cpu_feature_guard"  [import]
- jax/_src/lib/__init__.py:74: error: Cannot find implementation or library stub for module named "jaxlib.xla_client"  [import]
- jax/_src/lib/__init__.py:75: error: Cannot find implementation or library stub for module named "jaxlib.lapack"  [import]
- jax/_src/lib/__init__.py:76: error: Cannot find implementation or library stub for module named "jaxlib.pocketfft"  [import]
- jax/_src/lib/__init__.py:84: error: Cannot find implementation or library stub for module named "jaxlib.cusolver"  [import]
- jax/_src/lib/__init__.py:89: error: Cannot find implementation or library stub for module named "jaxlib.cusparse"  [import]
- jax/_src/lib/__init__.py:94: error: Cannot find implementation or library stub for module named "jaxlib.rocsolver"  [import]
- jax/_src/lib/__init__.py:99: error: Cannot find implementation or library stub for module named "jaxlib.cuda_prng"  [import]
- jax/_src/lib/__init__.py:104: erro```
github-actions[bot] commented 2 years ago

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

python-sop (https://gitlab.com/dkg/python-sop)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- sop/__init__.py:224: error: Missing type parameters for generic type "_SubParsersAction"
- sop/__init__.py:387: error: Missing type parameters for generic type "_SubParsersAction"

ignite (https://github.com/pytorch/ignite)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- ignite/distributed/comp_models/base.py:5: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/engine/events.py:7: error: Cannot find implementation or library stub for module named "torch.utils.data"  [import]
- ignite/engine/engine.py:11: error: Cannot find implementation or library stub for module named "torch.utils.data"  [import]
- ignite/utils.py:11: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/distributed/comp_models/xla.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/distributed/comp_models/native.py:7: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/distributed/comp_models/native.py:8: error: Cannot find implementation or library stub for module named "torch.distributed"  [import]
- ignite/distributed/comp_models/native.py:9: error: Cannot find implementation or library stub for module named "torch.multiprocessing"  [import]
- ignite/distributed/comp_models/native.py:10: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- ignite/distributed/comp_models/horovod.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/engine/deterministic.py:7: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/engine/deterministic.py:8: error: Cannot find implementation or library stub for module named "torch.utils.data"  [import]
- ignite/engine/deterministic.py:9: error: Cannot find implementation or library stub for module named "torch.utils.data.sampler"  [import]
- ignite/engine/deterministic.py:38: error: Class cannot subclass "BatchSampler" (has type "Any")  [misc]
- ignite/engine/deterministic.py:212: error: Cannot find implementation or library stub for module named "torch.utils.data.dataloader"  [import]
- ignite/engine/deterministic.py:227: error: Unused "type: ignore" comment
- ignite/engine/deterministic.py:254: error: Unused "type: ignore" comment
- ignite/engine/deterministic.py:259: error: Unused "type: ignore" comment
- ignite/distributed/utils.py:5: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/distributed/auto.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/distributed/auto.py:5: error: Cannot find implementation or library stub for module named "torch.nn"  [import]
- ignite/distributed/auto.py:6: error: Cannot find implementation or library stub for module named "torch.optim.optimizer"  [import]
- ignite/distributed/auto.py:7: error: Cannot find implementation or library stub for module named "torch.utils.data"  [import]
- ignite/distributed/auto.py:8: error: Cannot find implementation or library stub for module named "torch.utils.data.distributed"  [import]
- ignite/distributed/auto.py:9: error: Cannot find implementation or library stub for module named "torch.utils.data.sampler"  [import]
- ignite/distributed/auto.py:282: error: Class cannot subclass "DistributedSampler" (has type "Any")  [misc]
- ignite/distributed/auto.py:308: error: Unused "type: ignore" comment
- ignite/distributed/auto.py:351: error: Class cannot subclass "Optimizer" (has type "Any")  [misc]
- ignite/distributed/auto.py:353: error: Unused "type: ignore" comment
- ignite/metrics/top_k_categorical_accuracy.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/ssim.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/ssim.py:4: error: Cannot find implementation or library stub for module named "torch.nn.functional"  [import]
- ignite/metrics/ssim.py:4: error: Cannot find implementation or library stub for module named "torch.nn"  [import]
- ignite/metrics/running_average.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/root_mean_squared_error.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/recall.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/psnr.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/precision.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/precision.py:142: error: Unused "type: ignore" comment
- ignite/metrics/precision.py:143: error: Unused "type: ignore" comment
- ignite/metrics/precision.py:145: error: Unused "type: ignore" comment
- ignite/metrics/multilabel_confusion_matrix.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/metrics_lambda.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/metric.py:7: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/metric.py:267: error: Untyped decorator makes function "iteration_completed" untyped  [misc]
- ignite/metrics/mean_squared_error.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/mean_pairwise_distance.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/mean_pairwise_distance.py:4: error: Cannot find implementation or library stub for module named "torch.nn.functional"  [import]
- ignite/metrics/mean_absolute_error.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/loss.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/frequency.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/fbeta.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/epoch_metric.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/confusion_matrix.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/classification_report.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/accuracy.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/accumulation.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/nlp/rouge.py:5: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/nlp/bleu.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/gan/utils.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/gan/utils.py:8: error: Class cannot subclass "Module" (has type "Any")  [misc]
- ignite/metrics/gan/utils.py:33: error: Untyped decorator makes function "forward" untyped  [misc]
- ignite/metrics/gan/utils.py:64: error: Cannot determine type of "_feature_extractor"  [has-type]
- ignite/metrics/gan/inception_score.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/gan/fid.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/metrics/gan/fid.py:5: error: Cannot find implementation or library stub for module named "packaging.version"  [import]
- ignite/engine/__init__.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/engine/__init__.py:166: error: Cannot find implementation or library stub for module named "torch.cuda.amp"  [import]
- ignite/engine/__init__.py:375: error: Unused "type: ignore" comment
- ignite/handlers/time_profilers.py:5: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/handlers/terminate_on_nan.py:5: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/handlers/param_scheduler.py:12: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/handlers/param_scheduler.py:13: error: Cannot find implementation or library stub for module named "torch.optim.lr_scheduler"  [import]
- ignite/handlers/param_scheduler.py:14: error: Cannot find implementation or library stub for module named "torch.optim.optimizer"  [import]
- ignite/handlers/param_scheduler.py:875: error: Unused "type: ignore" comment
- ignite/handlers/param_scheduler.py:877: error: Unused "type: ignore" comment
- ignite/handlers/param_scheduler.py:1411: error: Unused "type: ignore" comment
- ignite/handlers/param_scheduler.py:1413: error: Unused "type: ignore" comment
- ignite/handlers/param_scheduler.py:1544: error: Unused "type: ignore" comment
- ignite/handlers/checkpoint.py:12: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/handlers/checkpoint.py:13: error: Cannot find implementation or library stub for module named "torch.nn"  [import]
- ignite/handlers/ema_handler.py:5: error: Cannot find implementation or library stub for module named "torch.nn"  [import]
- ignite/handlers/ema_handler.py:5: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/handlers/lr_finder.py:10: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/handlers/lr_finder.py:11: error: Cannot find implementation or library stub for module named "torch.optim"  [import]
- ignite/handlers/lr_finder.py:12: error: Cannot find implementation or library stub for module named "torch.optim.lr_scheduler"  [import]
- ignite/handlers/lr_finder.py:476: error: Class cannot subclass "_LRScheduler" (has type "Any")  [misc]
- ignite/handlers/lr_finder.py:498: error: Unused "type: ignore" comment
- ignite/contrib/metrics/roc_auc.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/precision_recall_curve.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/gpu_info.py:5: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/cohen_kappa.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/average_precision.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/median_relative_absolute_error.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/median_absolute_percentage_error.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/median_absolute_error.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/_base.py:4: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/handlers/base_logger.py:8: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/handlers/base_logger.py:9: error: Cannot find implementation or library stub for module named "torch.nn"  [import]
- ignite/contrib/handlers/base_logger.py:10: error: Cannot find implementation or library stub for module named "torch.optim"  [import]
- ignite/contrib/engines/tbptt.py:5: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/engines/tbptt.py:6: error: Cannot find implementation or library stub for module named "torch.nn"  [import]
- ignite/contrib/engines/tbptt.py:7: error: Cannot find implementation or library stub for module named "torch.optim.optimizer"  [import]
- ignite/contrib/metrics/regression/wave_hedges_distance.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/r2_score.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/mean_normalized_bias.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/mean_error.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/mean_absolute_relative_error.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/maximum_absolute_error.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/manhattan_distance.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/geometric_mean_relative_absolute_error.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/geometric_mean_absolute_error.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/fractional_bias.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/fractional_absolute_error.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/metrics/regression/canberra_metric.py:3: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/handlers/wandb_logger.py:4: error: Cannot find implementation or library stub for module named "torch.optim"  [import]
- ignite/contrib/handlers/wandb_logger.py:126: error: Cannot find implementation or library stub for module named "wandb"  [import]
- ignite/contrib/handlers/wandb_logger.py:138: error: Unused "type: ignore" comment
- ignite/contrib/handlers/visdom_logger.py:5: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/handlers/visdom_logger.py:6: error: Cannot find implementation or library stub for module named "torch.nn"  [import]
- ignite/contrib/handlers/visdom_logger.py:7: error: Cannot find implementation or library stub for module named "torch.optim"  [import]
- ignite/contrib/handlers/visdom_logger.py:151: error: Cannot find implementation or library stub for module named "visdom"  [import]
- ignite/contrib/handlers/visdom_logger.py:188: error: Unused "type: ignore" comment
- ignite/contrib/handlers/visdom_logger.py:196: error: Unused "type: ignore" comment
- ignite/contrib/handlers/visdom_logger.py:241: error: Unused "type: ignore" comment
- ignite/contrib/handlers/tensorboard_logger.py:4: error: Cannot find implementation or library stub for module named "torch.optim"  [import]
- ignite/contrib/handlers/tensorboard_logger.py:153: error: Unused "type: ignore" comment
- ignite/contrib/handlers/tensorboard_logger.py:153: error: Cannot find implementation or library stub for module named "torch.utils.tensorboard"  [import]
- ignite/contrib/handlers/tensorboard_logger.py:153: note: Error code "import" not covered by "type: ignore" comment
- ignite/contrib/handlers/polyaxon_logger.py:4: error: Cannot find implementation or library stub for module named "torch.optim"  [import]
- ignite/contrib/handlers/neptune_logger.py:5: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/handlers/neptune_logger.py:6: error: Cannot find implementation or library stub for module named "torch.optim"  [import]
- ignite/contrib/handlers/mlflow_logger.py:5: error: Cannot find implementation or library stub for module named "torch.optim"  [import]
- ignite/contrib/handlers/clearml_logger.py:10: error: Cannot find implementation or library stub for module named "torch.optim"  [import]
- ignite/contrib/engines/common.py:6: error: Cannot find implementation or library stub for module named "torch"  [import]
- ignite/contrib/engines/common.py:6: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- ignite/contrib/engines/common.py:7: error: Cannot find implementation or library stub for module named "torch.nn"  [import]
- ignite/contrib/engines/common.py:8: error: Cannot find implementation or library stub for module named "torch.optim.lr_scheduler"  [import]
- ignite/contrib/engines/common.py:9: error: Cannot find implementation or library stub for module named "torch.optim.optimizer"  [import]
- ignite/contrib/engines/common.py:10: error: Cannot find implementation or library stub for module named "torch.utils.data.distributed"  [import]

dacite (https://github.com/konradhalas/dacite)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

more-itertools (https://github.com/more-itertools/more-itertools)
- Warning: unused section(s) in setup.cfg: [mypy-tests.*]
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

bidict (https://github.com/jab/bidict)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

aiortc (https://github.com/aiortc/aiortc)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- src/aiortc/rtp.py:326: error: Incompatible types in assignment (expression has type "float", variable has type "int")
- src/aiortc/rtp.py:326: error: "AudioFrame" has no attribute "samples"
- src/aiortc/contrib/media.py:236: error: Call to untyped function "stop" in typed context
- src/aiortc/contrib/media.py:239: error: "Frame" has no attribute "time"
- src/aiortc/codecs/h264.py:282: error: "VideoFrame" has no attribute "pict_type"
- src/aiortc/codecs/h264.py:282: error: Module has no attribute "video"
- src/aiortc/rtcrtpreceiver.py:498: error: Invalid index type "Union[int, str, None]" for "Dict[int, RTCRtpCodecParameters]"; expected type "int"
- src/aiortc/rtcpeerconnection.py:92: error: Invalid index type "Union[int, str, None]" for "Dict[int, RTCRtpCodecParameters]"; expected type "int"
- src/aiortc/rtcpeerconnection.py:138: error: Argument 1 to "parse_h264_profile_level_id" has incompatible type "Union[int, str]"; expected "str"
- src/aiortc/rtcpeerconnection.py:1135: error: Invalid index type "Union[int, str]" for "Dict[int, RTCRtpDecodingParameters]"; expected type "int"

pycryptodome (https://github.com/Legrandin/pycryptodome)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

websockets (https://github.com/aaugustin/websockets)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

dedupe (https://github.com/dedupeio/dedupe)
- pyproject.toml:1: error: Error importing plugin "numpy.typing.mypy_plugin": No module named 'numpy'
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

pegen (https://github.com/we-like-parsers/pegen)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

PyGithub (https://github.com/PyGithub/PyGithub)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- tests/GithubIntegration.py:7: error: Cannot find implementation or library stub for module named "jwt"
- tests/GithubIntegration.py:7: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports

sockeye (https://github.com/awslabs/sockeye)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

dulwich (https://github.com/dulwich/dulwich)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)

cloud-init (https://github.com/canonical/cloud-init)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- tests/hypothesis_jsonschema.py:2: error: Cannot find implementation or library stub for module named "hypothesis_jsonschema"
- tests/hypothesis_jsonschema.py:8: error: Unused "type: ignore" comment
- tests/hypothesis.py:2: error: Cannot find implementation or library stub for module named "hypothesis"
- tests/hypothesis.py:2: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- tests/hypothesis.py:10: error: Unused "type: ignore" comment

pytest (https://github.com/pytest-dev/pytest)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- src/_pytest/_io/terminalwriter.py:74: error: Incompatible types in assignment (expression has type "StreamWrapper", variable has type "Optional[TextIO]")  [assignment]
- testing/test_assertion.py:1000: error: No overload variant matches argument type "bool"  [call-overload]
- testing/test_assertion.py:1000: note: Possible overload variants:
- testing/test_assertion.py:1000: note:     def [_C <: type] attrs(maybe_cls: _C, these: Optional[Dict[str, Any]] = ..., repr_ns: Optional[str] = ..., repr: bool = ..., cmp: Optional[bool] = ..., hash: Optional[bool] = ..., init: bool = ..., slots: bool = ..., frozen: bool = ..., weakref_slot: bool = ..., str: bool = ..., auto_attribs: bool = ..., kw_only: bool = ..., cache_hash: bool = ..., auto_exc: bool = ..., eq: Optional[bool] = ..., order: Optional[bool] = ...) -> _C
- testing/test_assertion.py:1000: note:     def attrs(maybe_cls: None = ..., these: Optional[Dict[str, Any]] = ..., repr_ns: Optional[str] = ..., repr: bool = ..., cmp: Optional[bool] = ..., hash: Optional[bool] = ..., init: bool = ..., slots: bool = ..., frozen: bool = ..., weakref_slot: bool = ..., str: bool = ..., auto_attribs: bool = ..., kw_only: bool = ..., cache_hash: bool = ..., auto_exc: bool = ..., eq: Optional[bool] = ..., order: Optional[bool] = ...) -> Callable[[_C], _C]
- testing/test_assertion.py:1016: error: Module has no attribute "define"  [attr-defined]
- testing/test_assertion.py:1023: error: Too many arguments for "SimpleDataObject"  [call-arg]
- testing/test_assertion.py:1024: error: Too many arguments for "SimpleDataObject"  [call-arg]

jax (https://github.com/google/jax)
+ error: --custom-typeshed-dir does not point to a valid typeshed (/tmp/mypy_primer/new_typeshed/typeshed_to_test)
- jax/experimental/jax2tf/converters_eval/test_models/flax/cnn.py:19: error: Cannot find implementation or library stub for module named "flax"  [import]
- jax/_src/lib/mlir/dialects/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/mlir/__init__.py:16: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/experimental/compilation_cache/gfile_cache.py:19: error: Cannot find implementation or library stub for module named "etils"  [import]
- jax/_src/debugger/colab_lib.py:29: error: Cannot find implementation or library stub for module named "google.colab"  [import]
- jax/_src/debugger/colab_lib.py:30: error: Cannot find implementation or library stub for module named "IPython"  [import]
- jax/experimental/jax2tf/converters_eval/models_test.py:36: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval"  [import]
- jax/experimental/jax2tf/converters_eval/models_test.py:42: error: Cannot find implementation or library stub for module named "jax.experimental.jax2tf.converters_eval.models"  [import]
- jax/_src/lib/__init__.py:38: error: Cannot find implementation or library stub for module named "jaxlib"  [import]
- jax/_src/lib/__init__.py:48: error: Cannot find implementation or library stub for module named "jaxlib.version"  [import]
- jax/_src/lib/__init__.py:97: error: Cannot find implementation or library stub for module named "jaxlib.cpu_feature_guard"  [import]
- jax/_src/lib/__init__.py:100: error: Cannot find implementation or library stub for module named "jaxlib.xla_client"  [import]
- jax/_src/lib/__init__.py:101: error: Cannot find implementation or library stub for module named "jaxlib.lapack"  [import]
- jax/_src/lib/__init__.py:102: error: Cannot find implementation or library stub for module named "jaxlib.pocketfft"  [import]
- jax/_src/lib/__init__.py:109: error: Cannot find implementation or library stub for module named "jaxlib.gpu_solver"  [import]
- jax/_src/lib/__init__.py:110: error: Cannot find implementation or library stub for module named "jaxlib.gpu_sparse"  [import]
- jax/_src/lib/__init__.py:111: error: Cannot find implementation or library stub for module named "jaxlib.gpu_prng"  [import]
- jax/_src/lib/__init__.py:112: error: Cannot find implementation or library stub for module named "jaxlib.gpu_linalg"  [import]
- jax/_src/pretty_printer.py:38: error: Incompatible types in assignment (expression has type "None", variable has type Module)  [assignment]
- jax/interpreters/mlir.py:96: error: Name "Traceback" is not defined  [name-defined]
- jax/interpreters/mlir.py:1422: error: Variable "jax._src.lib.xla_bridge.XlaBackend" is not valid as a type  [valid-type]
- jax/interpreters/mlir.py:1422: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:31: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:31: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:37: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:37: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:45: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:45: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:54: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:54: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:60: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:60: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:71: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:71: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:102: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:102: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:166: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:166: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:170: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:170: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:177: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:177: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:217: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:217: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:232: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:232: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:236: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:236: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:239: error: Variable "jax.experimental.sharding.Device" is not valid as a type  [valid-type]
- jax/experimental/sharding.py:239: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- jax/experimental/sharding.py:252: error: Variable "jax.interpreters.pxla.ShardingSpec" is not valid as a type

... (truncated 12536 lines) ...