-
Notifications
You must be signed in to change notification settings - Fork 102
Merge 1.1.408 #1696
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
Merged
Merged
Merge 1.1.408 #1696
+45,708
−5,263
Conversation
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
Co-authored-by: Azure Piplines <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Heejae Chang <[email protected]>
Co-authored-by: Azure Piplines <41898282+github-actions[bot]@users.noreply.github.com>
…t`. This addresses #11081. (#11083)
…antic.dataclasses.dataclass` decorator. This addresses #11060. (#11084)
… addresses #11056. (#11085)
Remove the hardcoded docs version from PyCharm documentation link
* Update to latest version * Don't copy txt files * Skip .py files * Add toml files
# Conflicts: # docs/installation.md # lerna.json # package-lock.json # package.json # packages/pyright-internal/jest.config.js # packages/pyright-internal/package-lock.json # packages/pyright-internal/package.json # packages/pyright-internal/src/analyzer/decorators.ts # packages/pyright-internal/src/analyzer/typeEvaluator.ts # packages/pyright-internal/src/localization/package.nls.ru.json # packages/pyright-internal/src/localization/package.nls.zh-cn.json # packages/pyright-internal/src/tests/completions.test.ts # packages/pyright/package-lock.json # packages/pyright/package.json # packages/vscode-pyright/package-lock.json # packages/vscode-pyright/package.json
86881cd to
961d59b
Compare
961d59b to
a3c2773
Compare
Contributor
|
Diff from mypy_primer, showing the effect of this PR on open source code: kopf (https://github.com/nolar/kopf)
- Type of "get" is "Overload[(key: Unknown, /) -> (object | None), (key: Unknown, /, default: object) -> object, (key: Unknown, /, default: _T@get) -> (object | _T@get)] | Overload[(k: Literal['apiVersion']) -> str, (k: Literal['apiVersion'], default: Any) -> str, (k: Literal['kind']) -> Literal['Status'], (k: Literal['kind'], default: Any) -> Literal['Status'], (k: Literal['code']) -> int, (k: Literal['code'], default: Any) -> int, (k: Literal['status']) -> Literal['Success', 'Failure'], (k: Literal['status'], default: Any) -> Literal['Success', 'Failure'], (k: Literal['reason']) -> str, (k: Literal['reason'], default: Any) -> str, (k: Literal['message']) -> str, (k: Literal['message'], default: Any) -> str, (k: Literal['details']) -> RawStatusDetails, (k: Literal['details'], default: Any) -> RawStatusDetails, (k: str) -> (Any | None), (k: str, default: Any | __TDefault@RawStatus) -> (Any | __TDefault@RawStatus)]" (reportUnknownMemberType)
+ Type of "get" is "Overload[(key: Unknown, /) -> (object | None), (key: Unknown, default: object, /) -> object, (key: Unknown, default: _T@get, /) -> (object | _T@get)] | Overload[(k: Literal['apiVersion']) -> str, (k: Literal['apiVersion'], default: Any) -> str, (k: Literal['kind']) -> Literal['Status'], (k: Literal['kind'], default: Any) -> Literal['Status'], (k: Literal['code']) -> int, (k: Literal['code'], default: Any) -> int, (k: Literal['status']) -> Literal['Success', 'Failure'], (k: Literal['status'], default: Any) -> Literal['Success', 'Failure'], (k: Literal['reason']) -> str, (k: Literal['reason'], default: Any) -> str, (k: Literal['message']) -> str, (k: Literal['message'], default: Any) -> str, (k: Literal['details']) -> RawStatusDetails, (k: Literal['details'], default: Any) -> RawStatusDetails, (k: str) -> (Any | None), (k: str, default: Any | __TDefault@RawStatus) -> (Any | __TDefault@RawStatus)]" (reportUnknownMemberType)
- Type of "get" is "Overload[(key: Any, /) -> (Any | None), (key: Any, /, default: Any) -> Any, (key: Any, /, default: _T@get) -> (Any | _T@get)] | Overload[(key: Unknown, /) -> (Unknown | None), (key: Unknown, /, default: Unknown) -> Unknown, (key: Unknown, /, default: _T@get) -> (Unknown | _T@get)]" (reportUnknownMemberType)
+ Type of "get" is "Overload[(key: Any, /) -> (Any | None), (key: Any, default: Any, /) -> Any, (key: Any, default: _T@get, /) -> (Any | _T@get)] | Overload[(key: Unknown, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
psycopg (https://github.com/psycopg/psycopg)
+ .../projects/psycopg/psycopg_c/psycopg_c/_uuid.py:30:19 - error: Type "(self: object, name: str, value: Any, /) -> None" is not assignable to declared type "(self: Self@UUID, name: Unused, value: Unused) -> NoReturn"
+ Type "(self: object, name: str, value: Any, /) -> None" is not assignable to type "(self: Self@UUID, name: Unused, value: Unused) -> NoReturn"
+ Missing keyword parameter "self"
+ Missing keyword parameter "value"
+ Position-only parameter mismatch; parameter "self" is not position-only
+ Position-only parameter mismatch; parameter "name" is not position-only
+ Parameter 2: type "Unused" is incompatible with type "str"
+ "object" is not assignable to "str"
+ Position-only parameter mismatch; parameter "value" is not position-only
+ ... (reportAssignmentType)
+ .../projects/psycopg/tests/pq/test_async.py:30:9 - warning: Type of "rl" is partially unknown
+ Type of "rl" is "list[Unknown]" (reportUnknownVariableType)
+ .../projects/psycopg/tests/pq/test_async.py:30:13 - warning: Type of "wl" is partially unknown
+ Type of "wl" is "list[Unknown]" (reportUnknownVariableType)
+ .../projects/psycopg/tests/pq/test_async.py:30:29 - warning: Argument type is partially unknown
+ Argument corresponds to parameter "rlist" in function "select"
+ Argument type is "list[Unknown]" (reportUnknownArgumentType)
+ .../projects/psycopg/tests/pq/test_async.py:30:46 - warning: Argument type is partially unknown
+ Argument corresponds to parameter "wlist" in function "select"
+ Argument type is "list[Unknown]" (reportUnknownArgumentType)
- .../projects/psycopg/tests/pq/test_async.py:46:13 - warning: Result of call expression is of type "tuple[list[Any], list[Any], list[Any]]" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ .../projects/psycopg/tests/pq/test_async.py:46:13 - warning: Result of call expression is of type "tuple[list[Unknown], list[Never], list[Never]]" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ .../projects/psycopg/tests/pq/test_async.py:46:20 - warning: Argument type is partially unknown
+ Argument corresponds to parameter "rlist" in function "select"
+ Argument type is "list[Unknown]" (reportUnknownArgumentType)
- .../projects/psycopg/tests/pq/test_pgconn.py:39:13 - warning: Result of call expression is of type "tuple[list[Any], list[Any], list[Any]]" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ .../projects/psycopg/tests/pq/test_pgconn.py:39:13 - warning: Result of call expression is of type "tuple[list[Unknown], list[Never], list[Never]]" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ .../projects/psycopg/tests/pq/test_pgconn.py:39:20 - warning: Argument type is partially unknown
+ Argument corresponds to parameter "rlist" in function "select"
+ Argument type is "list[Unknown]" (reportUnknownArgumentType)
- .../projects/psycopg/tests/pq/test_pgconn.py:41:13 - warning: Result of call expression is of type "tuple[list[Any], list[Any], list[Any]]" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ .../projects/psycopg/tests/pq/test_pgconn.py:41:13 - warning: Result of call expression is of type "tuple[list[Never], list[Unknown], list[Never]]" and is not used; assign to variable "_" if this is intentional (reportUnusedCallResult)
+ .../projects/psycopg/tests/pq/test_pgconn.py:41:24 - warning: Argument type is partially unknown
+ Argument corresponds to parameter "wlist" in function "select"
+ Argument type is "list[Unknown]" (reportUnknownArgumentType)
- 2023 errors, 37910 warnings, 0 notes
+ 2024 errors, 37917 warnings, 0 notes
egglog-python (https://github.com/egraphs-good/egglog-python)
+ .../projects/egglog-python/python/egglog/runtime.py:451:5 - error: "__dict__" cannot be redeclared because parent class "type" declares it as Final (reportGeneralTypeIssues)
- 1097 errors, 2450 warnings, 0 notes
+ 1098 errors, 2450 warnings, 0 notes
AutoSplit (https://github.com/Toufool/AutoSplit)
- .../projects/AutoSplit/src/user_profile.py:52:9 - error: Method "copy" is not marked as override but is overriding a method in class "_TypedDict" (reportImplicitOverride)
+ .../projects/AutoSplit/src/user_profile.py:52:9 - error: Method "copy" is not marked as override but is overriding a method in class "TypedDictFallback" (reportImplicitOverride)
scikit-learn (https://github.com/scikit-learn/scikit-learn)
- Type of "get" is "Overload[(key: Unknown, /) -> (Unknown | None), (key: Unknown, /, default: Unknown) -> Unknown, (key: Unknown, /, default: _T@get) -> (Unknown | _T@get)]" (reportUnknownMemberType)
+ Type of "get" is "Overload[(key: Unknown, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
- .../projects/scikit-learn/sklearn/utils/_testing.py:941:43 - error: Argument of type "str | int | dict[str, str]" cannot be assigned to parameter "preexec_fn" of type "(() -> Any) | None" in function "check_output"
+ .../projects/scikit-learn/sklearn/utils/_testing.py:941:43 - error: Argument of type "str | int | dict[str, str]" cannot be assigned to parameter "preexec_fn" of type "(() -> object) | None" in function "check_output"
- Type "str | int | dict[str, str]" is not assignable to type "(() -> Any) | None"
+ Type "str | int | dict[str, str]" is not assignable to type "(() -> object) | None"
- Type "int" is not assignable to type "(() -> Any) | None"
+ Type "int" is not assignable to type "(() -> object) | None"
- Type "int" is not assignable to type "() -> Any"
+ Type "int" is not assignable to type "() -> object"
pyinstrument (https://github.com/joerick/pyinstrument)
+ .../projects/pyinstrument/pyinstrument/renderers/html.py:146:25 - error: The function "open" is deprecated
+ Deprecated since Python 3.14. Use `open()` instead. (reportDeprecated)
- 59 errors, 503 warnings, 0 notes
+ 60 errors, 503 warnings, 0 notes
zope.interface (https://github.com/zopefoundation/zope.interface)
- .../projects/zope.interface/src/zope/interface/interface.py:235:9 - warning: Return type, "_NotImplementedType | int | Unknown | bool", is partially unknown (reportUnknownParameterType)
+ .../projects/zope.interface/src/zope/interface/interface.py:235:9 - warning: Return type, "NotImplementedType | int | Unknown | bool", is partially unknown (reportUnknownParameterType)
- Type of "_compare" is "(other: Unknown) -> (_NotImplementedType | int)" (reportUnknownMemberType)
+ Type of "_compare" is "(other: Unknown) -> (NotImplementedType | int)" (reportUnknownMemberType)
- .../projects/zope.interface/src/zope/interface/interface.py:241:9 - warning: Return type, "_NotImplementedType | int | Unknown | bool", is partially unknown (reportUnknownParameterType)
+ .../projects/zope.interface/src/zope/interface/interface.py:241:9 - warning: Return type, "NotImplementedType | int | Unknown | bool", is partially unknown (reportUnknownParameterType)
- Type of "_compare" is "(other: Unknown) -> (_NotImplementedType | int)" (reportUnknownMemberType)
+ Type of "_compare" is "(other: Unknown) -> (NotImplementedType | int)" (reportUnknownMemberType)
- .../projects/zope.interface/src/zope/interface/interface.py:247:9 - warning: Return type, "_NotImplementedType | int | Unknown | bool", is partially unknown (reportUnknownParameterType)
+ .../projects/zope.interface/src/zope/interface/interface.py:247:9 - warning: Return type, "NotImplementedType | int | Unknown | bool", is partially unknown (reportUnknownParameterType)
- Type of "_compare" is "(other: Unknown) -> (_NotImplementedType | int)" (reportUnknownMemberType)
+ Type of "_compare" is "(other: Unknown) -> (NotImplementedType | int)" (reportUnknownMemberType)
- .../projects/zope.interface/src/zope/interface/interface.py:253:9 - warning: Return type, "_NotImplementedType | int | Unknown | bool", is partially unknown (reportUnknownParameterType)
+ .../projects/zope.interface/src/zope/interface/interface.py:253:9 - warning: Return type, "NotImplementedType | int | Unknown | bool", is partially unknown (reportUnknownParameterType)
- Type of "_compare" is "(other: Unknown) -> (_NotImplementedType | int)" (reportUnknownMemberType)
+ Type of "_compare" is "(other: Unknown) -> (NotImplementedType | int)" (reportUnknownMemberType)
- Type of "_compare" is "(other: Unknown) -> (_NotImplementedType | int)" (reportUnknownMemberType)
+ Type of "_compare" is "(other: Unknown) -> (NotImplementedType | int)" (reportUnknownMemberType)
- Type of "_compare" is "(other: Unknown) -> (_NotImplementedType | int)" (reportUnknownMemberType)
+ Type of "_compare" is "(other: Unknown) -> (NotImplementedType | int)" (reportUnknownMemberType)
paasta (https://github.com/yelp/paasta)
+ .../projects/paasta/paasta_tools/api/settings.py:25:16 - error: Type "str | None" is not assignable to declared type "str"
+ Type "str | None" is not assignable to type "str"
+ "None" is not assignable to "str" (reportAssignmentType)
- .../projects/paasta/paasta_tools/paasta_execute_docker_command.py:108:17 - warning: Type of "output" is unknown (reportUnknownVariableType)
- .../projects/paasta/paasta_tools/paasta_execute_docker_command.py:108:25 - warning: Type of "return_code" is unknown (reportUnknownVariableType)
+ .../projects/paasta/paasta_tools/paasta_execute_docker_command.py:108:25 - warning: Type of "return_code" is Any (reportAny)
- .../projects/paasta/paasta_tools/paasta_execute_docker_command.py:111:19 - warning: Argument type is unknown
- Argument corresponds to parameter "values" in function "print" (reportUnknownArgumentType)
- .../projects/paasta/paasta_tools/paasta_execute_docker_command.py:116:22 - warning: Argument type is partially unknown
- Argument corresponds to parameter "status" in function "exit"
- Argument type is "Unknown | Literal[1]" (reportUnknownArgumentType)
- 1513 errors, 23918 warnings, 0 notes
+ 1514 errors, 23915 warnings, 0 notes
urllib3 (https://github.com/urllib3/urllib3)
- .../projects/urllib3/src/urllib3/connection.py:122:5 - error: Instance variable "blocksize" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
- Type of "pop" is "Overload[(key: str, /) -> str, (key: str, /, default: str) -> str, (key: str, /, default: _T@pop) -> (str | _T@pop)] | Overload[(key: str, /) -> str, (key: str, default: str, /) -> str, (key: str, default: _T@pop, /) -> (str | _T@pop)] | Any | Unknown" (reportUnknownMemberType)
+ Type of "pop" is "Overload[(key: str, /) -> str, (key: str, default: str, /) -> str, (key: str, default: _T@pop, /) -> (str | _T@pop)] | Any | Unknown" (reportUnknownMemberType)
+ .../projects/urllib3/src/urllib3/util/wait.py:53:5 - warning: Type of "rready" is partially unknown
+ Type of "rready" is "list[Unknown]" (reportUnknownVariableType)
+ .../projects/urllib3/src/urllib3/util/wait.py:53:13 - warning: Type of "wready" is partially unknown
+ Type of "wready" is "list[Unknown]" (reportUnknownVariableType)
+ .../projects/urllib3/src/urllib3/util/wait.py:53:21 - warning: Type of "xready" is partially unknown
+ Type of "xready" is "list[Unknown]" (reportUnknownVariableType)
+ .../projects/urllib3/src/urllib3/util/wait.py:54:17 - warning: Argument type is partially unknown
+ Argument corresponds to parameter "o" in function "__new__"
+ Argument type is "list[Unknown]" (reportUnknownArgumentType)
- .../projects/urllib3/test/test_ssltransport.py:315:17 - warning: Type of "s" is Any (reportAny)
- 502 errors, 4416 warnings, 0 notes
+ 501 errors, 4419 warnings, 0 notes
pytest (https://github.com/pytest-dev/pytest)
+ .../projects/pytest/src/_pytest/unittest.py:276:23 - error: Cannot access attribute "setdefault" for class "MappingProxyType[str, Any]"
+ Attribute "setdefault" is unknown (reportAttributeAccessIssue)
- 330 errors, 13 warnings, 0 notes
+ 331 errors, 13 warnings, 0 notes
rich (https://github.com/Textualize/rich)
+ .../projects/rich/rich/syntax.py:24:29 - warning: Type of "get_lexer_by_name" is partially unknown
+ Type of "get_lexer_by_name" is "(_alias: str, **options: Unknown) -> Lexer" (reportUnknownVariableType)
+ .../projects/rich/rich/syntax.py:24:48 - warning: Type of "guess_lexer_for_filename" is partially unknown
+ Type of "guess_lexer_for_filename" is "(_fn: str | PathLike[str], _text: str, **options: Unknown) -> Lexer" (reportUnknownVariableType)
+ .../projects/rich/rich/traceback.py:23:29 - warning: Type of "guess_lexer_for_filename" is partially unknown
+ Type of "guess_lexer_for_filename" is "(_fn: str | PathLike[str], _text: str, **options: Unknown) -> Lexer" (reportUnknownVariableType)
- 458 errors, 4417 warnings, 0 notes
+ 458 errors, 4420 warnings, 0 notes
dulwich (https://github.com/dulwich/dulwich)
- .../projects/dulwich/dulwich/contrib/swift.py:1255:5 - warning: Type of "add_option" is partially unknown
- Type of "add_option" is "Overload[(opt: Option, /) -> Option, (opt_str: str, /, *opts: str | None, action: str | None = None, type: str | type | None = None, dest: str | None = None, default: Any = ..., nargs: int | None = None, const: Any | None = None, choices: list[str] | tuple[str, ...] | None = None, callback: ((...) -> object) | None = None, callback_args: tuple[Any, ...] | None = None, callback_kwargs: dict[str, Any] | None = None, help: str | None = None, metavar: str | None = None, **kwargs: Unknown) -> Option]" (reportUnknownMemberType)
- .../projects/dulwich/dulwich/contrib/swift.py:1262:5 - warning: Type of "add_option" is partially unknown
- Type of "add_option" is "Overload[(opt: Option, /) -> Option, (opt_str: str, /, *opts: str | None, action: str | None = None, type: str | type | None = None, dest: str | None = None, default: Any = ..., nargs: int | None = None, const: Any | None = None, choices: list[str] | tuple[str, ...] | None = None, callback: ((...) -> object) | None = None, callback_args: tuple[Any, ...] | None = None, callback_kwargs: dict[str, Any] | None = None, help: str | None = None, metavar: str | None = None, **kwargs: Unknown) -> Option]" (reportUnknownMemberType)
- .../projects/dulwich/dulwich/contrib/swift.py:1270:5 - warning: Type of "add_option" is partially unknown
- Type of "add_option" is "Overload[(opt: Option, /) -> Option, (opt_str: str, /, *opts: str | None, action: str | None = None, type: str | type | None = None, dest: str | None = None, default: Any = ..., nargs: int | None = None, const: Any | None = None, choices: list[str] | tuple[str, ...] | None = None, callback: ((...) -> object) | None = None, callback_args: tuple[Any, ...] | None = None, callback_kwargs: dict[str, Any] | None = None, help: str | None = None, metavar: str | None = None, **kwargs: Unknown) -> Option]" (reportUnknownMemberType)
- .../projects/dulwich/dulwich/contrib/swift.py:1311:5 - warning: Type of "add_option" is partially unknown
- Type of "add_option" is "Overload[(opt: Option, /) -> Option, (opt_str: str, /, *opts: str | None, action: str | None = None, type: str | type | None = None, dest: str | None = None, default: Any = ..., nargs: int | None = None, const: Any | None = None, choices: list[str] | tuple[str, ...] | None = None, callback: ((...) -> object) | None = None, callback_args: tuple[Any, ...] | None = None, callback_kwargs: dict[str, Any] | None = None, help: str | None = None, metavar: str | None = None, **kwargs: Unknown) -> Option]" (reportUnknownMemberType)
- .../projects/dulwich/dulwich/server.py:1778:5 - warning: Type of "add_option" is partially unknown
- Type of "add_option" is "Overload[(opt: Option, /) -> Option, (opt_str: str, /, *opts: str | None, action: str | None = None, type: str | type | None = None, dest: str | None = None, default: Any = ..., nargs: int | None = None, const: Any | None = None, choices: list[str] | tuple[str, ...] | None = None, callback: ((...) -> object) | None = None, callback_args: tuple[Any, ...] | None = None, callback_kwargs: dict[str, Any] | None = None, help: str | None = None, metavar: str | None = None, **kwargs: Unknown) -> Option]" (reportUnknownMemberType)
- .../projects/dulwich/dulwich/server.py:1785:5 - warning: Type of "add_option" is partially unknown
- Type of "add_option" is "Overload[(opt: Option, /) -> Option, (opt_str: str, /, *opts: str | None, action: str | None = None, type: str | type | None = None, dest: str | None = None, default: Any = ..., nargs: int | None = None, const: Any | None = None, choices: list[str] | tuple[str, ...] | None = None, callback: ((...) -> object) | None = None, callback_args: tuple[Any, ...] | None = None, callback_kwargs: dict[str, Any] | None = None, help: str | None = None, metavar: str | None = None, **kwargs: Unknown) -> Option]" (reportUnknownMemberType)
- .../projects/dulwich/dulwich/web.py:885:5 - warning: Type of "add_option" is partially unknown
- Type of "add_option" is "Overload[(opt: Option, /) -> Option, (opt_str: str, /, *opts: str | None, action: str | None = None, type: str | type | None = None, dest: str | None = None, default: Any = ..., nargs: int | None = None, const: Any | None = None, choices: list[str] | tuple[str, ...] | None = None, callback: ((...) -> object) | None = None, callback_args: tuple[Any, ...] | None = None, callback_kwargs: dict[str, Any] | None = None, help: str | None = None, metavar: str | None = None, **kwargs: Unknown) -> Option]" (reportUnknownMemberType)
- .../projects/dulwich/dulwich/web.py:892:5 - warning: Type of "add_option" is partially unknown
- Type of "add_option" is "Overload[(opt: Option, /) -> Option, (opt_str: str, /, *opts: str | None, action: str | None = None, type: str | type | None = None, dest: str | None = None, default: Any = ..., nargs: int | None = None, const: Any | None = None, choices: list[str] | tuple[str, ...] | None = None, callback: ((...) -> object) | None = None, callback_args: tuple[Any, ...] | None = None, callback_kwargs: dict[str, Any] | None = None, help: str | None = None, metavar: str | None = None, **kwargs: Unknown) -> Option]" (reportUnknownMemberType)
- 411 errors, 6938 warnings, 0 notes
+ 411 errors, 6930 warnings, 0 notes
apprise (https://github.com/caronc/apprise)
+ .../projects/apprise/apprise/conversion.py:126:28 - warning: Argument type is unknown
+ Argument corresponds to parameter "scripting" in function "__init__" (reportUnknownArgumentType)
- 4346 errors, 37455 warnings, 0 notes
+ 4346 errors, 37456 warnings, 0 notes
core (https://github.com/home-assistant/core)
- .../projects/core/homeassistant/bootstrap.py:613:35 - warning: Type of parameter "args" is unknown (reportUnknownLambdaType)
- .../projects/core/homeassistant/bootstrap.py:615:18 - warning: Argument type is partially unknown
- Argument corresponds to parameter "exc_info" in function "exception"
- Argument type is "tuple[Unknown, Unknown, Unknown]" (reportUnknownArgumentType)
- .../projects/core/homeassistant/bootstrap.py:616:13 - warning: Type of "exc_type" is unknown (reportUnknownMemberType)
- .../projects/core/homeassistant/bootstrap.py:617:13 - warning: Type of "exc_value" is unknown (reportUnknownMemberType)
- .../projects/core/homeassistant/bootstrap.py:618:13 - warning: Type of "exc_traceback" is unknown (reportUnknownMemberType)
+ .../projects/core/homeassistant/bootstrap.py:615:18 - error: Argument of type "tuple[type[BaseException], BaseException | None, TracebackType | None]" cannot be assigned to parameter "exc_info" of type "_ExcInfoType" in function "exception"
+ Type "tuple[type[BaseException], BaseException | None, TracebackType | None]" is not assignable to type "_ExcInfoType"
+ "tuple[type[BaseException], BaseException | None, TracebackType | None]" is not assignable to "None"
+ "tuple[type[BaseException], BaseException | None, TracebackType | None]" is not assignable to "bool"
+ "tuple[type[BaseException], BaseException | None, TracebackType | None]" is not assignable to "tuple[type[BaseException], BaseException, TracebackType | None]"
+ Tuple entry 2 is incorrect type
+ Type "BaseException | None" is not assignable to type "BaseException"
+ "None" is not assignable to "BaseException"
+ "tuple[type[BaseException], BaseException | None, TracebackType | None]" is not assignable to "tuple[None, None, None]"
+ ... (reportArgumentType)
+ .../projects/core/homeassistant/components/button/__init__.py:121:9 - warning: Type of "pop" is unknown (reportUnknownMemberType)
+ .../projects/core/homeassistant/components/button/__init__.py:121:23 - error: Cannot access attribute "pop" for class "MappingProxyType[str, Any]"
+ Attribute "pop" is unknown (reportAttributeAccessIssue)
+ .../projects/core/homeassistant/components/camera/__init__.py:669:9 - warning: Type of "pop" is unknown (reportUnknownMemberType)
+ .../projects/core/homeassistant/components/camera/__init__.py:669:23 - error: Cannot access attribute "pop" for class "MappingProxyType[str, Any]"
+ Attribute "pop" is unknown (reportAttributeAccessIssue)
- Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, /, default: Any) -> Any, (key: str, /, default: _T@get) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
+ Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, default: Any, /) -> Any, (key: str, default: _T@get, /) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
- Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, /, default: Any) -> Any, (key: str, /, default: _T@get) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
+ Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, default: Any, /) -> Any, (key: str, default: _T@get, /) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
- Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, /, default: Any) -> Any, (key: str, /, default: _T@get) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
+ Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, default: Any, /) -> Any, (key: str, default: _T@get, /) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
- Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, /, default: Any) -> Any, (key: str, /, default: _T@get) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
+ Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, default: Any, /) -> Any, (key: str, default: _T@get, /) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
- Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, /, default: Any) -> Any, (key: str, /, default: _T@get) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
+ Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, default: Any, /) -> Any, (key: str, default: _T@get, /) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
- Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, /, default: Any) -> Any, (key: str, /, default: _T@get) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
+ Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, default: Any, /) -> Any, (key: str, default: _T@get, /) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
- Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, /, default: Any) -> Any, (key: str, /, default: _T@get) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
+ Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, default: Any, /) -> Any, (key: str, default: _T@get, /) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
- Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, /, default: Any) -> Any, (key: str, /, default: _T@get) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
+ Type of "get" is "Overload[(key: str, /) -> (Any | None), (key: str, default: Any, /) -> Any, (key: str, default: _T@get, /) -> (Any | _T@get)] | Overload[(key: Unknown, default: None = None, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
... (truncated 1087 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.