-
Notifications
You must be signed in to change notification settings - Fork 38
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
disable enableExperimentalFeatures
by default
#831
Merged
Merged
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
Diff from mypy_primer, showing the effect of this PR on open source code: paasta (https://github.com/yelp/paasta)
+ /tmp/mypy_primer/projects/paasta/paasta_tools/mesos_tools.py:898:17 - warning: Type of "slave_counts" is partially unknown
+ Type of "slave_counts" is "dict[str, int | Unknown]" (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/paasta/paasta_tools/mesos_tools.py:900:9 - warning: Type of "slave" is partially unknown
+ Type of "slave" is "Dict[Unknown, Unknown] | dict[str, SlaveTaskCount]" (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/paasta/paasta_tools/mesos_tools.py:903:17 - warning: Type of "slave" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/paasta/paasta_tools/mesos_tools.py:903:17 - warning: Argument type is unknown
+ Argument corresponds to parameter "args" in function "format" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/paasta/paasta_tools/mesos_tools.py:904:17 - warning: Type of "count" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/paasta/paasta_tools/mesos_tools.py:904:17 - warning: Argument type is unknown
+ Argument corresponds to parameter "args" in function "format" (reportUnknownArgumentType)
- 1575 errors, 23769 warnings, 0 notes
+ 1575 errors, 23775 warnings, 0 notes
pytest (https://github.com/pytest-dev/pytest)
- /tmp/mypy_primer/projects/pytest/doc/en/example/assertion/test_failures.py:7:1 - warning: Type of "failure_demo" is unknown (reportUnknownVariableType)
- 1158 errors, 17104 warnings, 0 notes
+ 1158 errors, 17103 warnings, 0 notes
rich (https://github.com/Textualize/rich)
- /tmp/mypy_primer/projects/rich/rich/table.py:940:13 - error: No parameter named "caption_justify" (reportCallIssue)
- 472 errors, 4303 warnings, 0 notes
+ 471 errors, 4303 warnings, 0 notes
openlibrary (https://github.com/internetarchive/openlibrary)
+ /tmp/mypy_primer/projects/openlibrary/openlibrary/plugins/worksearch/subjects.py:294:55 - warning: Argument type is unknown
+ Argument corresponds to parameter "w" in function "work_wrapper" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/openlibrary/openlibrary/plugins/worksearch/subjects.py:294:62 - warning: Type of "d" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/openlibrary/openlibrary/plugins/worksearch/subjects.py:294:67 - warning: Type of "docs" is partially unknown
+ Type of "docs" is "list[Unknown]" (reportUnknownMemberType)
- 1929 errors, 33603 warnings, 0 notes
+ 1929 errors, 33606 warnings, 0 notes
ibis (https://github.com/ibis-project/ibis)
- /tmp/mypy_primer/projects/ibis/ibis/expr/datatypes/core.py:1067:23 - error: No parameter named "geotype" (reportCallIssue)
- /tmp/mypy_primer/projects/ibis/ibis/expr/datatypes/core.py:1068:24 - error: No parameter named "geotype" (reportCallIssue)
+ /tmp/mypy_primer/projects/ibis/ibis/expr/datatypes/parse.py:157:5 - warning: Type of "bignumeric" is unknown (reportUnknownVariableType)
- 8168 errors, 106625 warnings, 0 notes
+ 8166 errors, 106626 warnings, 0 notes
sympy (https://github.com/sympy/sympy)
+ /tmp/mypy_primer/projects/sympy/sympy/core/evalf.py:465:59 - warning: Argument type is Any
+ Argument corresponds to parameter "nexpr" in function "calc_part" (reportAny)
+ /tmp/mypy_primer/projects/sympy/sympy/core/evalf.py:467:59 - warning: Argument type is Any
+ Argument corresponds to parameter "nexpr" in function "calc_part" (reportAny)
+ /tmp/mypy_primer/projects/sympy/sympy/external/tests/test_numpy.py:63:16 - error: Operator "/" not supported for types "Symbol" and "Symbol" (reportOperatorIssue)
+ /tmp/mypy_primer/projects/sympy/sympy/integrals/heurisch.py:501:11 - warning: Type of "as_independent" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/sympy/sympy/integrals/heurisch.py:501:45 - warning: Type of "a" is partially unknown
+ Type of "a" is "tuple[Unknown, Dummy]" (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/integrals/heurisch.py:501:54 - warning: Argument type is partially unknown
+ Argument corresponds to parameter "iter1" in function "__new__"
+ Argument type is "set[Unknown] | Unknown" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/sympy/sympy/integrals/heurisch.py:569:17 - warning: Type of "c_split" is partially unknown
+ Type of "c_split" is "tuple[Unknown, Unknown]" (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/matrices/expressions/tests/test_blockmatrix.py:192:27 - warning: Argument type is Any
+ Argument corresponds to parameter "n" in function "__new__" (reportAny)
+ /tmp/mypy_primer/projects/sympy/sympy/matrices/expressions/tests/test_blockmatrix.py:192:30 - warning: Argument type is Any
+ Argument corresponds to parameter "m" in function "__new__" (reportAny)
+ /tmp/mypy_primer/projects/sympy/sympy/matrices/expressions/tests/test_blockmatrix.py:203:20 - warning: Argument type is Any
+ Argument corresponds to parameter "m" in function "__new__" (reportAny)
+ /tmp/mypy_primer/projects/sympy/sympy/matrices/expressions/tests/test_blockmatrix.py:203:23 - warning: Argument type is Any
+ Argument corresponds to parameter "n" in function "__new__" (reportAny)
+ /tmp/mypy_primer/projects/sympy/sympy/parsing/latex/_parse_latex_antlr.py:242:17 - warning: Type of "at_b" is partially unknown
+ Type of "at_b" is "Pow | Unknown | type[__class_UndefinedFunction] | Symbol | Number | Integer | Rational | Float | list[Symbol] | Derivative | Order | Bra | Ket | Any | __class_UndefinedFunction | Equality | Relational | Unequality | Integral | Sum | Product | Limit | Add | Basic | None" (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/parsing/latex/_parse_latex_antlr.py:244:17 - warning: Type of "at_a" is partially unknown
+ Type of "at_a" is "Pow | Unknown | type[__class_UndefinedFunction] | Symbol | Number | Integer | Rational | Float | list[Symbol] | Derivative | Order | Bra | Ket | Any | __class_UndefinedFunction | Equality | Relational | Unequality | Integral | Sum | Product | Limit | Add | Basic | None" (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/parsing/latex/_parse_latex_antlr.py:246:39 - error: Operator "*" not supported for types "Literal[-1]" and "Pow | Unknown | type[__class_UndefinedFunction] | Symbol | Number | Integer | Rational | Float | list[Symbol] | Derivative | Order | Bra | Ket | Any | __class_UndefinedFunction | Equality | Relational | Unequality | Integral | Sum | Product | Limit | Add | Basic"
+ Operator "*" not supported for types "Literal[-1]" and "Pow"
+ Operator "*" not supported for types "Literal[-1]" and "type[__class_UndefinedFunction]"
+ Operator "*" not supported for types "Literal[-1]" and "Symbol"
+ Operator "*" not supported for types "Literal[-1]" and "Number"
+ Operator "*" not supported for types "Literal[-1]" and "Rational"
+ Operator "*" not supported for types "Literal[-1]" and "Float"
+ Operator "*" not supported for types "Literal[-1]" and "Derivative"
+ Operator "*" not supported for types "Literal[-1]" and "Order"
+ ... (reportOperatorIssue)
+ /tmp/mypy_primer/projects/sympy/sympy/parsing/latex/_parse_latex_antlr.py:248:17 - warning: Type of "exp" is partially unknown
+ Type of "exp" is "Pow | Unknown | type[__class_UndefinedFunction] | Symbol | Number | Integer | Rational | Float | list[Symbol] | Derivative | Order | Bra | Ket | Any | __class_UndefinedFunction | Equality | Relational | Unequality | Integral | Sum | Product | Limit | Add | Basic" (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/parsing/latex/_parse_latex_antlr.py:250:17 - warning: Type of "exp" is partially unknown
+ Type of "exp" is "Pow | Unknown | type[__class_UndefinedFunction] | Symbol | Number | Integer | Rational | Float | list[Symbol] | Derivative | Order | Bra | Ket | Any | __class_UndefinedFunction | Equality | Relational | Unequality | Integral | Sum | Product | Limit | Add | Basic" (reportUnknownVariableType)
- /tmp/mypy_primer/projects/sympy/sympy/physics/continuum_mechanics/beam.py:950:30 - warning: Argument type is unknown
- Argument corresponds to parameter "e" in function "limit" (reportUnknownArgumentType)
- /tmp/mypy_primer/projects/sympy/sympy/physics/continuum_mechanics/beam.py:988:38 - warning: Type of "_reaction_loads" is partially unknown
- Type of "_reaction_loads" is "dict[Unknown, Unknown]" (reportUnknownMemberType)
- /tmp/mypy_primer/projects/sympy/sympy/physics/continuum_mechanics/beam.py:1251:20 - warning: Return type, "Unknown | ArrayDerivative | Derivative", is partially unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/physics/continuum_mechanics/beam.py:1251:20 - warning: Return type, "Unknown | Any | ArrayDerivative | Derivative", is partially unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/sympy/sympy/physics/mechanics/tests/test_actuator.py:911:13 - warning: Type of "locatenew" is partially unknown
+ Type of "locatenew" is "(name: Unknown, value: Unknown) -> Point" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/sympy/sympy/physics/mechanics/tests/test_actuator.py:960:13 - warning: Type of "locatenew" is partially unknown
+ Type of "locatenew" is "(name: Unknown, value: Unknown) -> Point" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/sympy/sympy/physics/mechanics/tests/test_actuator.py:1009:13 - warning: Type of "locatenew" is partially unknown
+ Type of "locatenew" is "(name: Unknown, value: Unknown) -> Point" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/sympy/sympy/physics/mechanics/tests/test_actuator.py:1058:13 - warning: Type of "locatenew" is partially unknown
+ Type of "locatenew" is "(name: Unknown, value: Unknown) -> Point" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/sympy/sympy/physics/mechanics/tests/test_joint.py:122:8 - warning: Type of "u" is Any (reportAny)
+ /tmp/mypy_primer/projects/sympy/sympy/physics/vector/tests/test_point.py:97:9 - warning: Type of "locatenew" is partially unknown
+ Type of "locatenew" is "(name: Unknown, value: Unknown) -> Point" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/sympy/sympy/physics/vector/tests/test_point.py:97:26 - warning: Argument type is Any
+ Argument corresponds to parameter "value" in function "locatenew" (reportAny)
- Type of "strides" is "tuple[()] | tuple[Unknown]" (reportUnknownVariableType)
+ Type of "strides" is "tuple[()] | tuple[Unknown, ...]" (reportUnknownVariableType)
- Argument type is "tuple[()] | tuple[Unknown] | Any" (reportUnknownArgumentType)
+ Argument type is "tuple[()] | tuple[Unknown, ...] | Any" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/sympy/sympy/printing/pretty/pretty.py:1481:25 - warning: Type of "left" is partially unknown
+ Type of "left" is "(*args: Unknown) -> tuple[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/sympy/sympy/printing/pretty/pretty.py:1482:25 - warning: Type of "right" is partially unknown
+ Type of "right" is "(*args: Unknown) -> tuple[str, Unknown]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/sympy/sympy/sets/sets.py:1599:9 - warning: Type of "all_elements" is partially unknown
+ Type of "all_elements" is "set[Unknown]" (reportUnknownVariableType)
- Argument type is "(a: UnionType, b: set[Unknown]) -> UnionType" (reportUnknownArgumentType)
+ Argument type is "(a: set[Unknown], b: set[Unknown]) -> set[Unknown]" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/sympy/sympy/sets/sets.py:1599:38 - warning: Type of parameter "a" is partially unknown (reportUnknownLambdaType)
+ /tmp/mypy_primer/projects/sympy/sympy/sets/sets.py:1599:44 - warning: Return type of lambda, "set[Unknown]", is partially unknown (reportUnknownLambdaType)
- /tmp/mypy_primer/projects/sympy/sympy/sets/sets.py:1599:60 - error: Argument of type "set[Unknown]" cannot be assigned to parameter "initial" of type "_T(1)@reduce" in function "reduce"
- "set[Unknown]" is not assignable to "UnionType" (reportArgumentType)
+ /tmp/mypy_primer/projects/sympy/sympy/sets/sets.py:1599:60 - warning: Argument type is partially unknown
+ Argument corresponds to parameter "initial" in function "reduce"
+ Argument type is "set[Unknown]" (reportUnknownArgumentType)
- /tmp/mypy_primer/projects/sympy/sympy/sets/sets.py:1604:18 - error: "UnionType" is not iterable
- "__iter__" method not defined (reportGeneralTypeIssues)
+ /tmp/mypy_primer/projects/sympy/sympy/sets/sets.py:1622:9 - warning: Type of "fs_elements" is partially unknown
+ Type of "fs_elements" is "set[Unknown]" (reportUnknownVariableType)
- Argument type is "(a: UnionType, b: set[Unknown]) -> UnionType" (reportUnknownArgumentType)
+ Argument type is "(a: set[Unknown], b: set[Unknown]) -> set[Unknown]" (reportUnknownArgumentType)
... (truncated 4232 lines) ...
apprise (https://github.com/caronc/apprise)
- /tmp/mypy_primer/projects/apprise/apprise/utils.py:1321:17 - error: Argument of type "list[int]" cannot be assigned to parameter "sequence" of type "Iterable[_T@reduce]" in function "reduce"
- "list[int]" is not assignable to "Iterable[UnionType]"
- Type parameter "_T_co@Iterable" is covariant, but "int" is not a subtype of "UnionType"
- "int" is not assignable to "UnionType" (reportArgumentType)
- /tmp/mypy_primer/projects/apprise/apprise/utils.py:1331:38 - error: No overloads for "compile" match the provided arguments (reportCallIssue)
- /tmp/mypy_primer/projects/apprise/apprise/utils.py:1331:56 - error: Argument of type "UnionType | RegexFlag | Literal[0]" cannot be assigned to parameter "flags" of type "_FlagsType" in function "compile"
- Type "UnionType | RegexFlag | Literal[0]" is not assignable to type "_FlagsType"
- Type "UnionType" is not assignable to type "_FlagsType"
- "UnionType" is not assignable to "int"
- "UnionType" is not assignable to "RegexFlag" (reportArgumentType)
+ /tmp/mypy_primer/projects/apprise/apprise/plugins/matrix.py:1678:13 - warning: Type of "base_url" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/apprise/apprise/plugins/ntfy.py:733:43 - warning: Type of "user" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/apprise/apprise/plugins/ntfy.py:733:48 - error: Cannot access attribute "user" for class "NotifyNtfy*"
+ Attribute "user" is unknown (reportAttributeAccessIssue)
- /tmp/mypy_primer/projects/apprise/apprise/plugins/rocketchat.py:735:13 - warning: Type of "url" is unknown (reportUnknownVariableType)
- 8527 errors, 43826 warnings, 0 notes
+ 8525 errors, 43827 warnings, 0 notes
scikit-learn (https://github.com/scikit-learn/scikit-learn)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/isotonic.py:167:38 - warning: Type of "dtype" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/scikit-learn/sklearn/covariance/_graph_lasso.py:1072:38 - warning: Type of "log10" is unknown (reportUnknownMemberType)
- /tmp/mypy_primer/projects/scikit-learn/sklearn/datasets/_lfw.py:83:5 - warning: Type of "lfw_home" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/datasets/_olivetti_faces.py:158:9 - warning: Type of "faces" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/linear_model/_ridge.py:708:44 - warning: Argument type is unknown
+ Argument corresponds to parameter "fill_value" in function "__call__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/linear_model/_ridge.py:708:60 - warning: Type of "dtype" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/linear_model/_ridge.py:708:60 - warning: Argument type is unknown
+ Argument corresponds to parameter "dtype" in function "__call__" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/metrics/_scorer.py:144:56 - warning: Type of "get" is partially unknown
+ Type of "get" is "((name: Unknown, default: Unknown | None = None) -> Bunch) | Unknown | Overload[(key: Unknown, /) -> (Unknown | None), (key: Unknown, default: Unknown, /) -> Unknown, (key: Unknown, default: _T@get, /) -> (Unknown | _T@get)]" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/metrics/_scorer.py:144:56 - warning: Type of "score" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/metrics/_scorer.py:144:74 - warning: Argument type is unknown
+ Argument corresponds to parameter "key" in function "get" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/metrics/_scorer.py:144:74 - warning: Argument type is unknown
+ Argument corresponds to parameter "name" in function "get" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/metrics/_scorer.py:144:80 - error: "score" is not a known attribute of "None" (reportOptionalMemberAccess)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/model_selection/_split.py:2311:36 - warning: Type of "astype" is unknown (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/model_selection/_split.py:2311:36 - warning: Argument type is unknown
+ Argument corresponds to parameter "iterable" in function "join" (reportUnknownArgumentType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/model_selection/_split.py:2311:59 - warning: Type of "row" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/scikit-learn/sklearn/model_selection/_validation.py:2513:5 - warning: Type of "test_scores" is unknown (reportUnknownVariableType)
- 16737 errors, 196080 warnings, 0 notes
+ 16738 errors, 196091 warnings, 0 notes
mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
- /tmp/mypy_primer/projects/mongo-python-driver/bson/objectid.py:169:13 - warning: Type of "inc" is partially unknown
- Type of "inc" is "int | Unknown" (reportUnknownVariableType)
- /tmp/mypy_primer/projects/mongo-python-driver/bson/objectid.py:169:19 - warning: Type of "_inc" is partially unknown
- Type of "_inc" is "int | Unknown" (reportUnknownMemberType)
- /tmp/mypy_primer/projects/mongo-python-driver/bson/objectid.py:170:13 - warning: Type of "_inc" is partially unknown
- Type of "_inc" is "int | Unknown" (reportUnknownMemberType)
+ /tmp/mypy_primer/projects/mongo-python-driver/test/test_collection.py:600:20 - warning: Type of "get_plan_stage" is partially unknown
- /tmp/mypy_primer/projects/mongo-python-driver/test/test_collection.py:600:20 - warning: Return type is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/mongo-python-driver/test/test_collection.py:600:20 - warning: Return type, "Unknown | dict[Unknown, Unknown]", is partially unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/mongo-python-driver/test/test_collection.py:603:17 - warning: Type of "stage" is partially unknown
- Type of "stage" is "Unknown | dict[Unknown, Unknown]" (reportUnknownVariableType)
- /tmp/mypy_primer/projects/mongo-python-driver/test/test_collection.py:603:25 - warning: Type of "get_plan_stage" is partially unknown
+ /tmp/mypy_primer/projects/mongo-python-driver/test/asynchronous/test_collection.py:611:20 - warning: Type of "get_plan_stage" is partially unknown
- /tmp/mypy_primer/projects/mongo-python-driver/test/asynchronous/test_collection.py:611:20 - warning: Return type is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/mongo-python-driver/test/asynchronous/test_collection.py:611:20 - warning: Return type, "Unknown | dict[Unknown, Unknown]", is partially unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/mongo-python-driver/test/asynchronous/test_collection.py:614:17 - warning: Type of "stage" is partially unknown
- Type of "stage" is "Unknown | dict[Unknown, Unknown]" (reportUnknownVariableType)
- /tmp/mypy_primer/projects/mongo-python-driver/test/asynchronous/test_collection.py:614:25 - warning: Type of "get_plan_stage" is partially unknown
- 4168 errors, 49779 warnings, 0 notes
+ 4168 errors, 49774 warnings, 0 notes
koda-validate (https://github.com/keithasaurus/koda-validate)
- /tmp/mypy_primer/projects/koda-validate/examples/tour_record_1.py:14:1 - warning: Type of "person_validator" is partially unknown
- Type of "person_validator" is "RecordValidator[Unknown]" (reportUnknownVariableType)
- /tmp/mypy_primer/projects/koda-validate/examples/tour_record_1.py:23:16 - warning: Type of "person" is unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/koda-validate/examples/tour_record_1.py:29:18 - warning: Type of "name" is unknown (reportUnknownMemberType)
- 258 errors, 3071 warnings, 0 notes
+ 258 errors, 3068 warnings, 0 notes
kopf (https://github.com/nolar/kopf)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:247:5 - warning: Type of "context" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:248:5 - warning: Type of "cluster" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:249:5 - warning: Type of "user" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:252:5 - warning: Type of "provider_token" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:252:22 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:252:22 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:252:22 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:256:16 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:256:16 - warning: Argument type is Any
+ Argument corresponds to parameter "server" in function "__init__" (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:257:17 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:257:17 - warning: Argument type is Any
+ Argument corresponds to parameter "ca_path" in function "__init__" (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:258:17 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:258:17 - warning: Argument type is Any
+ Argument corresponds to parameter "ca_data" in function "__init__" (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:259:18 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:259:18 - warning: Argument type is Any
+ Argument corresponds to parameter "insecure" in function "__init__" (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:260:26 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:260:26 - warning: Argument type is Any
+ Argument corresponds to parameter "certificate_path" in function "__init__" (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:261:26 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:261:26 - warning: Argument type is Any
+ Argument corresponds to parameter "certificate_data" in function "__init__" (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:262:26 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:262:26 - warning: Argument type is Any
+ Argument corresponds to parameter "private_key_path" in function "__init__" (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:263:26 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:263:26 - warning: Argument type is Any
+ Argument corresponds to parameter "private_key_data" in function "__init__" (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:264:18 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:264:18 - warning: Argument type is Any
+ Argument corresponds to parameter "username" in function "__init__" (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:265:18 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:265:18 - warning: Argument type is Any
+ Argument corresponds to parameter "password" in function "__init__" (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:266:15 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:266:15 - warning: Argument type is Any
+ Argument corresponds to parameter "token" in function "__init__" (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:267:27 - warning: Type of "get" is Any (reportAny)
+ /tmp/mypy_primer/projects/kopf/kopf/_core/intents/piggybacking.py:267:27 - warning: Argument type is Any
+ Argument corresponds to parameter "default_namespace" in function "__init__" (reportAny)
- 1221 errors, 23139 warnings, 0 notes
+ 1221 errors, 23170 warnings, 0 notes
prefect (https://github.com/PrefectHQ/prefect)
- /tmp/mypy_primer/projects/prefect/src/integrations/prefect-dask/tests/test_task_runners.py:99:9 - warning: Type of "a" is unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/prefect/src/integrations/prefect-dask/tests/test_task_runners.py:99:12 - warning: Type of "b" is unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/prefect/src/integrations/prefect-dask/tests/test_task_runners.py:99:15 - warning: Type of "c" is unknown (reportUnknownVariableType)
+ /tmp/mypy_primer/projects/prefect/src/integrations/prefect-email/tests/test_message.py:50:26 - error: Argument of type "list[Path | Unknown]" cannot be assigned to parameter "attachments" of type "List[str] | None" in function "__call__"
+ Type "Path | Unknown" is not assignable to type "str"
+ "Path" is not assignable to "str" (reportArgumentType)
- /tmp/mypy_primer/projects/prefect/src/integrations/prefect-ray/tests/test_task_runners.py:220:9 - warning: Type of "a" is unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/prefect/src/integrations/prefect-ray/tests/test_task_runners.py:220:12 - warning: Type of "b" is unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/prefect/src/integrations/prefect-ray/tests/test_task_runners.py:220:15 - warning: Type of "c" is unknown (reportUnknownVariableType)
- 10524 errors, 84557 warnings, 0 notes
+ 10525 errors, 84551 warnings, 0 notes
core (https://github.com/home-assistant/core)
+ /tmp/mypy_primer/projects/core/homeassistant/components/alexa/capabilities.py:1427:63 - warning: "ATTR_MODE" is not exported from module "homeassistant.components.humidifier" (reportPrivateLocalImportUsage)
+ /tmp/mypy_primer/projects/core/homeassistant/components/forked_daapd/media_player.py:990:16 - warning: Type of "player" is unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/core/homeassistant/helpers/discovery_flow.py:36:25 - warning: Argument type is unknown
+ /tmp/mypy_primer/projects/core/homeassistant/helpers/discovery_flow.py:36:25 - warning: Argument type is partially unknown
- Argument corresponds to parameter "iterable" in function "__new__" (reportUnknownArgumentType)
+ Argument corresponds to parameter "iterable" in function "__new__"
- /tmp/mypy_primer/projects/core/homeassistant/helpers/discovery_flow.py:36:25 - error: "key" is unbound (reportUnboundVariable)
+ Argument type is "list[Unknown]" (reportUnknownArgumentType)
- /tmp/mypy_primer/projects/core/homeassistant/scripts/check_config.py:102:9 - warning: Type of "deps" is unknown (reportUnknownVariableType)
- 26609 errors, 315266 warnings, 0 notes
+ 26608 errors, 315267 warnings, 0 notes
mitmproxy (https://github.com/mitmproxy/mitmproxy)
+ /tmp/mypy_primer/projects/mitmproxy/mitmproxy/contrib/wbxml/ASWBXML.py:866:33 - warning: Type of "parentNode" is Any (reportAny)
+ /tmp/mypy_primer/projects/mitmproxy/mitmproxy/contrib/wbxml/ASWBXML.py:867:6 - warning: Type of "currentNode" is Any (reportAny)
+ /tmp/mypy_primer/projects/mitmproxy/mitmproxy/contrib/wbxml/ASWBXML.py:867:20 - warning: Type of "parentNode" is Any (reportAny)
- 3149 errors, 31407 warnings, 0 notes
+ 3149 errors, 31410 warnings, 0 notes
pip (https://github.com/pypa/pip)
- /tmp/mypy_primer/projects/pip/src/pip/_internal/vcs/subversion.py:136:9 - warning: Type of "entries_path" is unknown (reportUnknownVariableType)
- /tmp/mypy_primer/projects/pip/src/pip/_internal/vcs/subversion.py:138:23 - warning: Argument type is unknown
- Argument corresponds to parameter "file" in function "open" (reportUnknownArgumentType)
- /tmp/mypy_primer/projects/pip/src/pip/_vendor/distlib/wheel.py:244:9 - warning: Return type, "Generator[tuple[str | Any, str | Unknown, str | Unknown], Any, None]", is partially unknown (reportUnknownParameterType)
+ /tmp/mypy_primer/projects/pip/src/pip/_vendor/distlib/wheel.py:244:9 - warning: Return type, "Generator[tuple[str | Any | Unknown, str | Unknown, str | Unknown], Any, None]", is partially unknown (reportUnknownParameterType)
- /tmp/mypy_primer/projects/pip/src/pip/_vendor/distlib/wheel.py:456:13 - warning: Type of "pyver" is unknown (reportUnknownVariableType)
... (truncated 562 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.
fixes #830