Draft
Conversation
This comment has been minimized.
This comment has been minimized.
Contributor
|
Diff from mypy_primer, showing the effect of this PR on open source code: kornia (https://github.com/kornia/kornia)
+ kornia/morphology/morphology.py:21: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ kornia/feature/defmo.py:20: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- kornia/augmentation/_2d/geometric/affine.py:20: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
pyinstrument (https://github.com/joerick/pyinstrument)
+ pyinstrument/vendor/appdirs.py:534: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
psycopg (https://github.com/psycopg/psycopg)
+ psycopg_pool/psycopg_pool/pool_async.py:140: error: Expected iterable as variadic argument [misc]
+ psycopg_pool/psycopg_pool/pool_async.py:140: error: Value of type "Coroutine[Any, Any, None]" must be used [unused-coroutine]
+ psycopg_pool/psycopg_pool/pool_async.py:140: note: Are you missing an await?
spark (https://github.com/apache/spark)
+ python/pyspark/sql/streaming/proto/StateMessage_pb2.pyi:39: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ python/pyspark/streaming/context.py:109: error: Incompatible types in assignment (expression has type "TransformFunctionSerializer", variable has type "None") [assignment]
+ python/pyspark/streaming/context.py:227: error: Incompatible types in assignment (expression has type "StreamingContext", variable has type "None") [assignment]
- python/pyspark/errors/exceptions/connect.py:48: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- python/pyspark/sql/connect/client/core.py:61: note: Hint: "python3 -m pip install types-grpcio-status"
- python/pyspark/sql/connect/client/core.py:61: note: (or run "mypy --install-types" to install all missing stub packages)
+ python/pyspark/pandas/datetimes.py:562: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/datetimes.py:570: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/frame.py:665: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/frame.py:665: error: Redundant cast to "InternalFrame" [redundant-cast]
+ python/pyspark/pandas/frame.py:665: note: Error code "redundant-cast" not covered by "type: ignore[has-type]" comment
+ python/pyspark/pandas/frame.py:1038: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/frame.py:1044: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/frame.py:1050: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/indexes/base.py:1611: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/indexes/category.py:101: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/indexes/category.py:637: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/indexes/datetimes.py:109: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/indexes/datetimes.py:859: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/indexes/multi.py:96: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/indexes/multi.py:143: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/indexes/multi.py:147: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/indexes/timedelta.py:94: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/indexes/timedelta.py:216: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/namespace.py:1608: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/namespace.py:1770: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
+ python/pyspark/pandas/namespace.py:1966: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/namespace.py:2041: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
+ python/pyspark/pandas/namespace.py:2814: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/namespace.py:2897: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/namespace.py:3601: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/series.py:3763: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/strings.py:805: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/strings.py:1017: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/strings.py:1024: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/strings.py:1031: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/strings.py:1038: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/strings.py:2403: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/utils.py:596: error: Function is missing a type annotation [no-untyped-def]
+ python/pyspark/pandas/utils.py:606: error: Function is missing a return type annotation [no-untyped-def]
+ python/pyspark/pandas/utils.py:611: error: Function is missing a return type annotation [no-untyped-def]
+ python/pyspark/pandas/utils.py:611: note: Use "-> None" if function does not return a value
+ python/pyspark/sql/connect/client/reattach.py:28: note: Hint: "python3 -m pip install types-grpcio-status"
+ python/pyspark/sql/connect/client/reattach.py:28: note: (or run "mypy --install-types" to install all missing stub packages)
+ python/pyspark/sql/connect/client/reattach.py:28: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
aiohttp-devtools (https://github.com/aio-libs/aiohttp-devtools)
+ tests/conftest.py:4: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ tests/test_runserver_config.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- aiohttp_devtools/runserver/serve.py:31: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/utilities/collections.py:504: error: "None" object is not iterable [misc]
+ src/prefect/utilities/collections.py:505: error: "None" object is not iterable [misc]
+ src/prefect/concurrency/v1/services.py:39: note: def acquire(self, UUID, float | None, Any, /) -> Coroutine[Any, Any, R?]
+ src/prefect/_internal/concurrency/api.py:182: error: Variable "prefect._internal.concurrency.api.T" is not valid as a type [valid-type]
+ src/prefect/_internal/concurrency/api.py:182: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ src/prefect/_internal/concurrency/api.py:183: error: "Call" expects no type arguments, but 1 given [type-arg]
+ src/prefect/_internal/concurrency/api.py:183: error: Variable "prefect._internal.concurrency.api.T" is not valid as a type [valid-type]
+ src/prefect/_internal/concurrency/api.py:183: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- src/prefect/_internal/concurrency/api.py:181: error: "Call" expects no type arguments, but 1 given [type-arg]
- src/prefect/_internal/concurrency/api.py:181: error: Variable "prefect._internal.concurrency.api.T" is not valid as a type [valid-type]
- src/prefect/_internal/concurrency/api.py:181: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
+ src/prefect/runner/runner.py:319: error: Incompatible return value type (got "EventsClient | None", expected "EventsClient") [return-value]
+ src/prefect/server/api/deployments.py:459: error: Unused "type: ignore" comment [unused-ignore]
- src/prefect/server/api/deployments.py:459: error: Invalid "type: ignore" comment [syntax]
- src/prefect/runner/runner.py:296: error: Cannot determine type of "_scheduled_run_poller" [has-type]
- src/prefect/runner/runner.py:302: error: Cannot determine type of "_scheduled_run_poller" [has-type]
- src/prefect/runner/runner.py:319: error: Cannot determine type of "_event_emitter" [has-type]
- src/prefect/runner/runner.py:658: error: Cannot determine type of "_scheduled_run_poller" [has-type]
- src/prefect/runner/runner.py:660: error: Cannot determine type of "_scheduled_run_poller" [has-type]
- src/prefect/runner/runner.py:674: error: Cannot determine type of "_cancellation_manager" [has-type]
- src/prefect/runner/runner.py:686: error: Cannot determine type of "_scheduled_run_poller" [has-type]
- src/prefect/runner/runner.py:687: error: Cannot determine type of "_scheduled_run_poller" [has-type]
- src/prefect/runner/runner.py:760: error: Cannot determine type of "_runs_task_group" [has-type]
- src/prefect/runner/runner.py:1234: error: Cannot determine type of "_cancellation_manager" [has-type]
- src/prefect/runner/runner.py:1342: error: Cannot determine type of "_event_emitter" [has-type]
- src/prefect/runner/runner.py:1350: error: Cannot determine type of "_event_emitter" [has-type]
- src/prefect/runner/runner.py:1478: error: Cannot determine type of "_state_proposer" [has-type]
- src/prefect/runner/runner.py:1481: error: Cannot determine type of "_state_proposer" [has-type]
- src/prefect/runner/runner.py:1486: error: Cannot determine type of "_state_proposer" [has-type]
- src/prefect/runner/runner.py:1538: error: Cannot determine type of "_state_proposer" [has-type]
- src/prefect/workers/base.py:30: error: Invalid "type: ignore" comment [syntax]
+ src/prefect/workers/base.py:30: error: Unused "type: ignore" comment [unused-ignore]
- src/prefect/concurrency/v1/services.py:39: note: def acquire(UUID, float | None, Any, /) -> Coroutine[Any, Any, R?]
setuptools (https://github.com/pypa/setuptools)
+ setuptools/tests/environment.py:7: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ setuptools/_path.py:8: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- setuptools/command/_requirestxt.py:18: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
porcupine (https://github.com/Akuli/porcupine)
+ porcupine/settings.py:20: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
strawberry (https://github.com/strawberry-graphql/strawberry)
+ strawberry/ext/mypy_plugin.py:33: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ strawberry/exceptions/syntax.py:5: note: (or run "mypy --install-types" to install all missing stub packages)
+ strawberry/fastapi/context.py:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- strawberry/channels/handlers/base.py:13: note: (or run "mypy --install-types" to install all missing stub packages)
- strawberry/aiohttp/views.py:11: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ strawberry/schema/types/base_scalars.py:7: note: (or run "mypy --install-types" to install all missing stub packages)
websockets (https://github.com/aaugustin/websockets)
- src/websockets/asyncio/client.py:685: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ src/websockets/trio/utils.py:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ src/websockets/sync/client.py:427: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
zope.interface (https://github.com/zopefoundation/zope.interface)
+ src/zope/interface/interfaces.py:18: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ src/zope/interface/document.py:19: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- src/zope/interface/__init__.py:53: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
operator (https://github.com/canonical/operator)
+ ops/_private/__init__.py:17: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- ops/lib/__init__.py:86: error: "None" has no attribute "get" [attr-defined]
+ ops/lib/__init__.py:86: error: Item "None" of "Any | None" has no attribute "get" [union-attr]
+ ops/pebble.py:75: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- ops/charm.py:137: error: Invalid "type: ignore" comment [syntax]
- ops/charm.py:137: error: Incompatible types in assignment (expression has type "str | None", variable has type "str") [assignment]
- ops/__init__.py:351: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
aiohttp (https://github.com/aio-libs/aiohttp)
+ aiohttp/worker.py:239:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ aiohttp/worker.py:239:1: note: See https://mypy.rtfd.io/en/stable/_refs.html#code-import-not-found for more info
colour (https://github.com/colour-science/colour)
- colour/characterisation/aces_it.py:975: error: Ellipses cannot accompany other parameter types in function type signature [syntax]
+ colour/utilities/tests/test_network.py:18: note: Hint: "python3 -m pip install types-networkx"
+ colour/utilities/tests/test_network.py:18: note: (or run "mypy --install-types" to install all missing stub packages)
+ colour/utilities/tests/test_network.py:18: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- colour/geometry/tests/test_section.py:156: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ colour/characterisation/aces_it.py:976: error: Unexpected "..." [misc]
+ colour/characterisation/aces_it.py:977: error: Unexpected "..." [misc]
+ colour/notation/munsell/onnx.py:214: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
+ src/hydra_zen/structured_configs/_utils.py:367: error: TypedDict key must be a string literal; expected one of ("bases", "cls_name", "eq", "frozen", "init", ...) [literal-required]
- src/hydra_zen/structured_configs/_utils.py:367: error: TypedDict key must be a string literal; expected one of ("cls_name", "namespace", "bases", "init", "repr", ...) [literal-required]
altair (https://github.com/vega/altair)
+ tools/markup.py:14: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ altair/datasets/_loader.py:14: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ altair/vegalite/v6/api.py:3998: error: Argument "spec" to "FacetChart" has incompatible type "_EncodingMixin"; expected "SchemaBase | Mapping[str, Any] | UndefinedType" [arg-type]
- altair/datasets/_data.py:18: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
zulip (https://github.com/zulip/zulip)
+ tools/linter_lib/custom_check.py:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ tools/lib/pretty_print.py:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ zerver/lib/db.py:5: note: Hint: "python3 -m pip install types-psycopg2"
+ zerver/lib/db.py:5: note: (or run "mypy --install-types" to install all missing stub packages)
+ zerver/lib/html_diff.py:2: note: Hint: "python3 -m pip install lxml-stubs"
+ zerver/lib/html_diff.py:2: note: (or run "mypy --install-types" to install all missing stub packages)
+ zerver/lib/migrate.py:9: note: Hint: "python3 -m pip install types-psycopg2"
+ zerver/migrations/0257_fix_has_link_attribute.py:6: note: Hint: "python3 -m pip install lxml-stubs"
- zerver/lib/markdown/__init__.py:20: note: Hint: "python3 -m pip install lxml-stubs"
- zerver/actions/presence.py:7: note: Hint: "python3 -m pip install types-psycopg2"
- zerver/actions/invites.py:14: note: Hint: "python3 -m pip install types-zxcvbn"
- zerver/actions/invites.py:14: note: (or run "mypy --install-types" to install all missing stub packages)
- zerver/actions/invites.py:14: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ zerver/lib/markdown/__init__.py:29: note: Hint: "python3 -m pip install types-regex"
+ zproject/backends.py:75: note: Hint: "python3 -m pip install types-zxcvbn"
pwndbg (https://github.com/pwndbg/pwndbg)
+ pwndbg/lib/zig.py:84: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ pwndbg/dbg_mod/lldb/repl/fuzzy.py:26: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- pwndbg/aglib/onegadget.py:11: note: Hint: "python3 -m pip install types-tabulate"
- pwndbg/aglib/onegadget.py:11: note: (or run "mypy --install-types" to install all missing stub packages)
- pwndbg/aglib/onegadget.py:11: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- pwndbg/commands/attachp.py:81: note: Hint: "python3 -m pip install types-psutil"
+ pwndbg/commands/tls.py:9: note: Hint: "python3 -m pip install types-tabulate"
+ pwndbg/commands/tls.py:9: note: (or run "mypy --install-types" to install all missing stub packages)
+ pwndbg/dbg_mod/gdb/__init__.py:1634: note: Hint: "python3 -m pip install types-psutil"
comtypes (https://github.com/enthought/comtypes)
+ comtypes/test/setup.py:3: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ comtypes/test/test_npsupport.py:137: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ comtypes/test/test_win32com_interop.py:11: note: Hint: "python3 -m pip install types-pywin32"
+ comtypes/test/test_win32com_interop.py:11: note: (or run "mypy --install-types" to install all missing stub packages)
- comtypes/test/TestComServer.py:34: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- comtypes/test/test_comserver.py:16: note: Hint: "python3 -m pip install types-pywin32"
- comtypes/test/test_comserver.py:16: note: (or run "mypy --install-types" to install all missing stub packages)
+ comtypes/test/test_dispinterface.py:9: note: Hint: "python3 -m pip install types-pywin32"
+ comtypes/test/test_dispinterface.py:9: note: (or run "mypy --install-types" to install all missing stub packages)
urllib3 (https://github.com/urllib3/urllib3)
+ dummyserver/asgi_proxy.py:8: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
scrapy (https://github.com/scrapy/scrapy)
+ scrapy/utils/_compression.py:12: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ scrapy/utils/display.py:11: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ scrapy/utils/display.py:40: note: (or run "mypy --install-types" to install all missing stub packages)
- scrapy/http/request/form.py:22: note: (or run "mypy --install-types" to install all missing stub packages)
- scrapy/commands/__init__.py:15: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ tests/test_exporters.py:12: note: Hint: "python3 -m pip install lxml-stubs"
+ tests/test_exporters.py:12: note: (or run "mypy --install-types" to install all missing stub packages)
+ tests/test_crawler_subprocess.py:14: note: Hint: "python3 -m pip install types-pexpect"
Expression (https://github.com/cognitedata/Expression)
+ expression/core/result.py:30: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- expression/collections/block.py:33: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ README.py:525: error: Cannot determine type of "inner" [has-type]
+ README.py:599: error: Cannot determine type of "inner_option" [has-type]
+ tests/test_block.py:8: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- tests/test_fn.py:13: error: Invalid "type: ignore" comment [syntax]
+ tests/test_fn.py:13: error: Unused "type: ignore" comment [unused-ignore]
- tests/test_catch.py:100: error: Invalid "type: ignore" comment [syntax]
- tests/test_catch.py:100: error: Incompatible return value type (got "int", expected "str") [return-value]
- tests/test_catch.py:100: error: Unsupported operand types for + ("int" and "str") [operator]
flake8 (https://github.com/pycqa/flake8)
+ tests/unit/plugins/finder_test.py:719: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
antidote (https://github.com/Finistere/antidote)
+ setup.py:4: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- src/antidote/lib/interface_ext/__init__.py:1359: error: "staticmethod" expects 2 type arguments, but 1 given [type-arg]
+ src/antidote/lib/interface_ext/__init__.py:1361: error: "staticmethod" expects 2 type arguments, but 1 given [type-arg]
- src/antidote/lib/interface_ext/__init__.py:1359: error: Missing type arguments for generic type "staticmethod" [type-arg]
+ src/antidote/lib/interface_ext/__init__.py:1361: error: Missing type arguments for generic type "staticmethod" [type-arg]
- src/antidote/__init__.py:135: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
twine (https://github.com/pypa/twine)
+ twine/auth.py:12: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- twine/commands/check.py:23: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
AutoSplit (https://github.com/Toufool/AutoSplit)
+ src/d3d11.py:50:15: error: Cannot determine type of "QueryInterface" [has-type]
+ src/d3d11.py:53:19: error: Module has no attribute "WinError" [attr-defined]
+ src/d3d11.py:58:9: error: Cannot determine type of "Release" [has-type]
+ src/d3d11.py:194:15: error: Module has no attribute "WinError" [attr-defined]
+ src/compare.py:7:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ src/utils.py:20:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ src/capture_method/WindowsGraphicsCaptureMethod.py:75:20: error: Cannot determine type of "D3D11CreateDevice" [has-type]
+ src/capture_method/BitBltCaptureMethod.py:57:17: error: Module has no attribute "windll" [attr-defined]
- src/capture_method/BitBltCaptureMethod.py:13:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- src/capture_method/BitBltCaptureMethod.py:78:21: error: Name "image" is used before definition [used-before-def]
- src/capture_method/BitBltCaptureMethod.py:81:13: error: Name "image" is used before definition [used-before-def]
+ src/capture_method/DesktopDuplicationCaptureMethod.py:59:9: error: Cannot determine type of "_desktop_duplication" [has-type]
+ src/capture_method/DesktopDuplicationCaptureMethod.py:61:28: error: Cannot determine type of "_desktop_duplication" [has-type]
+ src/capture_method/DesktopDuplicationCaptureMethod.py:65:21: error: Cannot determine type of "_desktop_duplication" [has-type]
+ src/capture_method/DesktopDuplicationCaptureMethod.py:66:21: error: Cannot determine type of "_desktop_duplication" [has-type]
+ src/capture_method/DesktopDuplicationCaptureMethod.py:71:22: error: Cannot determine type of "_desktop_duplication" [has-type]
egglog-python (https://github.com/egraphs-good/egglog-python)
+ python/egglog/builtins.py:259: error: Unused "type: ignore" comment [unused-ignore]
+ python/egglog/builtins.py:266: error: Unused "type: ignore" comment [unused-ignore]
+ python/egglog/builtins.py:370: error: Unused "type: ignore" comment [unused-ignore]
+ python/egglog/builtins.py:377: error: Unused "type: ignore" comment [unused-ignore]
+ python/egglog/builtins.py:840: error: Unused "type: ignore" comment [unused-ignore]
+ python/egglog/builtins.py:847: error: Unused "type: ignore" comment [unused-ignore]
+ python/egglog/builtins.py:967: error: Unused "type: ignore" comment [unused-ignore]
+ python/egglog/builtins.py:973: error: Unused "type: ignore" comment [unused-ignore]
django-stubs (https://github.com/typeddjango/django-stubs)
+ django-stubs/template/backends/jinja2.pyi:7: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- django-stubs/contrib/gis/db/backends/postgis/base.pyi:5: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ django-stubs/contrib/postgres/search.pyi:9: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
core (https://github.com/home-assistant/core)
+ error: INTERNAL ERROR -- Please try using mypy master on GitHub:
+ https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/python/mypy/issues
+ version: 2.0.0+dev.f3508422e21bf8aa5674ec48f42543b73837d348
+ note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "", line 6, in <module>
+ sys.exit(console_entry())
+ File "/__main__.py", line 15, in console_entry
+ main()
+ ~~~~^^
+ File "/main.py", line 147, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/main.py", line 237, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/build.py", line 397, in build
+ WorkerClient(
+ ~~~~~~~~~~~~^
+ f".mypy_worker.{build_id}.{idx}.json", options_data, worker_env or os.environ
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ )
+ ^
+ File "/build.py", line 287, in __init__
+ self.proc = subprocess.Popen(command, env=env)
+ ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
+ File "/opt/hostedtoolcache/Python/3.14.4/x64/lib/python3.14/subprocess.py", line 1039, in __init__
+ self._execute_child(args, executable, preexec_fn, close_fds,
+ ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ pass_fds, cwd, env,
+ ^^^^^^^^^^^^^^^^^^^
+ ...<5 lines>...
+ gid, gids, uid, umask,
+ ^^^^^^^^^^^^^^^^^^^^^^
+ start_new_session, process_group)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/opt/hostedtoolcache/Python/3.14.4/x64/lib/python3.14/subprocess.py", line 1875, in _execute_child
+ self._posix_spawn(args, executable, env, restore_signals, close_fds,
+ ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ p2cread, p2cwrite,
+ ^^^^^^^^^^^^^^^^^^
+ c2pread, c2pwrite,
+ ^^^^^^^^^^^^^^^^^^
+ errread, errwrite)
+ ^^^^^^^^^^^^^^^^^^
+ File "/opt/hostedtoolcache/Python/3.14.4/x64/lib/python3.14/subprocess.py", line 1819, in _posix_spawn
+ self.pid = os.posix_spawn(executable, args, env, **kwargs)
+ ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ OSError: [Errno 7] Argument list too long: '/tmp/mypy_primer/mypy_new/venv/bin/python'
+
- homeassistant/components/zeroconf/models.py:7: error: Class cannot subclass "Zeroconf" (has type "Any") [misc]
- homeassistant/components/zeroconf/models.py:16: error: Class cannot subclass "AsyncZeroconf" (has type "Any") [misc]
- homeassistant/components/sonarr/helpers.py:279: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/sonarr/helpers.py:327: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/owntracks/helper.py:6: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/miele/const.py:105: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:105: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:153: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:153: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:179: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:179: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:211: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:211: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:254: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:254: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:268: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:268: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:282: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:282: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:292: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:292: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:302: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:302: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:319: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:319: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:339: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:339: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:352: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:352: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:363: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:363: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:382: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:382: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:422: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:422: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:431: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:431: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:444: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:444: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:496: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:496: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:520: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:520: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:579: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:579: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:1161: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:1161: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:1171: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:1171: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:1181: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:1181: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/components/miele/const.py:1296: error: Unexpected keyword argument "missing_to_none" for "__init_subclass__" of "object" [call-arg]
- homeassistant/components/miele/const.py:1296: error: Class cannot subclass "MieleEnum" (has type "Any") [misc]
- homeassistant/util/ulid.py:44: error: Returning Any from function declared to return "str" [no-any-return]
- homeassistant/components/mqtt/async_client.py:47: error: Class cannot subclass "MQTTClient" (has type "Any") [misc]
- homeassistant/components/mqtt/async_client.py:67: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/mqtt/async_client.py:68: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/mqtt/async_client.py:69: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/mqtt/async_client.py:70: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/mqtt/async_client.py:71: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/mqtt/async_client.py:72: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/mqtt/async_client.py:73: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/helpers/template/context.py:45: error: Returning Any from function declared to return "str" [no-any-return]
- homeassistant/components/telegram_bot/helpers.py:15: error: Returning Any from function declared to return "str" [no-any-return]
- homeassistant/util/dt.py:116: error: Returning Any from function declared to return "ZoneInfo | None" [no-any-return]
- homeassistant/util/dt.py:214: error: Returning Any from function declared to return "datetime | None" [no-any-return]
- homeassistant/components/recorder/table_managers/__init__.py:36: error: Returning Any from function declared to return "int | None" [no-any-return]
- homeassistant/util/yaml/loader.py:65: error: Returning Any from function declared to return "dict[Any, Any]" [no-any-return]
- homeassistant/util/package.py:117: error: Returning Any from function declared to return "bool" [no-any-return]
- homeassistant/helpers/json.py:143: error: Returning Any from function declared to return "str" [no-any-return]
- homeassistant/helpers/json.py:156: error: Returning Any from function declared to return "bytes" [no-any-return]
- homeassistant/auth/jwt_wrapper.py:37: error: Class cannot subclass "PyJWS" (has type "Any") [misc]
- homeassistant/auth/jwt_wrapper.py:46: error: Returning Any from function declared to return "tuple[bytes, bytes, dict[Any, Any], bytes]" [no-any-return]
- homeassistant/auth/jwt_wrapper.py:61: error: Class cannot subclass "PyJWT" (has type "Any") [misc]
- homeassistant/auth/jwt_wrapper.py:109: error: Returning Any from function declared to return "dict[str, Any]" [no-any-return]
- homeassistant/core.py:1271: error: Variable "homeassistant.helpers.json.json_fragment" is not valid as a type [valid-type]
- homeassistant/core.py:1271: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- homeassistant/core.py:1273: error: Returning Any from function declared to return json_fragment? [no-any-return]
- homeassistant/core.py:1372: error: Variable "homeassistant.helpers.json.json_fragment" is not valid as a type [valid-type]
- homeassistant/core.py:1372: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- homeassistant/core.py:1374: error: Returning Any from function declared to return json_fragment? [no-any-return]
- homeassistant/core.py:1919: error: Variable "homeassistant.helpers.json.json_fragment" is not valid as a type [valid-type]
- homeassistant/core.py:1919: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- homeassistant/core.py:1921: error: Returning Any from function declared to return json_fragment? [no-any-return]
- homeassistant/loader.py:788: error: Variable "homeassistant.helpers.json.json_fragment" is not valid as a type [valid-type]
- homeassistant/loader.py:788: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- homeassistant/loader.py:790: error: Returning Any from function declared to return json_fragment? [no-any-return]
- homeassistant/components/backup/util.py:438: error: Returning Any from function declared to return "int" [no-any-return]
- homeassistant/helpers/network.py:335: error: Returning Any from function declared to return "bool" [no-any-return]
- homeassistant/components/http/cors.py:42: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/http/cors.py:72: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/http/cors.py:78: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/helpers/httpx_client.py:70: error: Class cannot subclass "AsyncClient" (has type "Any") [misc]
- homeassistant/helpers/httpx_client.py:128: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/helpers/device_registry.py:411: error: Variable "homeassistant.helpers.json.json_fragment" is not valid as a type [valid-type]
- homeassistant/helpers/device_registry.py:411: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- homeassistant/helpers/device_registry.py:413: error: Returning Any from function declared to return json_fragment? [no-any-return]
- homeassistant/helpers/device_registry.py:510: error: Variable "homeassistant.helpers.json.json_fragment" is not valid as a type [valid-type]
- homeassistant/helpers/device_registry.py:510: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- homeassistant/helpers/device_registry.py:512: error: Returning Any from function declared to return json_fragment? [no-any-return]
- homeassistant/components/zeroconf/usage.py:33: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/components/zeroconf/usage.py:34: error: Unused "type: ignore" comment [unused-ignore]
- homeassistant/helpers/entity_registry.py:391: error: Variable "homeassistant.helpers.json.json_fragment" is not valid as a type [valid-type]
- homeassistant/helpers/entity_registry.py:391: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- homeassistant/helpers/entity_registry.py:393: error: Returning Any from function declared to return json_fragment? [no-any-return]
- homeassistant/helpers/entity_registry.py:698: error: Variable "homeassistant.helpers.json.json_fragment" is not valid as a type [valid-type]
- homeassistant/helpers/entity_registry.py:698: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- homeassistant/helpers/entity_registry.py:700: error: Returning Any from function declared to return json_fragment? [no-any-return]
- homeassistant/helpers/area_registry.py:90: error: Variable "homeassistant.helpers.json.json_fragment" is not valid as a type [valid-type]
- homeassistant/helpers/area_registry.py:90: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#variables-vs-type-aliases
- homeassistant/helpers/area_registry.py:92: error: Returning Any from function declared to return json_fragment? [no-any-return]
... (truncated 1269 lines) ...
pip (https://github.com/pypa/pip)
+ src/pip/_internal/resolution/resolvelib/candidates.py:411: error: Incompatible types in assignment (expression has type "Version", variable has type "None") [assignment]
+ src/pip/_internal/resolution/resolvelib/candidates.py:412: error: Incompatible return value type (got "None", expected "Version") [return-value]
Tanjun (https://github.com/FasterSpeeding/Tanjun)
+ tanjun/commands/menu.py:422: error: Type argument "_UserCallbackSigT" of "MessageCommand" must be a subtype of "def (MessageContext, /, *Any, **Any) -> Coroutine[Any, Any, None]" [type-var]
+ tanjun/commands/menu.py:422: error: Type argument "_UserCallbackSigT" of "SlashCommand" must be a subtype of "def (SlashContext, /, *Any, **Any) -> Coroutine[Any, Any, None]" [type-var]
+ tanjun/commands/menu.py:424: error: Type argument "_MessageCallbackSigT" of "MessageCommand" must be a subtype of "def (MessageContext, /, *Any, **Any) -> Coroutine[Any, Any, None]" [type-var]
+ tanjun/commands/menu.py:424: error: Type argument "_MessageCallbackSigT" of "SlashCommand" must be a subtype of "def (SlashContext, /, *Any, **Any) -> Coroutine[Any, Any, None]" [type-var]
- tanjun/commands/menu.py:420: error: Type argument "_UserCallbackSigT" of "MessageCommand" must be a subtype of "def (MessageContext, /, *Any, **Any) -> Coroutine[Any, Any, None]" [type-var]
- tanjun/commands/menu.py:420: error: Type argument "_UserCallbackSigT" of "SlashCommand" must be a subtype of "def (SlashContext, /, *Any, **Any) -> Coroutine[Any, Any, None]" [type-var]
- tanjun/commands/menu.py:420: error: Type argument "_MessageCallbackSigT" of "MessageCommand" must be a subtype of "def (MessageContext, /, *Any, **Any) -> Coroutine[Any, Any, None]" [type-var]
- tanjun/commands/menu.py:420: error: Type argument "_MessageCallbackSigT" of "SlashCommand" must be a subtype of "def (SlashContext, /, *Any, **Any) -> Coroutine[Any, Any, None]" [type-var]
pandera (https://github.com/pandera-dev/pandera)
+ pandera/api/pandas/array.py:38: error: Unused "type: ignore" comment [unused-ignore]
cwltool (https://github.com/common-workflow-language/cwltool)
+ setup.py:97:1: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
arviz (https://github.com/arviz-devs/arviz)
+ src/arviz/__init__.py:35: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
artigraph (https://github.com/artigraph/artigraph)
+ src/arti/internal/dispatch.py:7: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ tests/arti/storage/test_literal_storage.py:25: note: "StringLiteralPartition" defined in "arti.storage.literal"
+ tests/arti/storage/test_literal_storage.py:28: note: "StringLiteralPartition" defined in "arti.storage.literal"
werkzeug (https://github.com/pallets/werkzeug)
- src/werkzeug/_reloader.py:256: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ tests/conftest.py:18: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ src/werkzeug/serving.py:91: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
pydantic (https://github.com/pydantic/pydantic)
+ pydantic/v1/mypy.py:49: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+ pydantic/v1/main.py:125: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
+ pydantic/v1/main.py:127: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
+ pydantic/v1/main.py:130: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
+ pydantic/v1/main.py:131: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
+ pydantic/v1/main.py:132: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
+ pydantic/v1/main.py:134: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
+ pydantic/v1/main.py:135: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
+ pydantic/v1/main.py:149: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
+ pydantic/v1/networks.py:35: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- pydantic/_internal/_core_utils.py:15: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
scipy (https://github.com/scipy/scipy)
+ scipy/_build_utils/_generate_blas_wrapper.py:31: note: See https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
- scipy/stats/tests/test_morestats.py:6: error: Need type annotation for "distcont" [var-annotated]
+ scipy/stats/tests/test_morestats.py: error: Need type annotation for "distcont" [var-annotated]
yarl (https://github.com/aio-libs/yarl)
+ yarl/_url.py:426: error: Unused "type: ignore" comment [unused-ignore]
+ yarl/_url.py:427: error: Unused "type: ignore" comment [unused-ignore]
+ yarl/_url.py:428: error: Unused "type: ignore" comment [unused-ignore]
+ yarl/_url.py:429: error: Unused "type: ignore" comment [unused-ignore]
+ tests/test_cached_property.py:10:6: note: See https://mypy.rtfd.io/en/stable/_refs.html#code-untyped-decorator for more info
rich (https://github.com/Textualize/rich)
+ rich/_win32_console.py:87: error: Cannot determine type of "_GetStdHandle" [has-type]
+ rich/_win32_console.py:111: error: Cannot determine type of "_GetConsoleMode" [has-type]
+ rich/_win32_console.py:148: error: Cannot determine type of "_FillConsoleOutputCharacterW" [has-type]
+ rich/_win32_console.py:190: error: Cannot determine type of "_FillConsoleOutputAttribute" [has-type]
+ rich/_win32_console.py:217: error: Cannot determine type of "_SetConsoleTextAttribute" [has-type]
+ rich/_win32_console.py:240: error: Cannot determine type of "_GetConsoleScreenBufferInfo" [has-type]
+ rich/_win32_console.py:264: error: Cannot determine type of "_SetConsoleCursorPosition" [has-type]
+ rich/_win32_console.py:288: error: Cannot determine type of "_GetConsoleCursorInfo" [has-type]
+ rich/_win32_console.py:311: error: Cannot determine type of "_SetConsoleCursorInfo" [has-type]
+ rich/_win32_console.py:328: error: Cannot determine type of "_SetConsoleTitle" [has-type]
+ rich/_win32_console.py:383: error: Cannot determine type of "_handle" [has-type]
+ rich/_win32_console.py:393: error: Cannot determine type of "_handle" [has-type]
+ rich/_win32_console.py:402: error: Cannot determine type of "write" [has-type]
+ rich/_win32_console.py:403: error: Cannot determine type of "flush" [has-type]
+ rich/_win32_console.py:424: error: Cannot determine type of "ANSI_TO_WINDOWS" [has-type]
+ rich/_win32_console.py:426: error: Cannot determine type of "_default_fore" [has-type]
+ rich/_win32_console.py:431: error: Cannot determine type of "ANSI_TO_WINDOWS" [has-type]
+ rich/_win32_console.py:433: error: Cannot determine type of "_default_back" [has-type]
+ rich/_win32_console.py:439: error: Cannot determine type of "_handle" [has-type]
+ rich/_win32_console.py:442: error: Cannot determine type of "_handle" [has-type]
+ rich/_win32_console.py:442: error: Cannot determine type of "_default_text" [has-type]
+ rich/_win32_console.py:452: error: Cannot determine type of "_handle" [has-type]
+ rich/_win32_console.py:461: error: Cannot determine type of "_handle" [has-type]
+ rich/_win32_console.py:464: error: Cannot determine type of "_handle" [has-type]
+ rich/_win32_console.py:465: error: Cannot determine type of "_default_attrs" [has-type]
+ rich/_win32_console.py:475: error: Cannot determine type of "_handle" [has-type]
+ rich/_win32_console.py:478: error: Cannot determine type of "_handle" [has-type]
+ rich/_win32_console.py:479: error: Cannot determine type of "_default_attrs" [has-type]
+ rich/_win32_console.py:488: error: Cannot determine type of "_handle" [has-type]
+ rich/_win32_console.py:490: error: Cannot determine type of "_handle" [has-type]
... (truncated 612 lines) ...``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.