-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merge 1.1.369 #450
Merged
Merged
Merge 1.1.369 #450
Conversation
This file contains 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
… used for multiple inheritance. This addresses #8167. (#8175)
Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Rich Chiodo <rchiodo@users.noreply.github.com>
…k relating to `NamedTuple` instance variables. This addresses #8184.
… in an index expression supports `__index__` but the indexed object specifies that it requires `int`. This addresses #8183. (#8188)
…e was not supported for `if` or `else` suites when the condition type was narrowed to `Never`. This addresses microsoft/pylance-release#6028. (#8190)
…re a crash) in certain circumstances when computing the MRO for a class. This addresses #8191.
…y with the new Python 3.12 `type` syntax. This partially addresses #8185.
…stic when using `tuple[()]` in overloads. This addresses #8194. (#8195)
…` and `__delete__` calls to a descriptor object. This addresses #8181. (#8198)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. - [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md) - [Commits](micromatch/braces@3.0.2...3.0.3) --- updated-dependencies: - dependency-name: braces dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ass variables that are initialized implicitly by the synthesized `__init__` method.
…k protocol with a function-scoped type variable. This addresses #8177. (#8207)
…tor that infers a class-scoped ParamSpec when the passed function is generic. This addresses #8170. (#8215)
…ressions if the python version is >= 3.10. The grammar was changed in 3.10 to support this. This addresses #8216.
… a variable is assigned a value using a walrus operator and is later used in a `**` call argument. This addresses #8218.
…all-through) case of a match expression when the subject expression is an unbounded tuple. This addresses #8219.
# Conflicts: # .github/workflows/validation.yml # packages/pyright-internal/src/analyzer/typeEvaluator.ts # packages/pyright/package-lock.json # packages/pyright/package.json # packages/vscode-pyright/package.json
…NamedTuple` (new bug in upstream)" since it has now been fixed upstream This reverts commit bc693c0.
This comment has been minimized.
This comment has been minimized.
… scenarios in it
DetachHead
force-pushed
the
merge-1.1.369
branch
from
June 25, 2024 20:07
1024f18
to
1b20e5e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
DetachHead
force-pushed
the
merge-1.1.369
branch
from
June 25, 2024 21:24
c282a95
to
285d807
Compare
Diff from mypy_primer, showing the effect of this PR on open source code: alectryon (https://github.com/cpitclaudel/alectryon)
+ /tmp/mypy_primer/projects/alectryon/alectryon/lean3.py:183:17 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/alectryon/alectryon/lean3.py:185:21 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/alectryon/alectryon/lean3.py:191:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/alectryon/alectryon/literate.py:483:13 - error: Code is unreachable (reportUnreachable)
- 6425 errors, 0 warnings, 0 notes
+ 6429 errors, 0 warnings, 0 notes
steam.py (https://github.com/Gobot1234/steam.py)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:350:21 - error: Type of "add_note" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/steam.py/steam/abc.py:350:23 - error: Cannot access attribute "add_note" for class "Unbound" (reportAttributeAccessIssue)
+ /tmp/mypy_primer/projects/steam.py/steam/package.py:252:21 - error: "errs" is not defined (reportUndefinedVariable)
+ /tmp/mypy_primer/projects/steam.py/steam/package.py:252:21 - error: Type of "append" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/steam.py/steam/ext/commands/commands.py:230:16 - error: Expression of type "MethodType | ((CogT@Command, Context[Any], **P@Command) -> Coro[R@Command]) | ((Context[Any], **P@Command) -> Coro[R@Command])" is incompatible with return type "((CogT@Command, Context[Any], **P@Command) -> Coro[R@Command]) | ((Context[Any], **P@Command) -> Coro[R@Command])" (reportReturnType)
- 8500 errors, 90 warnings, 0 notes
+ 8503 errors, 90 warnings, 0 notes
pydantic (https://github.com/samuelcolvin/pydantic)
+ /tmp/mypy_primer/projects/pydantic/pydantic/color.py:90:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pydantic/pydantic/color.py:93:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pydantic/pydantic/fields.py:828:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pydantic/pydantic/functional_validators.py:358:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pydantic/pydantic/json_schema.py:1462:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pydantic/pydantic/json_schema.py:2348:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pydantic/pydantic/json_schema.py:2349:31 - error: Unnecessary "# type: ignore" comment (reportUnnecessaryTypeIgnoreComment)
+ /tmp/mypy_primer/projects/pydantic/pydantic/json_schema.py:2351:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pydantic/pydantic/_internal/_utils.py:260:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pydantic/pydantic/deprecated/parse.py:56:9 - error: Code is unreachable (reportUnreachable)
- 6141 errors, 0 warnings, 0 notes
+ 6151 errors, 0 warnings, 0 notes
pandera (https://github.com/pandera-dev/pandera)
+ /tmp/mypy_primer/projects/pandera/pandera/decorators.py:500:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pandera/pandera/api/base/error_handler.py:111:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pandera/pandera/api/pyspark/container.py:141:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pandera/pandera/backends/utils.py:21:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pandera/pandera/backends/pandas/hypotheses.py:82:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pandera/pandera/engines/engine.py:185:17 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pandera/pandera/strategies/pandas_strategies.py:148:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pandera/tests/core/test_schema_components.py:474:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pandera/tests/modin/test_schemas_on_modin.py:155:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pandera/tests/pyspark/test_schemas_on_pyspark_pandas.py:232:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pandera/tests/pyspark/test_schemas_on_pyspark_pandas.py:241:9 - error: Code is unreachable (reportUnreachable)
- 28670 errors, 0 warnings, 0 notes
+ 28681 errors, 0 warnings, 0 notes
spack (https://github.com/spack/spack)
+ /tmp/mypy_primer/projects/spack/lib/spack/llnl/util/tty/colify.py:157:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/spack/lib/spack/llnl/util/tty/colify.py:215:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/spack/lib/spack/llnl/util/tty/log.py:372:9 - error: Type of "close" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/spack/lib/spack/spack/ci.py:1464:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/spack/lib/spack/spack/installer.py:756:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/spack/lib/spack/spack/installer.py:921:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/spack/lib/spack/spack/cmd/commands.py:467:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/spack/lib/spack/spack/util/environment.py:455:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/spack/lib/spack/spack/version/version_types.py:849:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/spack/lib/spack/spack/version/version_types.py:1145:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/spack/var/spack/repos/builtin/packages/py-nltk/resourcegen.py:42:5 - error: Code is unreachable (reportUnreachable)
- 291220 errors, 0 warnings, 0 notes
+ 291231 errors, 0 warnings, 0 notes
pytest-robotframework (https://github.com/detachhead/pytest-robotframework)
+ /tmp/mypy_primer/projects/pytest-robotframework/pytest_robotframework/__init__.py:240:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/pytest-robotframework/tests/test_robot.py:177:5 - error: Code is unreachable (reportUnreachable)
- 2190 errors, 0 warnings, 0 notes
+ 2192 errors, 0 warnings, 0 notes
bidict (https://github.com/jab/bidict)
+ /tmp/mypy_primer/projects/bidict/bidict/_base.py:424:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/bidict/bidict/_base.py:501:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/bidict/bidict/_base.py:509:13 - error: Code is unreachable (reportUnreachable)
- 660 errors, 0 warnings, 0 notes
+ 663 errors, 0 warnings, 0 notes
freqtrade (https://github.com/freqtrade/freqtrade)
+ /tmp/mypy_primer/projects/freqtrade/freqtrade/exchange/exchange.py:2072:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/freqtrade/freqtrade/freqai/data_kitchen.py:484:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/freqtrade/freqtrade/persistence/custom_data.py:158:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/freqtrade/freqtrade/persistence/key_value_store.py:80:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/freqtrade/freqtrade/persistence/trade_model.py:316:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/freqtrade/freqtrade/persistence/trade_model.py:770:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/freqtrade/freqtrade/persistence/trade_model.py:1052:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/freqtrade/freqtrade/rpc/telegram.py:538:13 - error: Code is unreachable (reportUnreachable)
- 21479 errors, 0 warnings, 0 notes
+ 21487 errors, 0 warnings, 0 notes
trio (https://github.com/python-trio/trio)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_exports.py:414:13 - error: Type of "remove" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_exports.py:414:21 - error: Cannot access attribute "remove" for class "Unbound" (reportAttributeAccessIssue)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_exports.py:421:13 - error: Type of "remove" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_exports.py:421:19 - error: Cannot access attribute "remove" for class "Unbound" (reportAttributeAccessIssue)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_exports.py:436:13 - error: Type of "remove" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_exports.py:436:19 - error: Cannot access attribute "remove" for class "Unbound" (reportAttributeAccessIssue)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_exports.py:508:13 - error: Type of "remove" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/trio/src/trio/_tests/test_exports.py:508:21 - error: Cannot access attribute "remove" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/_tests/test_highlevel_open_tcp_stream.py:54:13 - error: Type of "add" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/_tests/test_highlevel_open_tcp_stream.py:54:22 - error: Cannot access attribute "add" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/_tests/test_highlevel_open_tcp_stream.py:55:13 - error: Type of "add" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/_tests/test_highlevel_open_tcp_stream.py:55:22 - error: Cannot access attribute "add" for class "Unbound" (reportAttributeAccessIssue)
+ /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:304:17 - error: Argument of type "*tuple[(data: bytes | bytearray | memoryview) -> Coroutine[Any, Any, None], Literal[b"x"]]" cannot be assigned to parameter "args" of type "*PosArgT@start_soon" in function "start_soon"
+ Type "*tuple[(data: bytes | bytearray | memoryview) -> Coroutine[Any, Any, None], Literal[b"x"]]" is incompatible with type "*tuple[(**ArgsT@expect_cancelled) -> Awaitable[object]]"
+ "*tuple[(data: bytes | bytearray | memoryview) -> Coroutine[Any, Any, None], Literal[b"x"]]" is incompatible with "*tuple[(**ArgsT@expect_cancelled) -> Awaitable[object]]"
+ Tuple size mismatch; expected 1 but received 2 (reportArgumentType)
+ /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:305:17 - error: Argument of type "*tuple[(max_bytes: int | None = None) -> Coroutine[Any, Any, bytes | bytearray], Literal[1]]" cannot be assigned to parameter "args" of type "*PosArgT@start_soon" in function "start_soon"
+ Type "*tuple[(max_bytes: int | None = None) -> Coroutine[Any, Any, bytes | bytearray], Literal[1]]" is incompatible with type "*tuple[(**ArgsT@expect_cancelled) -> Awaitable[object]]"
+ "*tuple[(max_bytes: int | None = None) -> Coroutine[Any, Any, bytes | bytearray], Literal[1]]" is incompatible with "*tuple[(**ArgsT@expect_cancelled) -> Awaitable[object]]"
+ Tuple size mismatch; expected 1 but received 2 (reportArgumentType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:255:33 - error: Argument type is unknown
- Argument corresponds to parameter "resource" in function "aclose_forcefully" (reportUnknownArgumentType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:269:13 - error: Type of "cancel" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:269:19 - error: Cannot access attribute "cancel" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:270:19 - error: Type of "aclose" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:270:21 - error: Cannot access attribute "aclose" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:273:13 - error: Type of "cancel" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:273:19 - error: Cannot access attribute "cancel" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:274:19 - error: Type of "aclose" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:274:21 - error: Cannot access attribute "aclose" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:302:13 - error: Type of "cancel" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:302:19 - error: Cannot access attribute "cancel" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:304:17 - error: Type of "start_soon" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:304:25 - error: Cannot access attribute "start_soon" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:305:17 - error: Type of "start_soon" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:305:25 - error: Cannot access attribute "start_soon" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:308:13 - error: Type of "start_soon" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:308:21 - error: Cannot access attribute "start_soon" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:309:13 - error: Type of "start_soon" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:309:21 - error: Cannot access attribute "start_soon" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:320:13 - error: Type of "start_soon" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:320:21 - error: Cannot access attribute "start_soon" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:322:37 - error: Argument type is unknown
- Argument corresponds to parameter "resource" in function "aclose_forcefully" (reportUnknownArgumentType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:344:17 - error: Type of "start_soon" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:344:25 - error: Cannot access attribute "start_soon" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:344:44 - error: Type of "cancel_scope" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:344:52 - error: Cannot access attribute "cancel_scope" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:346:17 - error: Type of "start_soon" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:346:25 - error: Cannot access attribute "start_soon" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:358:21 - error: Type of "start_soon" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:358:29 - error: Cannot access attribute "start_soon" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:358:40 - error: Type of "wait_send_all_might_not_block" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:358:42 - error: Cannot access attribute "wait_send_all_might_not_block" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:359:21 - error: Type of "start_soon" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:359:29 - error: Cannot access attribute "start_soon" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:359:40 - error: Type of "wait_send_all_might_not_block" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:359:42 - error: Cannot access attribute "wait_send_all_might_not_block" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:367:21 - error: Type of "start_soon" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:367:29 - error: Cannot access attribute "start_soon" for class "Unbound" (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:367:40 - error: Type of "wait_send_all_might_not_block" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/trio/src/trio/testing/_check_streams.py:367:42 - error: Cannot access attribute "wait_send_all_might_not_block" for class "Unbound" (reportAttributeAccessIssue)
... (truncated 30 lines) ...
hydra-zen (https://github.com/mit-ll-responsible-ai/hydra-zen)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_implementations.py:1106:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_implementations.py:1110:17 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_implementations.py:1118:17 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_implementations.py:1119:21 - error: Code is unreachable (reportUnreachable)
- /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_implementations.py:1137:20 - error: Return type, "type[BuildsWithSig[Unknown, ...]]", is partially unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_implementations.py:2179:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_implementations.py:2185:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_implementations.py:2198:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_utils.py:259:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_utils.py:326:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/structured_configs/_utils.py:417:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/wrapper/_implementations.py:217:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/wrapper/_implementations.py:220:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/wrapper/_implementations.py:225:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/wrapper/_implementations.py:1419:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/wrapper/_implementations.py:1424:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/wrapper/_implementations.py:1427:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/wrapper/_implementations.py:1608:17 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/hydra-zen/src/hydra_zen/wrapper/_implementations.py:1613:17 - error: Code is unreachable (reportUnreachable)
- 2479 errors, 0 warnings, 183 notes
+ 2496 errors, 0 warnings, 183 notes
koda-validate (https://github.com/keithasaurus/koda-validate)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:120:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:125:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:139:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:144:9 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:148:24 - error: Variable "annotations" is not accessed (reportUnusedVariable)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:156:18 - error: Type of "val" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:156:25 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:157:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:160:17 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:161:68 - error: Argument type is unknown
+ Argument corresponds to parameter "obj" in function "_wrap_sync_validator" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:162:70 - error: Argument type is unknown
+ Argument corresponds to parameter "obj" in function "_wrap_async_validator" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:164:65 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:164:65 - error: Argument type is partially unknown
+ Argument corresponds to parameter "iterable" in function "__init__"
+ Argument type is "dict_keys[str, Unknown]" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/dataclasses.py:281:33 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/json_schema.py:243:16 - error: Type of "field" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/json_schema.py:243:25 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/json_schema.py:245:46 - error: Argument type is unknown
+ Argument corresponds to parameter "__p0" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/json_schema.py:498:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/koda-validate/koda_validate/serialization/json_schema.py:517:9 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_310_plus.py:461:57 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_310_plus.py:487:21 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_310_plus.py:487:21 - error: Argument type is unknown
+ Argument corresponds to parameter "validator" in function "__init__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_310_plus.py:596:49 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_310_plus.py:617:21 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_310_plus.py:617:21 - error: Argument type is unknown
+ Argument corresponds to parameter "validator" in function "__init__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_310_plus.py:774:12 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:122:64 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:122:64 - error: Argument type is unknown
+ Argument corresponds to parameter "validator" in function "__init__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:148:64 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:148:64 - error: Argument type is unknown
+ Argument corresponds to parameter "validator" in function "__init__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:234:47 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:234:47 - error: Argument type is unknown
+ Argument corresponds to parameter "validator" in function "__init__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:252:51 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:252:51 - error: Argument type is unknown
+ Argument corresponds to parameter "validator" in function "__init__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:269:49 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:269:49 - error: Argument type is unknown
+ Argument corresponds to parameter "validator" in function "__init__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:287:48 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:287:48 - error: Argument type is unknown
+ Argument corresponds to parameter "validator" in function "__init__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:313:21 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:313:21 - error: Argument type is unknown
+ Argument corresponds to parameter "validator" in function "__init__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:340:58 - error: Type of "schema" is partially unknown
+ Type of "schema" is "dict[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/koda-validate/tests/test_dataclasses.py:340:58 - error: Argument type is unknown
+ Argument corresponds to parameter "validator" in function "__init__" (reportUnknownArgumentType)
- 3067 errors, 0 warnings, 0 notes
+ 3109 errors, 0 warnings, 0 notes
materialize (https://github.com/MaterializeInc/materialize)
- /tmp/mypy_primer/projects/materialize/misc/python/materialize/mzcompose/composition.py:994:20 - error: Operator "==" not supported for types "Unbound" and "Unbound" (reportOperatorIssue)
- 16 errors, 333 warnings, 0 notes
+ 15 errors, 333 warnings, 0 notes
dd-trace-py (https://github.com/DataDog/dd-trace-py)
+ /tmp/mypy_primer/projects/dd-trace-py/ddtrace/_trace/span.py:155:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/dd-trace-py/ddtrace/_trace/span.py:157:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/dd-trace-py/ddtrace/_trace/span.py:159:13 - error: Code is unreachable (reportUnreachable)
+ /tmp/mypy_primer/projects/dd-trace-py/ddtrace/_trace/span.py:474:13 - error: Code is unreachable (reportUnreachable)
... (truncated 69 lines) ...``` |
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.