-
Notifications
You must be signed in to change notification settings - Fork 5
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
explicit and use-site variance #846
Draft
KotlinIsland
wants to merge
1
commit into
master
Choose a base branch
from
in-out
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
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
KotlinIsland
force-pushed
the
in-out
branch
5 times, most recently
from
December 18, 2024 06:39
cbc2faa
to
f147307
Compare
KotlinIsland
force-pushed
the
in-out
branch
2 times, most recently
from
December 31, 2024 10:18
c8f1878
to
201b3fb
Compare
Diff from mypy_primer, showing the effect of this PR on open source code: dacite (https://github.com/konradhalas/dacite)
+ /tmp/mypy_primer/new_mypy/venv/lib/python3.12/site-packages/mypy/typeshed/stdlib/types.pyi:467: error: INTERNAL ERROR -- Please try using basedmypy master on GitHub:
+ https://kotlinisland.github.io/basedmypy/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/KotlinIsland/basedmypy/issues
+ version: 2.9.0+dev.a56880b6567482cba290f604d6aeb95e1b32e04f
+ note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "", line 8, in <module>
+ sys.exit(console_entry())
+ File "/__main__.py", line 15, in console_entry
+ main()
+ File "/main.py", line 114, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ File "/main.py", line 223, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/build.py", line 200, in build
+ result = _build(
+ File "/build.py", line 278, in _build
+ graph = dispatch(sources, manager, stdout)
+ File "/build.py", line 3078, in dispatch
+ process_graph(graph, manager)
+ File "/build.py", line 3478, in process_graph
+ process_stale_scc(graph, scc, manager)
+ File "/build.py", line 3579, in process_stale_scc
+ graph[id].type_check_first_pass()
+ File "/build.py", line 2446, in type_check_first_pass
+ self.type_checker().check_first_pass()
+ File "/checker.py", line 505, in check_first_pass
+ self.accept(d)
+ File "/checker.py", line 614, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1380, in accept
+ return visitor.visit_assignment_stmt(self)
+ File "/checker.py", line 3264, in visit_assignment_stmt
+ self.check_type_alias_rvalue(s)
+ File "/checker.py", line 3311, in check_type_alias_rvalue
+ alias_type = self.expr_checker.accept(s.rvalue)
+ File "/checkexpr.py", line 6171, in accept
+ typ = node.accept(self)
+ File "/nodes.py", line 2069, in accept
+ return visitor.visit_index_expr(self)
+ File "/checkexpr.py", line 4506, in visit_index_expr
+ result = self.visit_index_expr_helper(e)
+ File "/checkexpr.py", line 4520, in visit_index_expr_helper
+ return self.accept(e.analyzed)
+ File "/checkexpr.py", line 6171, in accept
+ typ = node.accept(self)
+ ^^^^^^^^^^^^^^^^^
+ File "/nodes.py", line 2765, in accept
+ return visitor.visit_type_alias_expr(self)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/checkexpr.py", line 4991, in visit_type_alias_expr
+ return self.alias_type_in_runtime_context(alias.node, ctx=alias, alias_definition=True)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/checkexpr.py", line 5019, in alias_type_in_runtime_context
+ item = get_proper_type(
+ ^^^^^^^^^^^^^^^^
+ File "/types.py", line 3575, in get_proper_type
+ typ = typ._expand_once()
+ ^^^^^^^^^^^^^^^^^^
+ File "/types.py", line 347, in _expand_once
+ v.id: apply_explicit_variance(v, s)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/types.py", line 340, in apply_explicit_variance
+ if type_var.variance != VARIANCE_NOT_READY:
+ ^^^^^^^^^^^^^^^^^
+ AttributeError: 'ParamSpecType' object has no attribute 'variance'
- dacite/frozen_dict.py:4:18: error: Missing type parameters for generic type "Mapping" [type-arg]
- dacite/frozen_dict.py:4:18: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-type-arg for more info
- dacite/frozen_dict.py: note: In member "__init__" of class "FrozenDict":
- dacite/frozen_dict.py:7:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- dacite/frozen_dict.py:7:5: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-untyped-def for more info
- dacite/frozen_dict.py:8:37: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/frozen_dict.py:8:37: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-any-expr for more info
- dacite/frozen_dict.py:8:45: error: Expression type contains "Any" (has type "dict[str, Untyped]") [no-any-expr]
- dacite/frozen_dict.py: note: In member "__getitem__" of class "FrozenDict":
- dacite/frozen_dict.py:11:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- dacite/frozen_dict.py:11:5: error: Method "__getitem__" is not using @override but is overriding a method in class "typing.Mapping" [explicit-override]
- dacite/frozen_dict.py:11:5: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-explicit-override for more info
- dacite/frozen_dict.py:12:9: error: Returning Any from function declared to return "None" [no-any-return]
- dacite/frozen_dict.py:12:9: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-any-return for more info
- dacite/frozen_dict.py:12:27: error: Expression has type "Untyped" [no-any-expr]
- dacite/frozen_dict.py: note: In member "__contains__" of class "FrozenDict":
- dacite/frozen_dict.py:14:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- dacite/frozen_dict.py:14:5: error: Return type "None" of "__contains__" incompatible with return type "bool" in supertype "Mapping" [override]
- dacite/frozen_dict.py:14:5: error: Return type "None" of "__contains__" incompatible with return type "bool" in supertype "Container" [override]
- dacite/frozen_dict.py:14:5: error: Method "__contains__" is not using @override but is overriding a method in class "typing.Mapping" [explicit-override]
- dacite/frozen_dict.py:15:9: error: No return value expected [return-value]
- dacite/frozen_dict.py:15:16: error: Expression has type "Untyped" [no-any-expr]
- dacite/frozen_dict.py: note: In member "copy" of class "FrozenDict":
- dacite/frozen_dict.py:17:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- dacite/frozen_dict.py:18:9: error: No return value expected [return-value]
- dacite/frozen_dict.py:18:39: error: Expression type contains "Any" (has type "dict[str, Untyped]") [no-any-expr]
- dacite/frozen_dict.py: note: In member "__iter__" of class "FrozenDict":
- dacite/frozen_dict.py:20:5: error: Return type "None" of "__iter__" incompatible with return type "Iterator[Untyped]" in supertype "Iterable" [override]
- dacite/frozen_dict.py:20:5: error: Method "__iter__" is not using @override but is overriding a method in class "typing.Iterable" [explicit-override]
- dacite/frozen_dict.py:21:9: error: No return value expected [return-value]
- dacite/frozen_dict.py: note: In member "__len__" of class "FrozenDict":
- dacite/frozen_dict.py:23:5: error: Return type "None" of "__len__" incompatible with return type "int" in supertype "Collection" [override]
- dacite/frozen_dict.py:23:5: error: Method "__len__" is not using @override but is overriding a method in class "typing.Collection" [explicit-override]
- dacite/frozen_dict.py:24:9: error: No return value expected [return-value]
- dacite/frozen_dict.py: note: In member "__repr__" of class "FrozenDict":
- dacite/frozen_dict.py:26:5: error: Return type "None" of "__repr__" incompatible with return type "str" in supertype "object" [override]
- dacite/frozen_dict.py:26:5: error: Method "__repr__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- dacite/frozen_dict.py:27:9: error: No return value expected [return-value]
- dacite/frozen_dict.py: note: In member "__hash__" of class "FrozenDict":
- dacite/frozen_dict.py:29:5: error: Return type "None" of "__hash__" incompatible with return type "int" in supertype "object" [override]
- dacite/frozen_dict.py:29:5: error: Method "__hash__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- dacite/frozen_dict.py:30:12: error: Condition is always true [redundant-expr]
- dacite/frozen_dict.py:30:12: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-redundant-expr for more info
- dacite/frozen_dict.py:31:26: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment]
- dacite/frozen_dict.py:33:17: error: Unsupported operand types for ^ ("None" and "int") [operator]
- dacite/frozen_dict.py:33:17: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-operator for more info
- dacite/frozen_dict.py:33:17: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment]
- dacite/data.py:3:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/data.py:3:1: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-any-explicit for more info
- dacite/config.py:8: error: Unused "type: ignore" comment [unused-ignore]
- dacite/config.py:11: error: "type: ignore" comment without error code (consider "type: ignore[assignment, misc]" instead) [ignore-without-code]
- dacite/config.py: note: In member "__init__" of class "Config":
- dacite/config.py:15: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/config.py: note: In member "__mypy-replace" of class "Config":
- dacite/config.py:15: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/config.py: note: In class "Config":
- dacite/config.py:15: error: Type of decorated function contains type "Any" ("def (*, type_hooks: dict[type[Untyped], (Any) -> Any] = ..., cast: list[type[Untyped]] = ..., forward_references: dict[str, Any] | None = ..., check_types: bool = ..., strict: bool = ..., strict_unions_match: bool = ...) -> None") [no-any-decorated]
- dacite/config.py:15: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-any-decorated for more info
- dacite/config.py:16:5: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/config.py:16:22: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/config.py:17:16: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/config.py:18:5: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/config.py: note: In member "hashable_forward_references" of class "Config":
- dacite/config.py:25:27: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- dacite/config.py:25:55: error: Expression type contains "Any" (has type "dict[str, Any] | None") [no-any-expr]
- dacite/cache.py:4:24: error: Missing type parameters for generic type "Callable" [type-arg]
- dacite/cache.py:9:2: error: Expression type contains "Any" (has type "def [T: (...) -> Untyped] (function: T) -> T") [no-any-expr]
- dacite/cache.py:10:1: error: Type of decorated function contains type "Any" ("_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-decorated]
- dacite/cache.py:11: error: "type: ignore" comment without error code (consider "type: ignore[no-any-expr, return-value]" instead) [ignore-without-code]
- dacite/cache.py: note: In function "clear_cache":
- dacite/cache.py:25:5: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:16:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/types.py:19:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:19:2: error: Expression type contains "Any" (has type "def (collection: type[Untyped]) -> type[Untyped]") [no-any-expr]
- dacite/types.py:20:1: error: Type of decorated function contains type "Any" ("def (collection: type[Untyped]) -> type[Untyped]") [no-any-decorated]
- dacite/types.py: note: In function "extract_origin_collection":
- dacite/types.py:20:43: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:20:52: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:22:9: error: Returning Any from function declared to return "type[Untyped]" [no-any-return]
- dacite/types.py:22:16: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:24:9: error: Returning Any from function declared to return "type[Untyped]" [no-any-return]
- dacite/types.py:24:16: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:27:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:27:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped]) -> bool") [no-any-expr]
- dacite/types.py:28:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped]) -> bool") [no-any-decorated]
- dacite/types.py: note: In function "is_optional":
- dacite/types.py:28:24: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:29:12: error: Call to incomplete function "is_union" in typed context [no-untyped-call]
- dacite/types.py:29:12: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:29:21: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:29:46: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/types.py:29:46: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/types.py:29:46: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:29:62: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:32:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:32:2: error: Expression type contains "Any" (has type "def [T: Any] (optional: type[T] | type[None]) -> T") [no-any-expr]
- dacite/types.py: note: In function "extract_optional":
- dacite/types.py:33:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/types.py: note: At top level:
- dacite/types.py:33:1: error: Type of decorated function contains type "Any" ("def [T: Any] (optional: type[T] | type[None]) -> T") [no-any-decorated]
- dacite/types.py: note: In function "extract_optional":
- dacite/types.py:33:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/types.py:34:21: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:34:21: error: Expression type contains "Any" (has type "list[Any (from omitted generics)]") [no-any-expr]
- dacite/types.py:34:22: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:34:43: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/types.py:34:43: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/types.py:34:43: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:34:59: error: Expression type contains "Any" (has type "type[T@extract_optional] | type[None]") [no-any-expr]
- dacite/types.py:34:72: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:35:8: error: Expression type contains "Any" (has type "list[Any (from omitted generics)]") [no-any-expr]
- dacite/types.py:36:16: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/types.py:36:16: error: Expression type contains "Any" (has type "T@extract_optional") [no-any-expr]
- dacite/types.py:36:37: error: Expression type contains "Any" (has type "tuple[Any (from omitted generics), ...]") [no-any-expr]
- dacite/types.py:36:43: error: Expression type contains "Any" (has type "list[Any (from omitted generics)]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:41:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:41:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped]) -> bool") [no-any-expr]
- dacite/types.py:42:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped]) -> bool") [no-any-decorated]
- dacite/types.py: note: In function "is_generic":
- dacite/types.py:42:23: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:43:20: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:46:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:46:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped]) -> bool") [no-any-expr]
- dacite/types.py:47:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped]) -> bool") [no-any-decorated]
- dacite/types.py: note: In function "is_union":
- dacite/types.py:47:21: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:48:8: error: Call to incomplete function "is_generic" in typed context [no-untyped-call]
- dacite/types.py:48:8: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:48:8: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-untyped-call for more info
- dacite/types.py:48:19: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:48:30: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:52: error: Unused "type: ignore" comment [unused-ignore]
- dacite/types.py: note: In function "is_union":
- dacite/types.py:54:27: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:59:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:59:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped]) -> bool") [no-any-expr]
- dacite/types.py:60:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped]) -> bool") [no-any-decorated]
- dacite/types.py: note: In function "is_tuple":
- dacite/types.py:60:21: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:61:12: error: Call to incomplete function "is_subclass" in typed context [no-untyped-call]
- dacite/types.py:61:12: note: Type is "def (sub_type: type[Untyped], base_type: type[Untyped]) -> bool"
- dacite/types.py:61:24: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:64:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:64:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped]) -> bool") [no-any-expr]
- dacite/types.py:65:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped]) -> bool") [no-any-decorated]
- dacite/types.py: note: In function "is_literal":
- dacite/types.py:65:23: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py: note: At top level:
- dacite/types.py:67: error: Unused "type: ignore" comment [unused-ignore]
- dacite/types.py: note: In function "is_literal":
- dacite/types.py:69:16: error: Call to incomplete function "is_generic" in typed context [no-untyped-call]
- dacite/types.py:69:16: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:69:27: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:69:38: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:74:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:74:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped]) -> bool") [no-any-expr]
- dacite/types.py:75:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped]) -> bool") [no-any-decorated]
- dacite/types.py: note: In function "is_new_type":
- dacite/types.py:75:24: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:76:20: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:79:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:79:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped]) -> type[Untyped]") [no-any-expr]
- dacite/types.py:80:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped]) -> type[Untyped]") [no-any-decorated]
- dacite/types.py: note: In function "extract_new_type":
- dacite/types.py:80:29: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:80:38: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:81:5: error: Returning Any from function declared to return "type[Untyped]" [no-any-return]
- dacite/types.py:81:12: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:84:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:84:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped]) -> bool") [no-any-expr]
- dacite/types.py:85:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped]) -> bool") [no-any-decorated]
- dacite/types.py: note: In function "is_init_var":
- dacite/types.py:85:24: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:86:12: error: Left operand of "or" is always false [redundant-expr]
- dacite/types.py:86:23: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:86:42: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:89:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:89:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped]) -> type[Untyped] | Any") [no-any-expr]
- dacite/types.py: note: In function "extract_init_var":
- dacite/types.py:90:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/types.py: note: At top level:
- dacite/types.py:90:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped]) -> type[Untyped] | Any") [no-any-decorated]
- dacite/types.py: note: In function "extract_init_var":
- dacite/types.py:90:29: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:90:44: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:92:16: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: In function "is_instance":
- dacite/types.py:97:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/types.py:97:36: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:100:13: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:100:54: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:100:90: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:100:97: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:104:8: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:104:8: error: Non-overlapping equality check (left operand type: "type[Untyped]", right operand type: "<typing special form>") [comparison-overlap]
- dacite/types.py:104:8: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-comparison-overlap for more info
- dacite/types.py:106:10: error: Call to incomplete function "is_union" in typed context [no-untyped-call]
- dacite/types.py:106:10: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:106:19: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:107:19: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:107:20: error: Call to incomplete function "is_instance" in typed context [no-untyped-call]
- dacite/types.py:107:20: note: Type is "def (value: Any, type_: type[Untyped]) -> bool"
- dacite/types.py:107:32: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:107:39: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:107:51: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/types.py:107:51: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/types.py:107:51: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:107:67: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:108:10: error: Call to incomplete function "is_generic_collection" in typed context [no-untyped-call]
- dacite/types.py:108:10: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:108:32: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:109:18: error: Call to incomplete function "extract_origin_collection" in typed context [no-untyped-call]
- dacite/types.py:109:18: note: Type is "def (collection: type[Untyped]) -> type[Untyped]"
- dacite/types.py:109:18: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:109:44: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:110:27: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:110:34: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:112:16: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/types.py:112:16: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/types.py:112:16: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:112:32: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:114:23: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:114:41: error: Call to incomplete function "is_tuple" in typed context [no-untyped-call]
- dacite/types.py:114:41: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:114:50: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:115:27: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/types.py:115:27: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/types.py:115:27: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:115:43: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:116:16: error: Expression type contains "Any" (has type "False | Any (from omitted generics)") [no-any-expr]
- dacite/types.py:116:20: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:116:42: error: Expression type contains "Any" (has type "(Untyped,)") [no-any-expr]
- dacite/types.py:116:42: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:116:42: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- dacite/types.py:118:22: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:118:44: error: Expression type contains "Any" (has type "(Untyped, Untyped)") [no-any-expr]
- dacite/types.py:118:44: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:119:28: error: Call to incomplete function "is_instance" in typed context [no-untyped-call]
- dacite/types.py:119:28: note: Type is "def (value: Any, type_: type[Untyped]) -> bool"
- dacite/types.py:119:46: error: Expression type contains "Any" (has type "(Untyped, Untyped)") [no-any-expr]
- dacite/types.py:119:46: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:121:24: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:123:27: error: Expression type contains "Any" (has type "(Any, Any (from omitted generics))") [no-any-expr]
- dacite/types.py:123:27: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:123:27: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- dacite/types.py:123:28: error: Call to incomplete function "is_instance" in typed context [no-untyped-call]
- dacite/types.py:123:28: note: Type is "def (value: Any, type_: type[Untyped]) -> bool"
- dacite/types.py:123:40: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:123:46: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- dacite/types.py:123:80: error: Expression type contains "Any" (has type "zip[(Any, Any (from omitted generics))]") [no-any-expr]
- dacite/types.py:123:91: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:124:23: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:125:13: error: Usage of untyped name "key_type" in typed context [no-untyped-usage]
- dacite/types.py:125:13: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-untyped-usage for more info
- dacite/types.py:125:23: error: Usage of untyped name "val_type" in typed context [no-untyped-usage]
- dacite/types.py:125:34: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/types.py:125:34: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/types.py:125:34: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:125:34: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:125:50: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:127:24: error: Call to incomplete function "is_instance" in typed context [no-untyped-call]
- dacite/types.py:127:24: note: Type is "def (value: Any, type_: type[Untyped]) -> bool"
- dacite/types.py:127:41: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:127:58: error: Call to incomplete function "is_instance" in typed context [no-untyped-call]
- dacite/types.py:127:58: note: Type is "def (value: Any, type_: type[Untyped]) -> bool"
- dacite/types.py:127:75: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:130:19: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:130:20: error: Call to incomplete function "is_instance" in typed context [no-untyped-call]
- dacite/types.py:130:20: note: Type is "def (value: Any, type_: type[Untyped]) -> bool"
- dacite/types.py:130:32: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:130:38: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/types.py:130:38: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/types.py:130:38: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:130:38: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:130:54: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:130:94: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:131:10: error: Call to incomplete function "is_new_type" in typed context [no-untyped-call]
- dacite/types.py:131:10: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:131:22: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:132:16: error: Call to incomplete function "is_instance" in typed context [no-untyped-call]
- dacite/types.py:132:16: note: Type is "def (value: Any, type_: type[Untyped]) -> bool"
- dacite/types.py:132:28: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:132:35: error: Call to incomplete function "extract_new_type" in typed context [no-untyped-call]
- dacite/types.py:132:35: note: Type is "def (type_: type[Untyped]) -> type[Untyped]"
- dacite/types.py:132:35: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:132:52: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:133:10: error: Call to incomplete function "is_literal" in typed context [no-untyped-call]
- dacite/types.py:133:10: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:133:21: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:134:16: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:134:25: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/types.py:134:25: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/types.py:134:25: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:134:41: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:135:10: error: Call to incomplete function "is_init_var" in typed context [no-untyped-call]
- dacite/types.py:135:10: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:135:22: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:136:16: error: Call to incomplete function "is_instance" in typed context [no-untyped-call]
- dacite/types.py:136:16: note: Type is "def (value: Any, type_: type[Untyped]) -> bool"
- dacite/types.py:136:28: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:136:35: error: Call to incomplete function "extract_init_var" in typed context [no-untyped-call]
- dacite/types.py:136:35: note: Type is "def (type_: type[Untyped]) -> type[Untyped] | Any"
- dacite/types.py:136:35: error: Expression type contains "Any" (has type "type[Untyped] | Any") [no-any-expr]
- dacite/types.py:136:52: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:137:10: error: Call to incomplete function "is_type_generic" in typed context [no-untyped-call]
- dacite/types.py:137:10: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:137:26: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:138:16: error: Call to incomplete function "is_subclass" in typed context [no-untyped-call]
- dacite/types.py:138:16: note: Type is "def (sub_type: type[Untyped], base_type: type[Untyped]) -> bool"
- dacite/types.py:138:28: error: Expression has type "Any" [no-any-expr]
- dacite/types.py:138:35: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/types.py:138:35: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/types.py:138:35: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:138:35: error: Expression has type "Untyped" [no-any-expr]
- dacite/types.py:138:51: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:143:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:143:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped]) -> bool") [no-any-expr]
- dacite/types.py:144:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped]) -> bool") [no-any-decorated]
- dacite/types.py: note: In function "is_generic_collection":
- dacite/types.py:144:34: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:145:12: error: Call to incomplete function "is_generic" in typed context [no-untyped-call]
- dacite/types.py:145:12: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:145:23: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:147:14: error: Call to incomplete function "extract_origin_collection" in typed context [no-untyped-call]
- dacite/types.py:147:14: note: Type is "def (collection: type[Untyped]) -> type[Untyped]"
- dacite/types.py:147:14: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:147:40: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:149:21: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:149:21: error: Expression type contains "Any" (has type "type[Untyped] | bool") [no-any-expr]
- dacite/types.py:149:43: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:154:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:154:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped], defaults: tuple[Untyped, ...]=...) -> tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:155:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped], defaults: tuple[Untyped, ...]=...) -> tuple[Untyped, ...]") [no-any-decorated]
- dacite/types.py: note: In function "extract_generic":
- dacite/types.py:155:28: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:155:44: error: Missing type parameters for generic type "Tuple" [type-arg]
- dacite/types.py:155:59: error: Missing type parameters for generic type "tuple" [type-arg]
- dacite/types.py:157:20: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:158:20: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py:159:12: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:160:21: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:161: error: "type: ignore" comment without error code (consider "type: ignore[no-any-expr]" instead) [ignore-without-code]
- dacite/types.py: note: In function "extract_generic":
- dacite/types.py:163:16: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:166:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:166:2: error: Expression type contains "Any" (has type "def (sub_type: type[Untyped], base_type: type[Untyped]) -> bool") [no-any-expr]
- dacite/types.py:167:1: error: Type of decorated function contains type "Any" ("def (sub_type: type[Untyped], base_type: type[Untyped]) -> bool") [no-any-decorated]
- dacite/types.py: note: In function "is_subclass":
- dacite/types.py:167:27: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:167:44: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:168:8: error: Call to incomplete function "is_generic_collection" in typed context [no-untyped-call]
- dacite/types.py:168:8: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/types.py:168:30: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:169:20: error: Call to incomplete function "extract_origin_collection" in typed context [no-untyped-call]
- dacite/types.py:169:20: note: Type is "def (collection: type[Untyped]) -> type[Untyped]"
- dacite/types.py:169:46: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:171:27: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py:171:37: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/types.py: note: At top level:
- dacite/types.py:176:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/types.py:176:2: error: Expression type contains "Any" (has type "def (type_: type[Untyped]) -> bool") [no-any-expr]
- dacite/types.py:177:1: error: Type of decorated function contains type "Any" ("def (type_: type[Untyped]) -> bool") [no-any-decorated]
- dacite/types.py: note: In function "is_type_generic":
- dacite/types.py:177:28: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/types.py:179:16: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/exceptions.py: note: In function "_name":
- dacite/exceptions.py:5:18: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/exceptions.py:6:12: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/exceptions.py:6:38: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/exceptions.py:6:65: error: Call to incomplete function "is_union" in typed context [no-untyped-call]
- dacite/exceptions.py:6:65: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/exceptions.py:6:74: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/exceptions.py:6:90: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/exceptions.py: note: In member "__init__" of class "WrongTypeError":
- dacite/exceptions.py:26:5: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/exceptions.py:26:36: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/exceptions.py:28:27: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/exceptions.py:29:22: error: Expression has type "Any" [no-any-expr]
- dacite/exceptions.py: note: In member "__str__" of class "WrongTypeError":
- dacite/exceptions.py:31:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- dacite/exceptions.py:33:43: error: The string for "None" isn't helpful in a user-facing or semantic string [helpful-string]
- dacite/exceptions.py:33:43: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-helpful-string for more info
- dacite/exceptions.py:33:75: error: Call to incomplete function "_name" in typed context [no-untyped-call]
- dacite/exceptions.py:33:75: note: Type is "def (type_: type[Untyped]) -> str"
- dacite/exceptions.py:33:82: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/exceptions.py:34:33: error: Expression has type "Any" [no-any-expr]
- dacite/exceptions.py:34:56: error: Call to incomplete function "_name" in typed context [no-untyped-call]
- dacite/exceptions.py:34:56: note: Type is "def (type_: type[Untyped]) -> str"
- dacite/exceptions.py:34:63: error: Expression type contains "Any" (has type "type[Any]") [no-any-expr]
- dacite/exceptions.py:34:68: error: Expression has type "Any" [no-any-expr]
- dacite/exceptions.py: note: In member "__str__" of class "MissingValueError":
- dacite/exceptions.py:42:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- dacite/exceptions.py:43:43: error: The string for "None" isn't helpful in a user-facing or semantic string [helpful-string]
- dacite/exceptions.py: note: In member "__str__" of class "UnionMatchError":
- dacite/exceptions.py:47:5: error: Method "__str__" is not using @override but is overriding a method in class "dacite.exceptions.WrongTypeError" [explicit-override]
- dacite/exceptions.py:49:35: error: Call to incomplete function "_name" in typed context [no-untyped-call]
- dacite/exceptions.py:49:35: note: Type is "def (type_: type[Untyped]) -> str"
- dacite/exceptions.py:49:42: error: Expression type contains "Any" (has type "type[Any]") [no-any-expr]
- dacite/exceptions.py:49:47: error: Expression has type "Any" [no-any-expr]
- dacite/exceptions.py:50:19: error: The string for "None" isn't helpful in a user-facing or semantic string [helpful-string]
- dacite/exceptions.py:50:45: error: Call to incomplete function "_name" in typed context [no-untyped-call]
- dacite/exceptions.py:50:45: note: Type is "def (type_: type[Untyped]) -> str"
- dacite/exceptions.py:50:52: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/exceptions.py: note: In member "__init__" of class "StrictUnionMatchError":
- dacite/exceptions.py:55:5: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/exceptions.py:55:44: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/exceptions.py:57:30: error: Expression type contains "Any" (has type "dict[type[Untyped], Any]") [no-any-expr]
- dacite/exceptions.py: note: In member "__str__" of class "StrictUnionMatchError":
- dacite/exceptions.py:59:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- dacite/exceptions.py:60:38: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/exceptions.py:60:39: error: Call to incomplete function "_name" in typed context [no-untyped-call]
- dacite/exceptions.py:60:39: note: Type is "def (type_: type[Untyped]) -> str"
- dacite/exceptions.py:60:45: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/exceptions.py:60:65: error: Expression type contains "Any" (has type "dict[type[Untyped], Any]") [no-any-expr]
- dacite/exceptions.py:61:75: error: The string for "None" isn't helpful in a user-facing or semantic string [helpful-string]
- dacite/exceptions.py: note: In member "__str__" of class "ForwardReferenceError":
- dacite/exceptions.py:69:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- dacite/exceptions.py: note: In member "__str__" of class "UnexpectedDataError":
- dacite/exceptions.py:78:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- dacite/dataclasses.py:1: error: "type: ignore" comment without error code (consider "type: ignore[attr-defined]" instead) [ignore-without-code]
- dacite/dataclasses.py:7:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/dataclasses.py: note: In function "get_default_value_for_field":
- dacite/dataclasses.py:14:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/dataclasses.py:14:40: error: Missing type parameters for generic type "Field" [type-arg]
- dacite/dataclasses.py:14:54: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/dataclasses.py:15:8: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/dataclasses.py:15:8: error: Expression type contains "Any" (has type "Untyped | _MISSING_TYPE.MISSING") [no-any-expr]
- dacite/dataclasses.py:15:8: error: Expression type contains "Any" (has type "Any (from omitted generics) | bool") [no-any-expr]
- dacite/dataclasses.py:16:16: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/dataclasses.py:16:16: error: Expression type contains "Any" (has type "Untyped | _MISSING_TYPE.MISSING") [no-any-expr]
- dacite/dataclasses.py: note: At top level:
- dacite/dataclasses.py:17: error: "type: ignore" comment without error code (consider "type: ignore[no-any-expr]" instead) [ignore-without-code]
- dacite/dataclasses.py:18: error: "type: ignore" comment without error code (consider "type: ignore[no-any-expr]" instead) [ignore-without-code]
- dacite/dataclasses.py: note: In function "get_default_value_for_field":
- dacite/dataclasses.py:19:10: error: Call to incomplete function "is_optional" in typed context [no-untyped-call]
- dacite/dataclasses.py:19:10: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/dataclasses.py:19:22: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/dataclasses.py: note: At top level:
- dacite/dataclasses.py:24:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/dataclasses.py:24:2: error: Expression type contains "Any" (has type "def [T: Any] (data_class: type[T]) -> list[Field[Untyped]]") [no-any-expr]
- dacite/dataclasses.py: note: In function "get_fields":
- dacite/dataclasses.py:25:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/dataclasses.py: note: At top level:
- dacite/dataclasses.py:25:1: error: Type of decorated function contains type "Any" ("def [T: Any] (data_class: type[T]) -> list[Field[Untyped]]") [no-any-decorated]
- dacite/dataclasses.py: note: In function "get_fields":
- dacite/dataclasses.py:25:45: error: Missing type parameters for generic type "Field" [type-arg]
- dacite/dataclasses.py:26:22: error: Expression type contains "Any" (has type "type[T@get_fields]") [no-any-expr]
- dacite/dataclasses.py:26:34: error: Expression has type "Any (from unimported type)" [no-any-expr]
- dacite/dataclasses.py:27:12: error: Expression type contains "Any" (has type "list[Field[Untyped]]") [no-any-expr]
- dacite/dataclasses.py:27:24: error: "object" has no attribute "values" [attr-defined]
- dacite/dataclasses.py:27:60: error: Expression has type "Any (from unimported type)" [no-any-expr]
- dacite/dataclasses.py:27:87: error: Expression has type "Any (from unimported type)" [no-any-expr]
- dacite/dataclasses.py: note: At top level:
- dacite/dataclasses.py:30:2: error: Expression type contains "Any" (has type "_lru_cache_wrapper[def [T: (...) -> Untyped] (function: T) -> T]") [no-any-expr]
- dacite/dataclasses.py:30:2: error: Expression type contains "Any" (has type "def [T: Any] (data_class: type[T]) -> bool") [no-any-expr]
- dacite/dataclasses.py: note: In function "is_frozen":
- dacite/dataclasses.py:31:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/dataclasses.py: note: At top level:
- dacite/dataclasses.py:31:1: error: Type of decorated function contains type "Any" ("def [T: Any] (data_class: type[T]) -> bool") [no-any-decorated]
- dacite/dataclasses.py: note: In function "is_frozen":
- dacite/dataclasses.py:32:5: error: Returning Any from function declared to return "bool" [no-any-return]
- dacite/dataclasses.py:32:12: error: Expression type contains "Any" (has type "type[T@is_frozen]") [no-any-expr]
- dacite/core.py: note: In function "from_dict":
- dacite/core.py:47:5: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/core.py:48:5: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/core.py:51:28: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- dacite/core.py:51:34: error: Expression type contains "Any" (has type "def (obj: object | (...) -> Any | def (...) -> Any | BuiltinFunctionType[[*Untyped, **Untyped], Untyped] | MethodType | Module | WrapperDescriptorType | MethodWrapperType | MethodDescriptorType, globalns: dict[str, Any] | None=..., localns: Mapping[str, Any] | None=..., include_extras: bool=...) -> dict[str, Any]") [no-any-expr]
- dacite/core.py:54:25: error: Expression type contains "Any" (has type "list[Field[Untyped]]") [no-any-expr]
- dacite/core.py:54:31: error: Expression type contains "Any" (has type "def [T: Any] (data_class: type[T]) -> list[Field[Untyped]]") [no-any-expr]
- dacite/core.py:56:43: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:56:44: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:56:60: error: Expression type contains "Any" (has type "list[Field[Untyped]]") [no-any-expr]
- dacite/core.py:59:5: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:59:18: error: Expression type contains "Any" (has type "list[Field[Untyped]]") [no-any-expr]
- dacite/core.py:60:22: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- dacite/core.py:60:22: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:60:39: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:61:12: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:63:35: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:64:25: error: Call to incomplete function "_build_value" in typed context [no-untyped-call]
- dacite/core.py:64:25: note: Type is "def (type_: type[Untyped], data: Any, config: dacite.config.Config) -> Any"
- dacite/core.py:64:25: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:64:44: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:66:35: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:68:43: error: Call to incomplete function "is_instance" in typed context [no-untyped-call]
- dacite/core.py:68:43: note: Type is "def (value: Any, type_: type[Untyped]) -> bool"
- dacite/core.py:68:55: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:68:62: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:69:49: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:69:72: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:69:90: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:72:25: error: Call to incomplete function "get_default_value_for_field" in typed context [no-untyped-call]
- dacite/core.py:72:25: note: Type is "def (field: dataclasses.Field[Untyped], type_: type[Untyped]) -> Any"
- dacite/core.py:72:25: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:72:53: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:72:60: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:74:24: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:76:41: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:77:12: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:78:13: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- dacite/core.py:78:25: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:78:39: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:80:13: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- dacite/core.py:80:30: error: Expression type contains "Any" (has type "Field[Untyped]") [no-any-expr]
- dacite/core.py:80:44: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:81:29: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- dacite/core.py:82:5: error: Expression type contains "Any" (has type "(str, Any)") [no-any-expr]
- dacite/core.py:82:5: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:82:23: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- dacite/core.py:82:23: error: Expression type contains "Any" (has type "dict_items[str, Any]") [no-any-expr]
- dacite/core.py:83:32: error: Expression has type "Any" [no-any-expr]
- dacite/core.py: note: In function "_build_value":
- dacite/core.py:87:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/core.py:87:25: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/core.py:88:8: error: Call to incomplete function "is_init_var" in typed context [no-untyped-call]
- dacite/core.py:88:8: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/core.py:88:20: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:89:17: error: Call to incomplete function "extract_init_var" in typed context [no-untyped-call]
- dacite/core.py:89:17: note: Type is "def (type_: type[Untyped]) -> type[Untyped] | Any"
- dacite/core.py:89:34: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:90:8: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:90:17: error: Expression type contains "Any" (has type "dict[type[Untyped], (Any) -> Any]") [no-any-expr]
- dacite/core.py:91:16: error: Expression type contains "Any" (has type "dict[type[Untyped], (Any) -> Any]") [no-any-expr]
- dacite/core.py:91:16: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:91:34: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:91:41: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:92:8: error: Call to incomplete function "is_optional" in typed context [no-untyped-call]
- dacite/core.py:92:8: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/core.py:92:20: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:92:31: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:94:8: error: Call to incomplete function "is_union" in typed context [no-untyped-call]
- dacite/core.py:94:8: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/core.py:94:17: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:95:16: error: Call to incomplete function "_build_value_for_union" in typed context [no-untyped-call]
- dacite/core.py:95:16: note: Type is "def (union: type[Untyped], data: Any, config: dacite.config.Config) -> Any"
- dacite/core.py:95:16: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:95:45: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:95:57: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:96:10: error: Call to incomplete function "is_generic_collection" in typed context [no-untyped-call]
- dacite/core.py:96:10: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/core.py:96:32: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:97:16: error: Call to incomplete function "_build_value_for_collection" in typed context [no-untyped-call]
- dacite/core.py:97:16: note: Type is "def (collection: type[Untyped], data: Any, config: dacite.config.Config) -> Any"
- dacite/core.py:97:16: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:97:55: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:97:67: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:98:30: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:98:52: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:99:16: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- dacite/core.py:99:37: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:100:5: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:100:22: error: Expression type contains "Any" (has type "list[type[Untyped]]") [no-any-expr]
- dacite/core.py:101:12: error: Call to incomplete function "is_subclass" in typed context [no-untyped-call]
- dacite/core.py:101:12: note: Type is "def (sub_type: type[Untyped], base_type: type[Untyped]) -> bool"
- dacite/core.py:101:24: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:101:31: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:102:16: error: Call to incomplete function "is_generic_collection" in typed context [no-untyped-call]
- dacite/core.py:102:16: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/core.py:102:38: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:103:24: error: Call to incomplete function "extract_origin_collection" in typed context [no-untyped-call]
- dacite/core.py:103:24: note: Type is "def (collection: type[Untyped]) -> type[Untyped]"
- dacite/core.py:103:24: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- dacite/core.py:103:50: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:103:57: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:105:24: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- dacite/core.py:105:30: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:107:12: error: Expression has type "Any" [no-any-expr]
- dacite/core.py: note: In function "_build_value_for_union":
- dacite/core.py:110:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/core.py:110:35: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/core.py:111:13: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/core.py:111:13: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/core.py:111:13: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/core.py:111:29: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:112:8: error: Call to incomplete function "is_optional" in typed context [no-untyped-call]
- dacite/core.py:112:8: note: Type is "def (type_: type[Untyped]) -> bool"
- dacite/core.py:112:20: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:112:35: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/core.py:113:16: error: Call to incomplete function "_build_value" in typed context [no-untyped-call]
- dacite/core.py:113:16: note: Type is "def (type_: type[Untyped], data: Any, config: dacite.config.Config) -> Any"
- dacite/core.py:113:16: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:113:35: error: Expression type contains "Any" (has type "(Untyped, Untyped)") [no-any-expr]
- dacite/core.py:113:35: error: Expression has type "Untyped" [no-any-expr]
- dacite/core.py:113:50: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:115:5: error: Expression has type "Untyped" [no-any-expr]
- dacite/core.py:115:23: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/core.py:119:25: error: Call to incomplete function "_build_value" in typed context [no-untyped-call]
- dacite/core.py:119:25: note: Type is "def (type_: type[Untyped], data: Any, config: dacite.config.Config) -> Any"
- dacite/core.py:119:25: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:119:44: error: Expression has type "Untyped" [no-any-expr]
- dacite/core.py:119:61: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:122:16: error: Call to incomplete function "is_instance" in typed context [no-untyped-call]
- dacite/core.py:122:16: note: Type is "def (value: Any, type_: type[Untyped]) -> bool"
- dacite/core.py:122:28: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:122:35: error: Expression has type "Untyped" [no-any-expr]
- dacite/core.py:124:21: error: Expression type contains "Any" (has type "dict[Untyped, Any]") [no-any-expr]
- dacite/core.py:124:21: error: Untyped indexed-assignment to "union_matches" in typed context [no-untyped-usage]
- dacite/core.py:124:35: error: Expression has type "Untyped" [no-any-expr]
- dacite/core.py:124:49: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:126:28: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:130:16: error: Expression type contains "Any" (has type "dict[Untyped, Any]") [no-any-expr]
- dacite/core.py:131:41: error: Expression type contains "Any" (has type "dict[Untyped, Any]") [no-any-expr]
- dacite/core.py:132:16: error: Expression type contains "Any" (has type "dict[Untyped, Any]") [no-any-expr]
- dacite/core.py:132:16: error: Call to incomplete function "popitem" of "MutableMapping" in typed context [no-untyped-call]
- dacite/core.py:132:16: note: Type is "_NamedCallable & () -> (Untyped, Any)"
- dacite/core.py:132:16: error: Expression type contains "Any" (has type "(Untyped, Any)") [no-any-expr]
- dacite/core.py:132:16: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:134:16: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:135:38: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:135:51: error: Expression has type "Any" [no-any-expr]
- dacite/core.py: note: In function "_build_value_for_collection":
- dacite/core.py:138:1: error: Explicit "Any" is not allowed [no-any-explicit]
- dacite/core.py:138:45: error: Missing type parameters for generic type "Type" [type-arg]
- dacite/core.py:139:17: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:140:19: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:140:38: error: Call to incomplete function "is_subclass" in typed context [no-untyped-call]
- dacite/core.py:140:38: note: Type is "def (sub_type: type[Untyped], base_type: type[Untyped]) -> bool"
- dacite/core.py:140:50: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:141:9: error: Usage of untyped name "item_type" in typed context [no-untyped-usage]
- dacite/core.py:141:21: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/core.py:141:21: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/core.py:141:21: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/core.py:141:21: error: Expression has type "Untyped" [no-any-expr]
- dacite/core.py:141:37: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:142:16: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:142:25: error: Expression type contains "Any" (has type "Generator[(Any, Any), None, None]") [no-any-expr]
- dacite/core.py:142:26: error: Expression type contains "Any" (has type "(Any, Any)") [no-any-expr]
- dacite/core.py:142:32: error: Call to incomplete function "_build_value" in typed context [no-untyped-call]
- dacite/core.py:142:32: note: Type is "def (type_: type[Untyped], data: Any, config: dacite.config.Config) -> Any"
- dacite/core.py:142:32: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:142:51: error: Expression has type "Untyped" [no-any-expr]
- dacite/core.py:143:21: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:143:38: error: Call to incomplete function "is_subclass" in typed context [no-untyped-call]
- dacite/core.py:143:38: note: Type is "def (sub_type: type[Untyped], base_type: type[Untyped]) -> bool"
- dacite/core.py:143:50: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:145:20: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:146:17: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/core.py:146:17: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/core.py:146:17: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/core.py:146:33: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:147:12: error: Expression type contains "Any" (has type "False | Any (from omitted generics)") [no-any-expr]
- dacite/core.py:147:16: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/core.py:147:32: error: Expression type contains "Any" (has type "(Untyped, Untyped)") [no-any-expr]
- dacite/core.py:147:32: error: Expression has type "Untyped" [no-any-expr]
- dacite/core.py:147:32: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- dacite/core.py:148:20: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:148:29: error: Expression type contains "Any" (has type "Generator[Any, None, None]") [no-any-expr]
- dacite/core.py:148:30: error: Call to incomplete function "_build_value" in typed context [no-untyped-call]
- dacite/core.py:148:30: note: Type is "def (type_: type[Untyped], data: Any, config: dacite.config.Config) -> Any"
- dacite/core.py:148:30: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:148:49: error: Expression type contains "Any" (has type "(Untyped, Untyped)") [no-any-expr]
- dacite/core.py:148:49: error: Expression has type "Untyped" [no-any-expr]
- dacite/core.py:149:16: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:149:25: error: Expression type contains "Any" (has type "(Any, Any (from omitted generics))") [no-any-expr]
- dacite/core.py:149:25: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:149:25: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- dacite/core.py:149:25: error: Expression type contains "Any" (has type "Generator[Any, None, None]") [no-any-expr]
- dacite/core.py:150:13: error: Call to incomplete function "_build_value" in typed context [no-untyped-call]
- dacite/core.py:150:13: note: Type is "def (type_: type[Untyped], data: Any, config: dacite.config.Config) -> Any"
- dacite/core.py:150:13: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:150:32: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- dacite/core.py:150:44: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:150:84: error: Expression type contains "Any" (has type "zip_longest[(Any, Any (from omitted generics))]") [no-any-expr]
- dacite/core.py:150:102: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/core.py:152:21: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:152:43: error: Call to incomplete function "is_subclass" in typed context [no-untyped-call]
- dacite/core.py:152:43: note: Type is "def (sub_type: type[Untyped], base_type: type[Untyped]) -> bool"
- dacite/core.py:152:55: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:153:9: error: Usage of untyped name "item_type" in typed context [no-untyped-usage]
- dacite/core.py:153:21: error: Call to incomplete function "extract_generic" in typed context [no-untyped-call]
- dacite/core.py:153:21: note: Type is "def (type_: type[Untyped], defaults: tuple[Untyped, ...] =) -> tuple[Untyped, ...]"
- dacite/core.py:153:21: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- dacite/core.py:153:21: error: Expression has type "Untyped" [no-any-expr]
- dacite/core.py:153:37: error: Expression type contains "Any" (has type "type[Untyped]") [no-any-expr]
- dacite/core.py:154:16: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:154:25: error: Expression type contains "Any" (has type "Generator[Any, None, None]") [no-any-expr]
- dacite/core.py:154:26: error: Call to incomplete function "_build_value" in typed context [no-untyped-call]
- dacite/core.py:154:26: note: Type is "def (type_: type[Untyped], data: Any, config: dacite.config.Config) -> Any"
- dacite/core.py:154:26: error: Expression has type "Any" [no-any-expr]
- dacite/core.py:154:45: error: Expression has type "Untyped" [no-any-expr]
- dacite/core.py:155:12: error: Expression has type "Any" [no-any-expr]
janus (https://github.com/aio-libs/janus)
+ /tmp/mypy_primer/new_mypy/venv/lib/python3.12/site-packages/mypy/typeshed/stdlib/types.pyi:467: error: INTERNAL ERROR -- Please try using basedmypy master on GitHub:
+ https://kotlinisland.github.io/basedmypy/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/KotlinIsland/basedmypy/issues
+ version: 2.9.0+dev.a56880b6567482cba290f604d6aeb95e1b32e04f
+ note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "", line 8, in <module>
+ sys.exit(console_entry())
+ File "/__main__.py", line 15, in console_entry
+ main()
+ File "/main.py", line 114, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ File "/main.py", line 223, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/build.py", line 200, in build
+ result = _build(
+ File "/build.py", line 278, in _build
+ graph = dispatch(sources, manager, stdout)
+ File "/build.py", line 3078, in dispatch
+ process_graph(graph, manager)
+ File "/build.py", line 3478, in process_graph
+ process_stale_scc(graph, scc, manager)
+ File "/build.py", line 3579, in process_stale_scc
+ graph[id].type_check_first_pass()
+ File "/build.py", line 2446, in type_check_first_pass
+ self.type_checker().check_first_pass()
+ File "/checker.py", line 505, in check_first_pass
+ self.accept(d)
+ File "/checker.py", line 614, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1380, in accept
+ return visitor.visit_assignment_stmt(self)
+ File "/checker.py", line 3264, in visit_assignment_stmt
+ self.check_type_alias_rvalue(s)
+ File "/checker.py", line 3311, in check_type_alias_rvalue
+ alias_type = self.expr_checker.accept(s.rvalue)
+ File "/checkexpr.py", line 6171, in accept
+ typ = node.accept(self)
+ File "/nodes.py", line 2069, in accept
+ return visitor.visit_index_expr(self)
+ File "/checkexpr.py", line 4506, in visit_index_expr
+ result = self.visit_index_expr_helper(e)
+ File "/checkexpr.py", line 4520, in visit_index_expr_helper
+ return self.accept(e.analyzed)
+ File "/checkexpr.py", line 6171, in accept
+ typ = node.accept(self)
+ ^^^^^^^^^^^^^^^^^
+ File "/nodes.py", line 2765, in accept
+ return visitor.visit_type_alias_expr(self)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/checkexpr.py", line 4991, in visit_type_alias_expr
+ return self.alias_type_in_runtime_context(alias.node, ctx=alias, alias_definition=True)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/checkexpr.py", line 5019, in alias_type_in_runtime_context
+ item = get_proper_type(
+ ^^^^^^^^^^^^^^^^
+ File "/types.py", line 3575, in get_proper_type
+ typ = typ._expand_once()
+ ^^^^^^^^^^^^^^^^^^
+ File "/types.py", line 347, in _expand_once
+ v.id: apply_explicit_variance(v, s)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/types.py", line 340, in apply_explicit_variance
+ if type_var.variance != VARIANCE_NOT_READY:
+ ^^^^^^^^^^^^^^^^^
+ AttributeError: 'ParamSpecType' object has no attribute 'variance'
- janus/__init__.py: note: In member "__init__" of class "Queue":
- janus/__init__.py:116:13: error: "object" not callable [operator]
- janus/__init__.py:116:13: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-operator for more info
- janus/__init__.py: note: In class "_SyncQueueProxy":
- janus/__init__.py:274:5: error: Method "maxsize" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py:274:5: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-explicit-override for more info
- janus/__init__.py:278:5: error: Method "closed" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "task_done" of class "_SyncQueueProxy":
- janus/__init__.py:281:5: error: Method "task_done" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "join" of class "_SyncQueueProxy":
- janus/__init__.py:307:5: error: Method "join" is not using @override but is overriding a method in class "janus.SyncQueue" [explicit-override]
- janus/__init__.py: note: In member "qsize" of class "_SyncQueueProxy":
- janus/__init__.py:325:5: error: Method "qsize" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In class "_SyncQueueProxy":
- janus/__init__.py:330:5: error: Method "unfinished_tasks" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "empty" of class "_SyncQueueProxy":
- janus/__init__.py:334:5: error: Method "empty" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "full" of class "_SyncQueueProxy":
- janus/__init__.py:347:5: error: Method "full" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "put" of class "_SyncQueueProxy":
- janus/__init__.py:358:5: error: Method "put" is not using @override but is overriding a method in class "janus.SyncQueue" [explicit-override]
- janus/__init__.py:384:28: error: Condition is always false [redundant-expr]
- janus/__init__.py:384:28: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-redundant-expr for more info
- janus/__init__.py:399:28: error: Condition is always false [redundant-expr]
- janus/__init__.py: note: In member "get" of class "_SyncQueueProxy":
- janus/__init__.py:407:5: error: Method "get" is not using @override but is overriding a method in class "janus.SyncQueue" [explicit-override]
- janus/__init__.py: note: In member "put_nowait" of class "_SyncQueueProxy":
- janus/__init__.py:456:5: error: Method "put_nowait" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "get_nowait" of class "_SyncQueueProxy":
- janus/__init__.py:464:5: error: Method "get_nowait" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "shutdown" of class "_SyncQueueProxy":
- janus/__init__.py:472:5: error: Method "shutdown" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In class "_AsyncQueueProxy":
- janus/__init__.py:498:5: error: Method "closed" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "qsize" of class "_AsyncQueueProxy":
- janus/__init__.py:502:5: error: Method "qsize" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In class "_AsyncQueueProxy":
- janus/__init__.py:508:5: error: Method "unfinished_tasks" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py:514:5: error: Method "maxsize" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "empty" of class "_AsyncQueueProxy":
- janus/__init__.py:519:5: error: Method "empty" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "full" of class "_AsyncQueueProxy":
- janus/__init__.py:523:5: error: Method "full" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "put" of class "_AsyncQueueProxy":
- janus/__init__.py:535:5: error: Method "put" is not using @override but is overriding a method in class "janus.AsyncQueue" [explicit-override]
- janus/__init__.py:557:24: error: Condition is always false [redundant-expr]
- janus/__init__.py: note: In member "put_nowait" of class "_AsyncQueueProxy":
- janus/__init__.py:566:5: error: Method "put_nowait" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "get" of class "_AsyncQueueProxy":
- janus/__init__.py:586:5: error: Method "get" is not using @override but is overriding a method in class "janus.AsyncQueue" [explicit-override]
- janus/__init__.py: note: In member "get_nowait" of class "_AsyncQueueProxy":
- janus/__init__.py:617:5: error: Method "get_nowait" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "task_done" of class "_AsyncQueueProxy":
- janus/__init__.py:637:5: error: Method "task_done" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "join" of class "_AsyncQueueProxy":
- janus/__init__.py:662:5: error: Method "join" is not using @override but is overriding a method in class "janus.AsyncQueue" [explicit-override]
- janus/__init__.py: note: In member "shutdown" of class "_AsyncQueueProxy":
- janus/__init__.py:683:5: error: Method "shutdown" is not using @override but is overriding a method in class "janus.BaseQueue" [explicit-override]
- janus/__init__.py: note: In member "_init" of class "PriorityQueue":
- janus/__init__.py:707:5: error: Method "_init" is not using @override but is overriding a method in class "janus.Queue" [explicit-override]
- janus/__init__.py: note: In member "_qsize" of class "PriorityQueue":
- janus/__init__.py:710:5: error: Method "_qsize" is not using @override but is overriding a method in class "janus.Queue" [explicit-override]
- janus/__init__.py: note: In member "_put" of class "PriorityQueue":
- janus/__init__.py:713:5: error: Method "_put" is not using @override but is overriding a method in class "janus.Queue" [explicit-override]
- janus/__init__.py: note: In member "_get" of class "PriorityQueue":
- janus/__init__.py:716:5: error: Method "_get" is not using @override but is overriding a method in class "janus.Queue" [explicit-override]
- janus/__init__.py: note: In member "_qsize" of class "LifoQueue":
- janus/__init__.py:723:5: error: Method "_qsize" is not using @override but is overriding a method in class "janus.Queue" [explicit-override]
- janus/__init__.py: note: In member "_put" of class "LifoQueue":
- janus/__init__.py:726:5: error: Method "_put" is not using @override but is overriding a method in class "janus.Queue" [explicit-override]
- janus/__init__.py: note: In member "_get" of class "LifoQueue":
- janus/__init__.py:729:5: error: Method "_get" is not using @override but is overriding a method in class "janus.Queue" [explicit-override]
ignite (https://github.com/pytorch/ignite): 3.25x faster (23.2s -> 7.1s in a single noisy sample)
+ /tmp/mypy_primer/new_mypy/venv/lib/python3.12/site-packages/mypy/typeshed/stdlib/types.pyi:467: error: INTERNAL ERROR -- Please try using basedmypy master on GitHub:
+ https://kotlinisland.github.io/basedmypy/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/KotlinIsland/basedmypy/issues
+ version: 2.9.0+dev.a56880b6567482cba290f604d6aeb95e1b32e04f
+ note: use --pdb to drop into pdb
- ignite/metrics/nlp/utils.py: note: In function "ngrams":
- ignite/metrics/nlp/utils.py:7:1: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/metrics/nlp/utils.py:7:1: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-any-explicit for more info
- ignite/metrics/nlp/utils.py:20:12: error: Expression type contains "Any" (has type "Counter[Any (from omitted generics)]") [no-any-expr]
- ignite/metrics/nlp/utils.py:20:20: error: Expression type contains "Any" (has type "list[Any (from omitted generics)]") [no-any-expr]
- ignite/metrics/nlp/utils.py:20:21: error: Expression type contains "Any" (has type "tuple[Any (from omitted generics), ...]") [no-any-expr]
- ignite/metrics/nlp/utils.py:20:27: error: Expression type contains "Any" (has type "Sequence[Any]") [no-any-expr]
- ignite/metrics/nlp/utils.py:20:67: error: Expression type contains "Any" (has type "Sequence[Any]") [no-any-expr]
- ignite/metrics/nlp/utils.py:20:67: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-any-expr for more info
- ignite/metrics/nlp/utils.py: note: In function "lcs":
- ignite/metrics/nlp/utils.py:23:1: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/metrics/nlp/utils.py:37:13: error: Expression type contains "Any" (has type "Sequence[Any]") [no-any-expr]
- ignite/metrics/nlp/utils.py:38:13: error: Expression type contains "Any" (has type "Sequence[Any]") [no-any-expr]
- ignite/metrics/nlp/utils.py:46:18: error: Expression type contains "Any" (has type "Sequence[Any]") [no-any-expr]
- ignite/metrics/nlp/utils.py:46:18: error: Expression has type "Any" [no-any-expr]
- ignite/metrics/nlp/utils.py:46:34: error: Expression type contains "Any" (has type "Sequence[Any]") [no-any-expr]
- ignite/metrics/nlp/utils.py:46:34: error: Expression has type "Any" [no-any-expr]
- ignite/metrics/nlp/utils.py: note: In function "modified_precision":
- ignite/metrics/nlp/utils.py:54:1: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/metrics/nlp/utils.py:79:14: error: Expression type contains "Any" (has type "Counter[Untyped]") [no-any-expr]
- ignite/metrics/nlp/utils.py:79:21: error: Expression has type "Any" [no-any-expr]
- ignite/metrics/nlp/utils.py:83:5: error: Expression type contains "Any" (has type "Sequence[Any]") [no-any-expr]
- ignite/metrics/nlp/utils.py:83:22: error: Expression type contains "Any" (has type "Sequence[Sequence[Any]]") [no-any-expr]
- ignite/metrics/nlp/utils.py:84:9: error: Expression type contains "Any" (has type "Counter[Untyped]") [no-any-expr]
- ignite/metrics/nlp/utils.py:84:23: error: Expression type contains "Any" (has type "Counter[Untyped]") [no-any-expr]
- ignite/metrics/nlp/utils.py:84:30: error: Expression type contains "Any" (has type "Sequence[Any]") [no-any-expr]
- ignite/metrics/nlp/utils.py:87:22: error: Expression type contains "Any" (has type "Counter[Untyped]") [no-any-expr]
- ignite/metrics/nlp/utils.py:87:31: error: Expression type contains "Any" (has type "Counter[Untyped]") [no-any-expr]
- ignite/metrics/nlp/utils.py:89:16: error: Expression type contains "Any" (has type "Counter[Untyped]") [no-any-expr]
- ignite/metrics/nlp/utils.py:89:16: error: Expression type contains "Any" (has type "dict_values[Untyped, int]") [no-any-expr]
- ignite/metrics/nlp/utils.py:89:46: error: Expression type contains "Any" (has type "Counter[Untyped]") [no-any-expr]
- ignite/metrics/nlp/utils.py:89:46: error: Expression type contains "Any" (has type "dict_values[Untyped, int]") [no-any-expr]
- ignite/base/mixins.py: note: In member "load_state_dict" of class "Serializable":
- ignite/base/mixins.py:14:12: error: Condition is always false [redundant-expr]
- ignite/base/mixins.py:14:12: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-redundant-expr for more info
- ignite/base/mixins.py:14:27: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/base/mixins.py:17:9: error: Expression has type "Untyped" [no-any-expr]
- ignite/base/mixins.py:17:18: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- ignite/base/mixins.py:18:16: error: Expression has type "Untyped" [no-any-expr]
- ignite/base/mixins.py:18:25: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/base/mixins.py:20:49: error: Expression has type "Untyped" [no-any-expr]
- ignite/base/mixins.py:20:88: error: Expression type contains "Any" (has type "KeysView[Untyped]") [no-any-expr]
- ignite/base/mixins.py:20:88: error: The type "typing.KeysView[Untyped]" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ignite/base/mixins.py:20:88: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-helpful-string for more info
- ignite/base/mixins.py:20:89: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/base/mixins.py:22:16: error: Expression has type "Untyped" [no-any-expr]
- ignite/base/mixins.py:22:17: error: Expression has type "Untyped" [no-any-expr]
- ignite/base/mixins.py:22:22: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/base/mixins.py:22:42: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- ignite/base/mixins.py:24:71: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- ignite/distributed/comp_models/base.py:8:25: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:8:33: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:8:54: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "device" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:62:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:62:5: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-any-unimported for more info
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:62:5: error: Type of decorated function contains type "Any" ("def (self: ComputationModel) -> Any (from unimported type)") [no-any-decorated]
- ignite/distributed/comp_models/base.py:62:5: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-any-decorated for more info
- ignite/distributed/comp_models/base.py: note: In member "create_from_backend" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:80:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:80:5: error: Type of decorated function contains type "Any" ("(backend: str, **kwargs: Any) -> ComputationModel") [no-any-decorated]
- ignite/distributed/comp_models/base.py: note: In member "spawn" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:85:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:85:5: error: Type of decorated function contains type "Any" ("(*args: Any, **kwargs: Any) -> None") [no-any-decorated]
- ignite/distributed/comp_models/base.py:88:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py: note: In member "_encode_str" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:91:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:91:5: error: Argument 2 to "_encode_str" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:91:5: error: Type of decorated function contains type "Any" ("(x: str, device: Any (from unimported type), size: int) -> Any (from unimported type)") [no-any-decorated]
- ignite/distributed/comp_models/base.py: note: In member "_encode_str" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:92:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:92:55: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:93:20: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:93:49: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:93:63: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:94:9: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:94:24: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:94:33: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:95:9: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:95:28: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:97:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_get_max_length" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:99:5: error: Argument 3 to "_get_max_length" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:100:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:100:46: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:101:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:101:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:102:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_encode_input_data" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:105:5: error: Argument 1 to "_encode_input_data" becomes "Any (from unimported type) | float | str | None" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:105:5: error: Type of decorated function contains type "Any" ("(x: Any (from unimported type) | float | str | None, is_src: bool) -> list[int]") [no-any-decorated]
- ignite/distributed/comp_models/base.py: note: In member "_encode_input_data" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:111:23: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:111:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:112:21: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:113:25: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:114:27: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:114:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:116:25: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:118:25: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_decode_as_placeholder" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:123:5: error: Return type becomes "Any (from unimported type) | float | str" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:123:5: error: Argument 2 to "_decode_as_placeholder" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:123:5: error: Type of decorated function contains type "Any" ("(encoded_msg: list[int], device: Any (from unimported type)) -> Any (from unimported type) | float | str") [no-any-decorated]
- ignite/distributed/comp_models/base.py: note: In member "_decode_as_placeholder" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:130:21: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:131:20: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:131:46: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:131:60: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_setup_placeholder" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:139:5: error: Return type becomes "Any (from unimported type) | float | str" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:139:5: error: Argument 2 to "_setup_placeholder" becomes "Any (from unimported type) | float | str | None" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:139:5: error: Argument 3 to "_setup_placeholder" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:142:56: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:143:33: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:143:53: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:143:95: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:146:16: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:148:20: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:150:23: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:151:16: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:151:44: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:151:57: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_decode_str" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:154:5: error: Argument 1 to "_decode_str" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:154:5: error: Type of decorated function contains type "Any" ("(xs: Any (from unimported type)) -> list[str]") [no-any-decorated]
- ignite/distributed/comp_models/base.py: note: In member "_decode_str" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:156:15: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:156:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:156:26: error: Expression type contains "Any" (has type "slice[None, Any (from unimported type), None]") [no-any-expr]
- ignite/distributed/comp_models/base.py:156:30: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:156:72: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_apply_op" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:159:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:159:5: error: Argument 2 to "_apply_op" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:159:5: error: Argument 3 to "_apply_op" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:159:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:166:12: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:166:29: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:167:29: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:168:22: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:168:32: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:170:12: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:172:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:172:36: error: Expression type contains "Any" (has type "(Any (from unimported type), Any (from unimported type))") [no-any-expr]
- ignite/distributed/comp_models/base.py:172:37: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:172:52: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:173:29: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:174:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:174:36: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:176:18: error: Expression has type "Untyped" [no-any-expr]
- ignite/distributed/comp_models/base.py:176:21: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:176:30: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/distributed/comp_models/base.py:176:38: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/distributed/comp_models/base.py:178:12: error: Expression type contains "Any" (has type "Any (from unimported type) | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:178:38: error: Expression type contains "Any" (has type "Any (from unimported type) | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:179:20: error: Expression has type "Untyped" [no-any-expr]
- ignite/distributed/comp_models/base.py:179:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:179:54: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:180:12: error: Expression type contains "Any" (has type "Any (from unimported type) | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:181:20: error: Expression has type "Untyped" [no-any-expr]
- ignite/distributed/comp_models/base.py:181:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:182:12: error: Expression type contains "Any" (has type "Any (from unimported type) | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:183:20: error: Expression has type "Untyped" [no-any-expr]
- ignite/distributed/comp_models/base.py:183:37: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:184:16: error: Expression has type "Untyped" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_collective_op" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:186:5: error: Return type becomes "Any (from unimported type) | float | list[float] | list[str]" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:186:5: error: Argument 2 to "_collective_op" becomes "Any (from unimported type) | Number | str" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:186:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:190:18: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:191:23: error: Expression type contains "Any" (has type "Any (from unimported type) | Number | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:193:21: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:194:16: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:195:25: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:196:22: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:196:50: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:196:64: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:197:25: error: Expression type contains "Any" (has type "Any (from unimported type) | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:199:55: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:200:47: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:202:18: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:202:33: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:202:41: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:202:49: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/distributed/comp_models/base.py:202:54: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/distributed/comp_models/base.py:202:62: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/distributed/comp_models/base.py:205:20: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:207:37: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:208:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "all_reduce" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:210:5: error: Return type becomes "Any (from unimported type) | float" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:210:5: error: Argument 2 to "all_reduce" becomes "Any (from unimported type) | float" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:210:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:213:27: error: Expression type contains "Any" (has type "Any (from unimported type) | float") [no-any-expr]
- ignite/distributed/comp_models/base.py:213:35: error: Expression type contains "Any" (has type "(Any (from unimported type), type[Number])") [no-any-expr]
- ignite/distributed/comp_models/base.py:213:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:214:52: error: The type "type[float]" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ignite/distributed/comp_models/base.py:216:16: error: Target type of cast becomes "Any (from unimported type) | float" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:216:16: error: Expression type contains "Any" (has type "Any (from unimported type) | float") [no-any-expr]
- ignite/distributed/comp_models/base.py:216:69: error: Expression type contains "Any" (has type "Any (from unimported type) | Number") [no-any-expr]
- ignite/distributed/comp_models/base.py:216:77: error: Expression type contains "Any" (has type "_NamedCallable & (tensor: Any (from unimported type), op: str=..., group: Any | None=...) -> Any (from unimported type)") [no-any-expr]
- ignite/distributed/comp_models/base.py:216:108: error: Expression type contains "Any" (has type "Any | None") [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "all_gather" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:218:5: error: Return type becomes "Any (from unimported type) | float | list[float] | list[str] | list[Any]" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:218:5: error: Argument 2 to "all_gather" becomes "Any (from unimported type) | float | str | Any" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:218:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:221:27: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | Any") [no-any-expr]
- ignite/distributed/comp_models/base.py:221:35: error: Expression type contains "Any" (has type "(Any (from unimported type), type[Number], type[str])") [no-any-expr]
- ignite/distributed/comp_models/base.py:221:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:222:20: error: Expression type contains "Any" (has type "list[Any]") [no-any-expr]
- ignite/distributed/comp_models/base.py:222:61: error: Expression type contains "Any" (has type "Any | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:224:16: error: Expression type contains "Any" (has type "Any (from unimported type) | float | list[float] | list[str]") [no-any-expr]
- ignite/distributed/comp_models/base.py:224:36: error: Expression type contains "Any" (has type "Any (from unimported type) | Number | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:224:44: error: Expression type contains "Any" (has type "_NamedCallable & (tensor: Any (from unimported type), group: Any | None=...) -> Any (from unimported type)") [no-any-expr]
- ignite/distributed/comp_models/base.py:224:71: error: Expression type contains "Any" (has type "Any | None") [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "new_group" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:226:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:227:12: error: Left operand of "and" is always true [redundant-expr]
- ignite/distributed/comp_models/base.py:228:20: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:228:48: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "broadcast" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:232:5: error: Return type becomes "Any (from unimported type) | float | str" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:232:5: error: Argument 2 to "broadcast" becomes "Any (from unimported type) | float | str | None" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:235:28: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:235:36: error: Expression type contains "Any" (has type "(Any (from unimported type), type[Number], type[str])") [no-any-expr]
- ignite/distributed/comp_models/base.py:235:37: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:236:52: error: The type "type[float]" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ignite/distributed/comp_models/base.py:239:12: error: Expression type contains "Any" (has type "Any (from unimported type) | Number | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:245:18: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:249:46: error: Expression type contains "Any" (has type "Any (from unimported type) | Number | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:249:54: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:251:12: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | Number | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:254:23: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | Number") [no-any-expr]
- ignite/distributed/comp_models/base.py:257:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:257:48: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:257:62: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:259:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:259:56: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:259:70: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:260:25: error: Expression type contains "Any" (has type "Any (from unimported type) | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:262:55: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:264:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:264:64: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:264:78: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:266:51: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:268:18: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:268:33: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:268:41: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:268:49: error: Expression type contains "Any" (has type "_NamedCallable & (tensor: Any (from unimported type), src: int) -> Any (from unimported type)") [no-any-expr]
- ignite/distributed/comp_models/base.py:271:20: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:273:41: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:275:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_do_all_reduce" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:278:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:278:5: error: Argument 2 to "_do_all_reduce" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:278:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:278:5: error: Type of decorated function contains type "Any" ("def (self: ComputationModel, tensor: Any (from unimported type), op: str=..., group: Any | None=...) -> Any (from unimported type)") [no-any-decorated]
- ignite/distributed/comp_models/base.py: note: In member "_do_all_gather" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:282:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:282:5: error: Argument 2 to "_do_all_gather" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:282:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:282:5: error: Type of decorated function contains type "Any" ("def (self: ComputationModel, tensor: Any (from unimported type), group: Any | None=...) -> Any (from unimported type)") [no-any-decorated]
- ignite/distributed/comp_models/base.py: note: In member "_do_all_gather_object" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:286:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:286:5: error: Type of decorated function contains type "Any" ("def (self: ComputationModel, tensor: Any, group: Any | None=...) -> list[Any]") [no-any-decorated]
- ignite/distributed/comp_models/base.py: note: In member "_do_broadcast" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:290:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:290:5: error: Argument 2 to "_do_broadcast" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:290:5: error: Type of decorated function contains type "Any" ("def (self: ComputationModel, tensor: Any (from unimported type), src: int) -> Any (from unimported type)") [no-any-decorated]
- ignite/distributed/comp_models/base.py: note: In member "_do_new_group" of class "ComputationModel":
- ignite/distributed/comp_models/base.py:298:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py: note: In class "ComputationModel":
- ignite/distributed/comp_models/base.py:298:5: error: Type of decorated function contains type "Any" ("def (self: ComputationModel, ranks: list[int], **kwargs: Any) -> Any") [no-any-decorated]
- ignite/distributed/comp_models/base.py: note: In member "__init__" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:308:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py: note: In member "get_local_rank" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:311:5: error: Method "get_local_rank" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py:311:5: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-explicit-override for more info
- ignite/distributed/comp_models/base.py: note: In member "get_rank" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:314:5: error: Method "get_rank" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "get_world_size" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:317:5: error: Method "get_world_size" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "get_nproc_per_node" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:320:5: error: Method "get_nproc_per_node" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "get_nnodes" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:323:5: error: Method "get_nnodes" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "get_node_rank" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:326:5: error: Method "get_node_rank" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "device" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:329:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:329:5: error: Method "device" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py:330:12: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:331:20: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:332:12: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:332:38: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:333:20: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:334:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "backend" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:336:5: error: Method "backend" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "finalize" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:339:5: error: Method "finalize" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "_compute_nproc_per_node" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:342:5: error: Method "_compute_nproc_per_node" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In class "_SerialModel":
- ignite/distributed/comp_models/base.py:346:5: error: Method "create_from_context" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "create_from_backend" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:350:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py: note: In class "_SerialModel":
- ignite/distributed/comp_models/base.py:350:5: error: Type of decorated function contains type "Any" ("(backend: str | None=..., **kwargs: Any) -> _SerialModel") [no-any-decorated]
- ignite/distributed/comp_models/base.py:350:5: error: Method "create_from_backend" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "spawn" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:354:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py: note: In class "_SerialModel":
- ignite/distributed/comp_models/base.py:354:5: error: Type of decorated function contains type "Any" ("(*args: Any, **kwargs: Any) -> None") [no-any-decorated]
- ignite/distributed/comp_models/base.py:354:5: error: Method "spawn" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "all_reduce" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:357:5: error: Return type becomes "Any (from unimported type) | float" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:357:5: error: Argument 2 to "all_reduce" becomes "Any (from unimported type) | float" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:357:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:357:5: error: Method "all_reduce" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py:360:16: error: Expression type contains "Any" (has type "Any (from unimported type) | float") [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "all_gather" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:362:5: error: Return type becomes "Any (from unimported type) | float | list[float] | list[str] | list[Any]" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:362:5: error: Argument 2 to "all_gather" becomes "Any (from unimported type) | float | str | Any" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:362:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:362:5: error: Method "all_gather" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py:365:23: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | Any") [no-any-expr]
- ignite/distributed/comp_models/base.py:365:31: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:366:20: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:367:16: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:367:16: error: Expression type contains "Any" (has type "list[float] | list[str] | list[Any]") [no-any-expr]
- ignite/distributed/comp_models/base.py:367:64: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | Any") [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "broadcast" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:369:5: error: Return type becomes "Any (from unimported type) | float | str" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:369:5: error: Argument 2 to "broadcast" becomes "Any (from unimported type) | float | str | None" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:369:5: error: Method "broadcast" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py:372:12: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:374:16: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str") [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_do_all_reduce" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:376:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:376:5: error: Argument 2 to "_do_all_reduce" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:376:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:376:5: error: Method "_do_all_reduce" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py:377:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_do_all_gather" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:379:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:379:5: error: Argument 2 to "_do_all_gather" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:379:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:379:5: error: Method "_do_all_gather" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py:380:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_do_all_gather_object" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:382:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:382:5: error: Method "_do_all_gather_object" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py:383:16: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "_do_new_group" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:385:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:385:5: error: Method "_do_new_group" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "_do_broadcast" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:388:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:388:5: error: Argument 2 to "_do_broadcast" becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:388:5: error: Method "_do_broadcast" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py:389:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py: note: In member "barrier" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:391:5: error: Method "barrier" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py: note: In member "new_group" of class "_SerialModel":
- ignite/distributed/comp_models/base.py:394:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:394:5: error: Method "new_group" is not using @override but is overriding a method in class "ignite.distributed.comp_models.base.ComputationModel" [explicit-override]
- ignite/distributed/comp_models/base.py:395:12: error: Left operand of "and" is always true [redundant-expr]
- ignite/distributed/comp_models/base.py:396:20: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:396:48: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/utils.py: note: In function "_check_signature":
- ignite/engine/utils.py:5:1: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/utils.py:7:16: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/utils.py:8:39: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/utils.py:8:39: error: Expression has type "Any (unannotated)" [no-any-expr]
- ignite/engine/utils.py:10:39: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/utils.py:12:25: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/engine/utils.py:12:33: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/utils.py:16:25: error: Expression type contains "Any" (has type "list[Any]") [no-any-expr]
- ignite/engine/utils.py:16:30: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/engine/utils.py:16:38: error: Expression type contains "Any" (has type "list[Any]") [no-any-expr]
- ignite/engine/utils.py:16:43: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/utils.py:18:28: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/utils.py:18:28: error: The type "(*Untyped, **Untyped) -> Untyped" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ignite/engine/utils.py:19:68: error: Expression type contains "Any" (has type "list[Any]") [no-any-expr]
- ignite/engine/events.py: note: In member "__init__" of class "CallableEventWithFilter":
- ignite/engine/events.py:32:23: error: Expression type contains "Any" (has type "(...) -> Untyped | None") [no-any-expr]
- ignite/engine/events.py: note: In member "__call__" of class "CallableEventWithFilter":
- ignite/engine/events.py:78:21: error: Expression type contains "Any" (has type "(...) -> Untyped | None") [no-any-expr]
- ignite/engine/events.py:79:21: error: Expression type contains "Any" (has type "int | list[Untyped] | None") [no-any-expr]
- ignite/engine/events.py:87:12: error: Condition is always false [redundant-expr]
- ignite/engine/events.py:87:13: error: Expression type contains "Any" (has type "(...) -> Untyped | None") [no-any-expr]
- ignite/engine/events.py:87:56: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/events.py:93:12: error: Expression type contains "Any" (has type "int | list[Untyped] | None") [no-any-expr]
- ignite/engine/events.py:94:29: error: Expression type contains "Any" (has type "int | list[Untyped]") [no-any-expr]
- ignite/engine/events.py:95:29: error: Expression type contains "Any" (has type "int | list[Untyped]") [no-any-expr]
- ignite/engine/events.py:95:53: error: Expression type contains "Any" (has type "list[Untyped]") [no-any-expr]
- ignite/engine/events.py:95:70: error: Expression has type "Untyped" [no-any-expr]
- ignite/engine/events.py:95:82: error: Expression has type "Untyped" [no-any-expr]
- ignite/engine/events.py:95:109: error: Expression type contains "Any" (has type "list[Untyped]") [no-any-expr]
- ignite/engine/events.py:98:109: error: Expression type contains "Any" (has type "int | list[Untyped]") [no-any-expr]
- ignite/engine/events.py:107:12: error: Condition is always false [redundant-expr]
- ignite/engine/events.py:114:12: error: Expression type contains "Any" (has type "int | list[Untyped] | None") [no-any-expr]
- ignite/engine/events.py:115:51: error: Expression type contains "Any" (has type "list[Any (from omitted generics)]") [no-any-expr]
- ignite/engine/events.py:115:72: error: Expression type contains "Any" (has type "int | list[Untyped]") [no-any-expr]
- ignite/engine/events.py:115:88: error: Expression type contains "Any" (has type "list[Untyped]") [no-any-expr]
- ignite/engine/events.py:117:12: error: Left operand of "or" is always false [redundant-expr]
- ignite/engine/events.py:117:12: error: Condition is always false [redundant-expr]
- ignite/engine/events.py:124:12: error: Expression type contains "Any" (has type "(...) -> Untyped | None") [no-any-expr]
- ignite/engine/events.py:125:30: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/events.py:127:52: error: Expression type contains "Any" (has type "(...) -> Untyped | None") [no-any-expr]
- ignite/engine/events.py: note: In class "CallableEventWithFilter":
- ignite/engine/events.py:130:5: error: Type of decorated function contains type "Any" ("(every: int) -> (...) -> Untyped") [no-any-decorated]
- ignite/engine/events.py:141:5: error: Type of decorated function contains type "Any" ("(once: list[Untyped]) -> (...) -> Untyped") [no-any-decorated]
- ignite/engine/events.py: note: In function "once_event_filter":
- ignite/engine/events.py:145:25: error: Expression type contains "Any" (has type "list[Untyped]") [no-any-expr]
- ignite/engine/events.py: note: In class "CallableEventWithFilter":
- ignite/engine/events.py:152:5: error: Type of decorated function contains type "Any" ("(before: int | None=..., after: int | None=...) -> (...) -> Untyped") [no-any-decorated]
- ignite/engine/events.py:165:5: error: Type of decorated function contains type "Any" ("(every: int, before: int | None=..., after: int | None=...) -> (...) -> Untyped") [no-any-decorated]
- ignite/engine/events.py: note: In member "__repr__" of class "CallableEventWithFilter":
- ignite/engine/events.py:185:5: error: Method "__repr__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- ignite/engine/events.py:187:12: error: Expression type contains "Any" (has type "(...) -> Untyped | None") [no-any-expr]
- ignite/engine/events.py:188:30: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/events.py:188:30: error: The type "(*Untyped, **Untyped) -> Untyped" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ignite/engine/events.py: note: In member "__eq__" of class "CallableEventWithFilter":
- ignite/engine/events.py:191:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/events.py:191:5: error: Method "__eq__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- ignite/engine/events.py:192:23: error: Expression has type "Any" [no-any-expr]
- ignite/engine/events.py:194:25: error: Expression has type "Any" [no-any-expr]
- ignite/engine/events.py: note: In member "__hash__" of class "CallableEventWithFilter":
- ignite/engine/events.py:199:5: error: Method "__hash__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- ignite/engine/events.py: note: In member "__or__" of class "CallableEventWithFilter":
- ignite/engine/events.py:202:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/events.py:203:16: error: Expression has type "Any" [no-any-expr]
- ignite/engine/events.py:203:38: error: Expression has type "Any" [no-any-expr]
- ignite/engine/events.py: note: In member "__or__" of class "Events":
- ignite/engine/events.py:401:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/events.py:401:5: error: Method "__or__" is not using @override but is overriding a method in class "ignite.engine.events.CallableEventWithFilter" [explicit-override]
- ignite/engine/events.py:402:16: error: Expression has type "Any" [no-any-expr]
- ignite/engine/events.py:402:38: error: Expression has type "Any" [no-any-expr]
- ignite/engine/events.py: note: In member "_append" of class "EventsList":
- ignite/engine/events.py:433:12: error: Condition is always false [redundant-expr]
- ignite/engine/events.py: note: In member "__init__" of class "State":
- ignite/engine/events.py:485:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/events.py:493:9: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/events.py:494:9: error: Type of variable becomes "Any (from unimported type) | Iterable[Any] | None" due to an unfollowed import [no-any-unimported]
- ignite/engine/events.py:494:9: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/events.py:501:9: error: Expression type contains "Any" (has type "(str, Any)") [no-any-expr]
- ignite/engine/events.py:501:9: error: Expression has type "Any" [no-any-expr]
- ignite/engine/events.py:501:21: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/events.py:501:21: error: Expression type contains "Any" (has type "dict_items[str, Any]") [no-any-expr]
- ignite/engine/events.py:502:30: error: Expression has type "Any" [no-any-expr]
- ignite/engine/events.py: note: In member "get_event_attrib_value" of class "State":
- ignite/engine/events.py:515:16: error: Incompatible return value type (got "object", expected "int") [return-value]
- ignite/engine/events.py: note: In member "__repr__" of class "State":
- ignite/engine/events.py:517:5: error: Method "__repr__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- ignite/engine/events.py:522:30: error: The type "type[object]" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ignite/engine/events.py:522:30: error: The type "numbers.Number" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ignite/engine/events.py: note: In member "__init__" of class "RemovableEventHandle":
- ignite/engine/events.py:558:24: error: Expression type contains "Any" (has type "ReferenceType[(...) -> Untyped]") [no-any-expr]
- ignite/engine/events.py:558:36: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/events.py: note: In member "remove" of class "RemovableEventHandle":
- ignite/engine/events.py:563:19: error: Expression type contains "Any" (has type "(...) -> Untyped | None") [no-any-expr]
- ignite/engine/events.py:566:12: error: Expression type contains "Any" (has type "(...) -> Untyped | None") [no-any-expr]
- ignite/engine/events.py:569:20: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/events.py:570:23: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/events.py:571:16: error: Expression type contains "Any" (has type "(...) -> Untyped | None") [no-any-expr]
- ignite/engine/events.py:579:45: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/events.py:580:49: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/events.py:582:41: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/events.py:583:45: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/events.py: note: In member "__exit__" of class "RemovableEventHandle":
- ignite/engine/events.py:588:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py: note: In member "__init__" of class "Engine":
- ignite/engine/engine.py:137:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:138:9: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:140:34: error: Expression type contains "Any" (has type "(Engine, Any) -> Any") [no-any-expr]
- ignite/engine/engine.py:153:9: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:158:12: error: Expression type contains "Any" (has type "(Engine, Any) -> Any") [no-any-expr]
- ignite/engine/engine.py:158:12: error: Condition is always false [redundant-expr]
- ignite/engine/engine.py:161:26: error: Expression type contains "Any" (has type "(Engine, Any) -> Any") [no-any-expr]
- ignite/engine/engine.py:164:9: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py: note: In member "register_events" of class "Engine":
- ignite/engine/engine.py:240:12: error: Condition is always false [redundant-expr]
- ignite/engine/engine.py:240:17: error: Expression type contains "Any" (has type "dict[Untyped, Untyped] | None") [no-any-expr]
- ignite/engine/engine.py:240:53: error: Expression type contains "Any" (has type "dict[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:244:16: error: Condition is always true [redundant-expr]
- ignite/engine/engine.py: note: In member "_handler_wrapper" of class "Engine":
- ignite/engine/engine.py:252:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:255:10: error: Expression type contains "Any" (has type "_Wrapper[(...) -> Untyped]") [no-any-expr]
- ignite/engine/engine.py:255:10: error: Expression type contains "Any" (has type "def (*args: Any, **kwargs: Any) -> Any") [no-any-expr]
- ignite/engine/engine.py:255:26: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py: note: In function "_handler_wrapper":
- ignite/engine/engine.py:256:9: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:256:9: error: Missing return statement [return]
- ignite/engine/engine.py:256:9: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-return for more info
- ignite/engine/engine.py: note: In member "_handler_wrapper" of class "Engine":
- ignite/engine/engine.py:256:9: error: Type of decorated function contains type "Any" ("def (*args: Any, **kwargs: Any) -> Any & _Wrapped[(...) -> Untyped]") [no-any-decorated]
- ignite/engine/engine.py: note: In function "_handler_wrapper":
- ignite/engine/engine.py:257:55: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:258:16: error: Expression has type "Untyped" [no-any-expr]
- ignite/engine/engine.py:259:24: error: Expression has type "Untyped" [no-any-expr]
- ignite/engine/engine.py:259:33: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/engine/engine.py:259:41: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/engine.py: note: In member "_handler_wrapper" of class "Engine":
- ignite/engine/engine.py:262:17: error: Expression type contains "Any" (has type "def (*args: Any, **kwargs: Any) -> Any & _Wrapped[(...) -> Untyped]") [no-any-expr]
- ignite/engine/engine.py:262:37: error: Expression type contains "Any" (has type "ReferenceType[Any]") [no-any-expr]
- ignite/engine/engine.py:262:49: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:263:16: error: Expression type contains "Any" (has type "def (*args: Any, **kwargs: Any) -> Any & _Wrapped[(...) -> Untyped]") [no-any-expr]
- ignite/engine/engine.py: note: In member "_assert_allowed_event" of class "Engine":
- ignite/engine/engine.py:265:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:266:12: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:267:82: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:268:38: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py: note: In member "add_event_handler" of class "Engine":
- ignite/engine/engine.py:270:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:313:23: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:315:43: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:315:53: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/engine/engine.py:315:61: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/engine.py:316:53: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:317:23: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:317:64: error: Expression type contains "Any" (has type "(...) -> Untyped | None") [no-any-expr]
- ignite/engine/engine.py:318:28: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:319:45: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:319:66: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:321:36: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:323:9: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:324:12: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:326:14: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:330:30: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:330:71: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/engine/engine.py:330:71: note: Left operand is of type "(Exception,) | (int,) | ()"
- ignite/engine/engine.py:330:71: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-operator for more info
- ignite/engine/engine.py:330:80: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/engine.py:331:13: error: Expression type contains "Any" (has type "dict[Any, list[Untyped]]") [no-any-expr]
- ignite/engine/engine.py:331:13: error: Expression type contains "Any" (has type "list[Untyped]") [no-any-expr]
- ignite/engine/engine.py:331:34: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:331:53: error: Expression type contains "Any" (has type "((...) -> Untyped, tuple[Any, ...], dict[str, Any])") [no-any-expr]
- ignite/engine/engine.py:331:54: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:331:73: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/engine/engine.py:331:79: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/engine.py:333:30: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:333:65: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/engine/engine.py:333:65: note: Left operand is of type "(Exception,) | (int,) | ()"
- ignite/engine/engine.py:333:74: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/engine.py:334:13: error: Expression type contains "Any" (has type "dict[Any, list[Untyped]]") [no-any-expr]
- ignite/engine/engine.py:334:13: error: Expression type contains "Any" (has type "list[Untyped]") [no-any-expr]
- ignite/engine/engine.py:334:34: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:334:53: error: Expression type contains "Any" (has type "((...) -> Untyped, tuple[Any, ...], dict[str, Any])") [no-any-expr]
- ignite/engine/engine.py:334:54: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:334:63: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/engine/engine.py:334:69: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/engine.py:335:53: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:337:37: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:337:49: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py: note: In member "has_event_handler" of class "Engine":
- ignite/engine/engine.py:339:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:347:12: error: Expression type contains "Any" (has type "Any | None") [no-any-expr]
- ignite/engine/engine.py:348:16: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:348:34: error: Expression type contains "Any" (has type "dict[Any, list[Untyped]]") [no-any-expr]
- ignite/engine/engine.py:350:13: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:350:58: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:353:9: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:353:18: error: Expression type contains "Any" (has type "list[Any] | dict[Any, list[Untyped]]") [no-any-expr]
- ignite/engine/engine.py:354:13: error: Expression has type "Untyped" [no-any-expr]
- ignite/engine/engine.py:354:13: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:354:28: error: Expression type contains "Any" (has type "dict[Any, list[Untyped]]") [no-any-expr]
- ignite/engine/engine.py:354:28: error: Expression type contains "Any" (has type "list[Untyped]") [no-any-expr]
- ignite/engine/engine.py:354:49: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:355:43: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:355:52: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py: note: In class "Engine":
- ignite/engine/engine.py:360:5: error: Type of decorated function contains type "Any" ("(user_handler: (...) -> Untyped, registered_handler: (...) -> Untyped) -> bool") [no-any-decorated]
- ignite/engine/engine.py: note: In member "_compare_handlers" of class "Engine":
- ignite/engine/engine.py:361:20: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:362:34: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:363:16: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:363:38: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py: note: In member "remove_event_handler" of class "Engine":
- ignite/engine/engine.py:365:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:373:12: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:373:30: error: Expression type contains "Any" (has type "dict[Any, list[Untyped]]") [no-any-expr]
- ignite/engine/engine.py:374:50: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:376:30: error: Expression has type "Untyped" [no-any-expr]
- ignite/engine/engine.py:376:30: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:376:30: error: Expression type contains "Any" (has type "list[(Any (from omitted generics), Any (from omitted generics), Any (from omitted generics))]") [no-any-expr]
- ignite/engine/engine.py:377:13: error: Expression type contains "Any" (has type "(Any (from omitted generics), Any (from omitted generics), Any (from omitted generics))") [no-any-expr]
- ignite/engine/engine.py:377:14: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:377:17: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:377:23: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:378:36: error: Expression type contains "Any" (has type "dict[Any, list[Untyped]]") [no-any-expr]
- ignite/engine/engine.py:378:36: error: Expression type contains "Any" (has type "list[Untyped]") [no-any-expr]
- ignite/engine/engine.py:378:57: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:379:43: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:379:52: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:381:16: error: Expression type contains "Any" (has type "list[(Any (from omitted generics), Any (from omitted generics), Any (from omitted generics))]") [no-any-expr]
- ignite/engine/engine.py:381:43: error: Expression type contains "Any" (has type "dict[Any, list[Untyped]]") [no-any-expr]
- ignite/engine/engine.py:381:43: error: Expression type contains "Any" (has type "list[Untyped]") [no-any-expr]
- ignite/engine/engine.py:381:64: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:382:47: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:382:47: error: The type "(*Untyped, **Untyped) -> Untyped" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ignite/engine/engine.py:383:9: error: Expression type contains "Any" (has type "dict[Any, list[Untyped]]") [no-any-expr]
- ignite/engine/engine.py:383:30: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:383:44: error: Expression type contains "Any" (has type "list[(Any (from omitted generics), Any (from omitted generics), Any (from omitted generics))]") [no-any-expr]
- ignite/engine/engine.py: note: In member "on" of class "Engine":
- ignite/engine/engine.py:385:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py: note: In function "on":
- ignite/engine/engine.py:410:36: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:410:48: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py:410:52: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/engine/engine.py:410:60: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/engine.py:411:20: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py: note: In member "on" of class "Engine":
- ignite/engine/engine.py:413:16: error: Expression type contains "Any" (has type "def (f: (...) -> Untyped) -> (...) -> Untyped") [no-any-expr]
- ignite/engine/engine.py: note: In member "_fire_event" of class "Engine":
- ignite/engine/engine.py:415:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:431:100: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:432:32: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:433:9: error: Expression has type "Untyped" [no-any-expr]
- ignite/engine/engine.py:433:9: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:433:35: error: Expression type contains "Any" (has type "dict[Any, list[Untyped]]") [no-any-expr]
- ignite/engine/engine.py:433:35: error: Expression type contains "Any" (has type "list[Untyped]") [no-any-expr]
- ignite/engine/engine.py:433:56: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:434:13: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:434:27: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/engine/engine.py:435:29: error: Expression type contains "Any" (has type "((Any (from omitted generics),), Any (from omitted generics))") [no-any-expr]
- ignite/engine/engine.py:435:29: error: Expression type contains "Any" (has type "((Any (from omitted generics),), Any (from omitted generics)) | ((), Any (from omitted generics))") [no-any-expr]
- ignite/engine/engine.py:435:29: error: Expression type contains "Any" (has type "(Any (from omitted generics),)") [no-any-expr]
- ignite/engine/engine.py:435:29: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:435:30: error: Expression type contains "Any" (has type "(Any (from omitted generics),)") [no-any-expr]
- ignite/engine/engine.py:435:31: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:435:42: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:435:56: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:435:65: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:435:87: error: Expression type contains "Any" (has type "((), Any (from omitted generics))") [no-any-expr]
- ignite/engine/engine.py:435:92: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:436:19: error: Expression type contains "Any" (has type "(Any (from omitted generics),) | ()") [no-any-expr]
- ignite/engine/engine.py:436:28: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/engine/engine.py:436:28: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:436:41: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py:436:52: error: Expression has type "Any (from omitted generics)" [no-any-expr]
- ignite/engine/engine.py: note: In member "fire_event" of class "Engine":
- ignite/engine/engine.py:438:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:459:36: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:460:33: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py: note: In member "_handle_exception" of class "Engine":
- ignite/engine/engine.py:658:39: error: Expression type contains "Any" (has type "dict[Any, list[Untyped]]") [no-any-expr]
- ignite/engine/engine.py: note: In class "Engine":
- ignite/engine/engine.py:664:5: error: Type of decorated function contains type "Any" ("def (self: Engine) -> list[Untyped]") [no-any-decorated]
- ignite/engine/engine.py: note: In member "state_dict" of class "Engine":
- ignite/engine/engine.py:667:5: error: Method "state_dict" is not using @override but is overriding a method in class "ignite.base.mixins.Serializable" [explicit-override]
- ignite/engine/engine.py:696:16: error: Expression type contains "Any" (has type "OrderedDict[Any (from omitted generics), Any (from omitted generics)]") [no-any-expr]
- ignite/engine/engine.py:696:28: error: Expression type contains "Any" (has type "list[(Any (from omitted generics), Any (from omitted generics))]") [no-any-expr]
- ignite/engine/engine.py: note: In member "load_state_dict" of class "Engine":
- ignite/engine/engine.py:698:5: error: Method "load_state_dict" is not using @override but is overriding a method in class "ignite.base.mixins.Serializable" [explicit-override]
- ignite/engine/engine.py:722:45: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:725:25: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:727:93: error: Expression type contains "Any" (has type "KeysView[Untyped]") [no-any-expr]
- ignite/engine/engine.py:727:93: error: The type "typing.KeysView[Untyped]" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ignite/engine/engine.py:727:94: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:729:33: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:730:35: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:732:36: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:732:36: error: Expression has type "Untyped" [no-any-expr]
- ignite/engine/engine.py:734:27: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:735:36: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:739:25: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:740:32: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:744:41: error: Expression type contains "Any" (has type "Mapping[Untyped, Untyped]") [no-any-expr]
- ignite/engine/engine.py:744:41: error: The type "typing.Mapping[Untyped, Untyped]" doesn't define a __format__, __str__ or __repr__ method [helpful-string]
- ignite/engine/engine.py: note: In member "set_data" of class "Engine":
- ignite/engine/engine.py:759:5: error: Argument 2 to "set_data" becomes "Iterable[Untyped] | Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/engine/engine.py:793:38: error: Expression type contains "Any" (has type "Iterable[Untyped] | Any (from unimported type)") [no-any-expr]
- ignite/engine/engine.py: note: In member "run" of class "Engine":
- ignite/engine/engine.py:854:12: error: Expression type contains "Any" (has type "Iterable[Untyped] | None") [no-any-expr]
- ignite/engine/engine.py:854:12: error: Condition is always false [redundant-expr]
- ignite/engine/engine.py:854:48: error: Expression type contains "Any" (has type "Iterable[Untyped]") [no-any-expr]
- ignite/engine/engine.py:872:55: error: The string for "None" isn't helpful in a user-facing or semantic string [helpful-string]
- ignite/engine/engine.py:875:76: error: Expression type contains "Any" (has type "Generator[Any, None, State] | None") [no-any-expr]
- ignite/engine/engine.py:878:20: error: Expression type contains "Any" (has type "Iterable[Untyped] | None") [no-any-expr]
- ignite/engine/engine.py:881:54: error: Expression type contains "Any" (has type "Iterable[Untyped]") [no-any-expr]
- ignite/engine/engine.py:904:68: error: The string for "None" isn't helpful in a user-facing or semantic string [helpful-string]
- ignite/engine/engine.py:910:52: error: Expression type contains "Any" (has type "Iterable[Untyped] | None") [no-any-expr]
- ignite/engine/engine.py:918:12: error: Expression type contains "Any" (has type "Iterator[Any] | None") [no-any-expr]
- ignite/engine/engine.py: note: In member "_get_data_length" of class "Engine":
- ignite/engine/engine.py:933:24: error: Expression type contains "Any" (has type "Iterable[Untyped]") [no-any-expr]
- ignite/engine/engine.py:934:28: error: Expression type contains "Any" (has type "Iterable[Untyped]") [no-any-expr]
- ignite/engine/engine.py:934:28: note: Error code "no-any-expr" not covered by "type: ignore" comment
- ignite/engine/engine.py: note: In member "_setup_dataloader_iter" of class "Engine":
- ignite/engine/engine.py:941:12: error: Expression type contains "Any" (has type "Any (from unimported type) | Iterable[Any] | None") [no-any-expr]
- ignite/engine/engine.py:949:42: error: Expression type contains "Any" (has type "Any (from unimported type) | Iterable[Any]") [no-any-expr]
- ignite/engine/engine.py: note: In member "_internal_run" of class "Engine":
- ignite/engine/engine.py:962:12: error: Expression type contains "Any" (has type "Generator[Any, None, State] | None") [no-any-expr]
- ignite/engine/engine.py:965:20: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py:965:25: error: Expression type contains "Any" (has type "Generator[Any, None, State]") [no-any-expr]
- ignite/engine/engine.py:968:20: error: Expression has type "Any" [no-any-expr]
- ignite/engine/engine.py: note: In member "_internal_run_as_gen" of class "Engine":
- ignite/engine/engine.py:970:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/engine/engine.py:977:28: error: Expression type contains "Any" (has type "Generator[Untyped, None, None]") [no-any-expr]
... (truncated 8285 lines) ...
zipp (https://github.com/jaraco/zipp): 2.66x faster (16.3s -> 6.1s in a single noisy sample)
+ /tmp/mypy_primer/new_mypy/venv/lib/python3.12/site-packages/mypy/typeshed/stdlib/types.pyi:467: error: INTERNAL ERROR -- Please try using basedmypy master on GitHub:
+ https://kotlinisland.github.io/basedmypy/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/KotlinIsland/basedmypy/issues
+ version: 2.9.0+dev.a56880b6567482cba290f604d6aeb95e1b32e04f
+ note: use --pdb to drop into pdb
- conftest.py: note: In function "add_future_flags":
- conftest.py:13:5: error: Cannot assign to a type [misc]
- conftest.py:13:5: error: Statement is unreachable [unreachable]
- conftest.py:13:5: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-unreachable for more info
- zipp/glob.py: note: In member "translate" of class "Translator":
- zipp/glob.py:26:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/glob.py:26:5: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-untyped-def for more info
- zipp/glob.py:30:16: error: Call to incomplete function "extend" of "Translator" in typed context [no-untyped-call]
- zipp/glob.py:30:16: note: Type is "_NamedCallable & (pattern: Untyped) -> None"
- zipp/glob.py:30:16: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-untyped-call for more info
- zipp/glob.py:30:28: error: Call to incomplete function "match_dirs" of "Translator" in typed context [no-untyped-call]
- zipp/glob.py:30:28: note: Type is "_NamedCallable & (pattern: Untyped) -> None"
- zipp/glob.py:30:28: error: "match_dirs" of "Translator" does not return a value (it only ever returns None) [func-returns-value]
- zipp/glob.py:30:44: error: Call to incomplete function "translate_core" of "Translator" in typed context [no-untyped-call]
- zipp/glob.py:30:44: note: Type is "_NamedCallable & (pattern: Untyped) -> None"
- zipp/glob.py:30:44: error: "translate_core" of "Translator" does not return a value (it only ever returns None) [func-returns-value]
- zipp/glob.py:30:44: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-func-returns-value for more info
- zipp/glob.py:30:64: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py:30:64: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-any-expr for more info
- zipp/glob.py: note: In member "extend" of class "Translator":
- zipp/glob.py:32:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/glob.py:41:9: error: No return value expected [return-value]
- zipp/glob.py:41:23: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py: note: In member "match_dirs" of class "Translator":
- zipp/glob.py:43:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/glob.py:49:9: error: No return value expected [return-value]
- zipp/glob.py:49:19: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py: note: In member "translate_core" of class "Translator":
- zipp/glob.py:51:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/glob.py:63:9: error: Call to incomplete function "restrict_rglob" of "Translator" in typed context [no-untyped-call]
- zipp/glob.py:63:9: note: Type is "_NamedCallable & (pattern: Untyped) -> None"
- zipp/glob.py:63:29: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py:64:9: error: No return value expected [return-value]
- zipp/glob.py:64:24: error: No overload variant of "map" matches argument types "_NamedCallable & (match: Untyped) -> None", "None" [call-overload]
- zipp/glob.py:64:24: note: Possible overload variants:
- zipp/glob.py:64:24: note: [_S, _T1] __new__(cls, (_T1@__new__) -> _S@map, Iterable[_T1@__new__], /) -> map[_S@map]
- zipp/glob.py:64:24: note: [_S, _T1, _T2] __new__(cls, (_T1@__new__, _T2@__new__) -> _S@map, Iterable[_T1@__new__], Iterable[_T2@__new__], /) -> map[_S@map]
- zipp/glob.py:64:24: note: [_S, _T1, _T2, _T3] __new__(cls, (_T1@__new__, _T2@__new__, _T3@__new__) -> _S@map, Iterable[_T1@__new__], Iterable[_T2@__new__], Iterable[_T3@__new__], /) -> map[_S@map]
- zipp/glob.py:64:24: note: [_S, _T1, _T2, _T3, _T4] __new__(cls, (_T1@__new__, _T2@__new__, _T3@__new__, _T4@__new__) -> _S@map, Iterable[_T1@__new__], Iterable[_T2@__new__], Iterable[_T3@__new__], Iterable[_T4@__new__], /) -> map[_S@map]
- zipp/glob.py:64:24: note: [_S, _T1, _T2, _T3, _T4, _T5] __new__(cls, (_T1@__new__, _T2@__new__, _T3@__new__, _T4@__new__, _T5@__new__) -> _S@map, Iterable[_T1@__new__], Iterable[_T2@__new__], Iterable[_T3@__new__], Iterable[_T4@__new__], Iterable[_T5@__new__], /) -> map[_S@map]
- zipp/glob.py:64:24: note: [_S] __new__(cls, (...) -> _S@map, Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], Iterable[Any], /, *iterables: Iterable[Any]) -> map[_S@map]
- zipp/glob.py:64:24: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-call-overload for more info
- zipp/glob.py:64:28: error: Expression type contains "Any" (has type "_NamedCallable & (match: Untyped) -> None") [no-any-expr]
- zipp/glob.py:64:42: error: Call to incomplete function "separate" in typed context [no-untyped-call]
- zipp/glob.py:64:42: error: "separate" does not return a value (it only ever returns None) [func-returns-value]
- zipp/glob.py:64:42: note: Type is "def (pattern: Untyped) -> None"
- zipp/glob.py:64:51: error: Call to incomplete function "star_not_empty" of "Translator" in typed context [no-untyped-call]
- zipp/glob.py:64:51: error: "star_not_empty" of "Translator" does not return a value (it only ever returns None) [func-returns-value]
- zipp/glob.py:64:51: note: Type is "_NamedCallable & (pattern: Untyped) -> None"
- zipp/glob.py:64:71: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py: note: In member "replace" of class "Translator":
- zipp/glob.py:66:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/glob.py:70:9: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/glob.py:70:9: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-any-return for more info
- zipp/glob.py:70:16: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py:70:16: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/glob.py:71:13: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/glob.py:71:23: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py: note: In member "restrict_rglob" of class "Translator":
- zipp/glob.py:77:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/glob.py:87:43: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py:88:16: error: Unsupported right operand type for in ("str | None") [operator]
- zipp/glob.py:88:16: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-operator for more info
- zipp/glob.py: note: In member "star_not_empty" of class "Translator":
- zipp/glob.py:91:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/glob.py: note: In function "star_not_empty":
- zipp/glob.py:96:9: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/glob.py:97:13: error: Usage of untyped name "segment" in typed context [no-untyped-usage]
- zipp/glob.py:97:13: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-untyped-usage for more info
- zipp/glob.py:97:23: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py:98:13: error: No return value expected [return-value]
- zipp/glob.py:98:20: error: Expression type contains "Any" (has type "str | Untyped") [no-any-expr]
- zipp/glob.py:98:28: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py:98:28: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/glob.py:98:48: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py: note: In member "star_not_empty" of class "Translator":
- zipp/glob.py:101:9: error: No return value expected [return-value]
- zipp/glob.py:101:41: error: Expression type contains "Any" (has type "def (match: Untyped) -> None") [no-any-expr]
- zipp/glob.py:101:41: error: Argument 2 to "sub" has incompatible type "def (match: Untyped) -> None"; expected "str | (Match[str]) -> str" [arg-type]
- zipp/glob.py:101:57: error: Expression has type "Untyped" [no-any-expr]
- zipp/glob.py: note: In function "separate":
- zipp/glob.py:104:1: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/glob.py:113:5: error: No return value expected [return-value]
- zipp/glob.py:113:72: error: Expression has type "Untyped" [no-any-expr]
- zipp/compat/py310.py: note: In function "_text_encoding":
- zipp/compat/py310.py:5:1: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/compat/py310.py:6:5: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/compat/py310.py:6:12: error: Expression has type "Untyped" [no-any-expr]
- zipp/compat/py310.py: note: At top level:
- zipp/compat/py310.py:10:5: error: Expression type contains "Any" (has type "overloaded function | def (Untyped, int=...) -> None") [no-any-expr]
- zipp/compat/py310.py:10:5: note: Error code "no-any-expr" not covered by "type: ignore" comment
- zipp/compat/py310.py:12:10: error: Expression type contains "Any" (has type "def (Untyped, int=...) -> None") [no-any-expr]
- tests/compat/py39.py:5:13: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/compat/py39.py:5:40: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/compat/py39.py:10:40: error: Expression has type "Any (from unimported type)" [no-any-expr]
- zipp/_functools.py: note: In function "save_method_args":
- zipp/_functools.py:6:1: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/_functools.py:13:6: error: Expression type contains "Any" (has type "_Wrapper[Any (unannotated)]") [no-any-expr]
- zipp/_functools.py:13:6: error: Expression type contains "Any" (has type "def (Untyped, /, *args: Untyped, **kwargs: Untyped) -> None") [no-any-expr]
- zipp/_functools.py:13:22: error: Expression has type "Untyped" [no-any-expr]
- zipp/_functools.py:14:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/_functools.py:14:5: error: Type of decorated function contains type "Any" ("def (Untyped, /, *args: Untyped, **kwargs: Untyped) -> None & _Wrapped[Any (unannotated)]") [no-any-decorated]
- zipp/_functools.py:14:5: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-no-any-decorated for more info
- zipp/_functools.py:15:21: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/_functools.py:15:33: error: Expression has type "Untyped" [no-any-expr]
- zipp/_functools.py:16:16: error: Expression type contains "Any" (has type "args_and_kwargs@11") [no-any-expr]
- zipp/_functools.py:16:32: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- zipp/_functools.py:16:38: error: Expression type contains "Any" (has type "dict[str, Untyped]") [no-any-expr]
- zipp/_functools.py:17:17: error: Expression has type "Untyped" [no-any-expr]
- zipp/_functools.py:17:23: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/_functools.py:17:34: error: Expression type contains "Any" (has type "args_and_kwargs@11") [no-any-expr]
- zipp/_functools.py:18:9: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/_functools.py:18:16: error: Expression has type "Untyped" [no-any-expr]
- zipp/_functools.py:18:23: error: Expression has type "Untyped" [no-any-expr]
- zipp/_functools.py:18:30: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- zipp/_functools.py:18:38: error: Expression type contains "Any" (has type "dict[str, Untyped]") [no-any-expr]
- zipp/_functools.py:20:5: error: No return value expected [return-value]
- zipp/_functools.py:20:12: error: Expression type contains "Any" (has type "def (Untyped, /, *args: Untyped, **kwargs: Untyped) -> None & _Wrapped[Any (unannotated)]") [no-any-expr]
- tests/_test_params.py: note: In function "parameterize":
- tests/_test_params.py:7:1: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/_test_params.py:14:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/_test_params.py:15:10: error: Expression type contains "Any" (has type "_Wrapper[Any (unannotated)]") [no-any-expr]
- tests/_test_params.py:15:10: error: Expression type contains "Any" (has type "def (self: Untyped) -> None") [no-any-expr]
- tests/_test_params.py:15:26: error: Expression has type "Untyped" [no-any-expr]
- tests/_test_params.py:16:9: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/_test_params.py:16:9: error: Type of decorated function contains type "Any" ("def (self: Untyped) -> None & _Wrapped[Any (unannotated)]") [no-any-decorated]
- tests/_test_params.py:17:13: error: Expression has type "Untyped" [no-any-expr]
- tests/_test_params.py:17:27: error: Expression has type "Untyped" [no-any-expr]
- tests/_test_params.py:18:32: error: Expression type contains "Any" (has type "_NamedCallable & (cand: Untyped) -> None") [no-any-expr]
- tests/_test_params.py:18:46: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/_test_params.py:18:62: error: Expression has type "Untyped" [no-any-expr]
- tests/_test_params.py:19:31: error: Expression type contains "Any" (has type "zip[(Any (from unimported type), None)]") [no-any-expr]
- tests/_test_params.py:19:35: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/_test_params.py:19:51: error: Expression has type "Untyped" [no-any-expr]
- tests/_test_params.py:20:22: error: Expression has type "Untyped" [no-any-expr]
- tests/_test_params.py:21:26: error: Expression has type "Untyped" [no-any-expr]
- tests/_test_params.py:23:9: error: No return value expected [return-value]
- tests/_test_params.py:23:16: error: Expression type contains "Any" (has type "def (self: Untyped) -> None & _Wrapped[Any (unannotated)]") [no-any-expr]
- tests/_test_params.py:25:5: error: No return value expected [return-value]
- tests/_test_params.py:25:12: error: Expression type contains "Any" (has type "def (func: Untyped) -> None") [no-any-expr]
- tests/_test_params.py: note: In member "wrap" of class "Invoked":
- tests/_test_params.py:34:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/_test_params.py: note: In class "Invoked":
- tests/_test_params.py:34:5: error: Type of decorated function contains type "Any" ("def (cls: type[Invoked], func: Untyped) -> None") [no-any-decorated]
- tests/_test_params.py: note: In member "wrap" of class "Invoked":
- tests/_test_params.py:35:9: error: No return value expected [return-value]
- tests/_test_params.py:35:25: error: Expression has type "Untyped" [no-any-expr]
- tests/_test_params.py: note: In member "eval" of class "Invoked":
- tests/_test_params.py:38:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/_test_params.py: note: In class "Invoked":
- tests/_test_params.py:38:5: error: Type of decorated function contains type "Any" ("def (cls: type[Invoked], cand: Untyped) -> None") [no-any-decorated]
- tests/_test_params.py: note: In member "eval" of class "Invoked":
- tests/_test_params.py:39:9: error: Returning Any from function declared to return "None" [no-any-return]
- tests/_test_params.py:39:16: error: Expression has type "Any" [no-any-expr]
- tests/_test_params.py:39:42: error: Expression has type "Untyped" [no-any-expr]
- tests/_test_params.py:39:58: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In function "_parents":
- zipp/__init__.py:29:1: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:45:5: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:45:12: error: No overload variant of "islice" matches argument types "None", "int", "None" [call-overload]
- zipp/__init__.py:45:12: note: Possible overload variants:
- zipp/__init__.py:45:12: note: [_T] __init__(self, Iterable[_T@islice], int | None, /) -> islice[_T@islice]
- zipp/__init__.py:45:12: note: [_T] __init__(self, Iterable[_T@islice], int | None, int | None, int | None = ..., /) -> islice[_T@islice]
- zipp/__init__.py:45:29: error: Call to incomplete function "_ancestry" in typed context [no-untyped-call]
- zipp/__init__.py:45:29: error: "_ancestry" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:45:29: note: Type is "def (path: Untyped) -> None"
- zipp/__init__.py:45:39: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In function "_ancestry":
- zipp/__init__.py:48:1: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:48:1: error: The return type of a generator function should be "Generator" or one of its supertypes [misc]
- zipp/__init__.py:69:5: error: Usage of untyped name "path'" in typed context [no-untyped-usage]
- zipp/__init__.py:69:12: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:70:11: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:71:15: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:72:9: error: Usage of untyped name "path'" in typed context [no-untyped-usage]
- zipp/__init__.py:72:22: error: Expression type contains "Any" (has type "(Any (unannotated), Any (unannotated))") [no-any-expr]
- zipp/__init__.py:72:22: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/__init__.py:72:38: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: At top level:
- zipp/__init__.py:75:11: error: Expression type contains "Any" (has type overloaded function) [no-any-expr]
- zipp/__init__.py: note: In function "_difference":
- zipp/__init__.py:79:1: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:84:5: error: No return value expected [return-value]
- zipp/__init__.py:84:12: error: Expression type contains "Any" (has type "filterfalse[Any (unannotated)]") [no-any-expr]
- zipp/__init__.py:84:34: error: Expression type contains "Any" (has type "set[Any (unannotated)]") [no-any-expr]
- zipp/__init__.py:84:38: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:84:64: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In class "InitializedState":
- zipp/__init__.py:92:6: error: Expression type contains "Any" (has type "def (method: Untyped) -> None") [no-any-expr]
- zipp/__init__.py:92:6: error: Expression type contains "Any" (has type "def (self: InitializedState, *args: Untyped, **kwargs: Untyped) -> None") [no-any-expr]
- zipp/__init__.py:92:6: error: Unsupported decorated constructor type [misc]
- zipp/__init__.py: note: In member "__init__" of class "InitializedState":
- zipp/__init__.py:93:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:94:27: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- zipp/__init__.py:94:35: error: Expression type contains "Any" (has type "dict[str, Untyped]") [no-any-expr]
- zipp/__init__.py: note: In member "__getstate__" of class "InitializedState":
- zipp/__init__.py:96:5: error: Method "__getstate__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- zipp/__init__.py:96:5: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-explicit-override for more info
- zipp/__init__.py:97:9: error: No return value expected [return-value]
- zipp/__init__.py:97:16: error: "InitializedState" has no attribute "_saved___init__" [attr-defined]
- zipp/__init__.py:97:43: error: "InitializedState" has no attribute "_saved___init__" [attr-defined]
- zipp/__init__.py: note: In member "__setstate__" of class "InitializedState":
- zipp/__init__.py:99:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:100:24: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:100:24: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/__init__.py:101:27: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/__init__.py:101:35: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/__init__.py: note: In member "_implied_dirs" of class "CompleteDirs":
- zipp/__init__.py:116:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py: note: In class "CompleteDirs":
- zipp/__init__.py:116:5: error: Type of decorated function contains type "Any" ("def (names: Untyped) -> None") [no-any-decorated]
- zipp/__init__.py: note: In member "_implied_dirs" of class "CompleteDirs":
- zipp/__init__.py:117:19: error: Need type annotation for "parents" [var-annotated]
- zipp/__init__.py:117:19: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-var-annotated for more info
- zipp/__init__.py:117:49: error: Argument 1 to "from_iterable" of "chain" has incompatible type "map[None]"; expected "Iterable[Iterable[Never]]" [arg-type]
- zipp/__init__.py:117:53: error: Expression type contains "Any" (has type "def (path: Untyped) -> None") [no-any-expr]
- zipp/__init__.py:117:63: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:119:9: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:119:16: error: No overload variant matches argument type "None" [call-overload]
- zipp/__init__.py:119:16: note: Possible overload variants:
- zipp/__init__.py:119:16: note: [_KT, _VT, _T] fromkeys(cls, Iterable[_T@fromkeys], None = ..., /) -> dict[_T@fromkeys, Any | None]
- zipp/__init__.py:119:16: note: [_KT, _VT, _T, _S] fromkeys(cls, Iterable[_T@fromkeys], _S@fromkeys, /) -> dict[_T@fromkeys, _S@fromkeys]
- zipp/__init__.py:119:24: error: Call to incomplete function "_difference" in typed context [no-untyped-call]
- zipp/__init__.py:119:24: error: "_difference" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:119:24: note: Type is "def (minuend: Untyped, subtrahend: Untyped) -> None"
- zipp/__init__.py:119:45: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In member "namelist" of class "CompleteDirs":
- zipp/__init__.py:121:5: error: Return type "None" of "namelist" incompatible with return type "list[str]" in supertype "ZipFile" [override]
- zipp/__init__.py:121:5: error: Method "namelist" is not using @override but is overriding a method in class "zipfile.ZipFile" [explicit-override]
- zipp/__init__.py:123:9: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:123:24: error: No overload variant of "list" matches argument type "None" [call-overload]
- zipp/__init__.py:123:24: note: Possible overload variants:
- zipp/__init__.py:123:24: note: [_T] __init__(self) -> list[_T@list]
- zipp/__init__.py:123:24: note: [_T] __init__(self, Iterable[_T@list], /) -> list[_T@list]
- zipp/__init__.py:123:29: error: Call to incomplete function "_implied_dirs" of "CompleteDirs" in typed context [no-untyped-call]
- zipp/__init__.py:123:29: error: "_implied_dirs" of "CompleteDirs" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:123:29: note: Type is "_NamedCallable & (names: Untyped) -> None"
- zipp/__init__.py: note: In member "_name_set" of class "CompleteDirs":
- zipp/__init__.py:126:9: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:126:16: error: No overload variant of "set" matches argument type "None" [call-overload]
- zipp/__init__.py:126:16: note: Possible overload variants:
- zipp/__init__.py:126:16: note: [_T] __init__(self) -> set[_T@set]
- zipp/__init__.py:126:16: note: [_T] __init__(self, Iterable[_T@set], /) -> set[_T@set]
- zipp/__init__.py:126:20: error: "namelist" of "CompleteDirs" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py: note: In member "resolve_dir" of class "CompleteDirs":
- zipp/__init__.py:128:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:133:17: error: "_name_set" of "CompleteDirs" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:134:19: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:134:19: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/__init__.py:135:21: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:135:21: error: Unsupported right operand type for in ("None") [operator]
- zipp/__init__.py:135:43: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/__init__.py:135:43: error: Unsupported right operand type for in ("None") [operator]
- zipp/__init__.py:136:9: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:136:16: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/__init__.py:136:42: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In member "getinfo" of class "CompleteDirs":
- zipp/__init__.py:138:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:138:5: error: Return type "None" of "getinfo" incompatible with return type "ZipInfo" in supertype "ZipFile" [override]
- zipp/__init__.py:138:5: error: Method "getinfo" is not using @override but is overriding a method in class "zipfile.ZipFile" [explicit-override]
- zipp/__init__.py:143:13: error: No return value expected [return-value]
- zipp/__init__.py:143:36: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:145:20: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:145:42: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:145:42: error: Unsupported right operand type for in ("None") [operator]
- zipp/__init__.py:145:54: error: "_name_set" of "CompleteDirs" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:147:13: error: No return value expected [return-value]
- zipp/__init__.py:147:45: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In member "make" of class "CompleteDirs":
- zipp/__init__.py:150:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py: note: In class "CompleteDirs":
- zipp/__init__.py:150:5: error: Type of decorated function contains type "Any" ("def (cls: type[CompleteDirs], source: Untyped) -> None") [no-any-decorated]
- zipp/__init__.py: note: In member "make" of class "CompleteDirs":
- zipp/__init__.py:155:23: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:156:13: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:156:20: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:158:27: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:159:13: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:159:24: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:166:9: error: No return value expected [return-value]
- zipp/__init__.py: note: In member "inject" of class "CompleteDirs":
- zipp/__init__.py:174:21: error: Call to incomplete function "_implied_dirs" of "CompleteDirs" in typed context [no-untyped-call]
- zipp/__init__.py:174:21: note: Type is "_NamedCallable & (names: Untyped) -> None"
- zipp/__init__.py:174:21: error: "_implied_dirs" of "CompleteDirs" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:174:21: error: "None" has no attribute "__iter__" (not iterable) [attr-defined]
- zipp/__init__.py: note: In member "namelist" of class "FastLookup":
- zipp/__init__.py:185:5: error: Return type "None" of "namelist" incompatible with return type "list[str]" in supertype "ZipFile" [override]
- zipp/__init__.py:185:5: error: Method "namelist" is not using @override but is overriding a method in class "zipp.CompleteDirs" [explicit-override]
- zipp/__init__.py: note: In class "FastLookup":
- zipp/__init__.py:189:5: error: Property is missing a type annotation [no-untyped-def]
- zipp/__init__.py: note: In member "_name_set" of class "FastLookup":
- zipp/__init__.py:192:5: error: Method "_name_set" is not using @override but is overriding a method in class "zipp.CompleteDirs" [explicit-override]
- zipp/__init__.py: note: In class "FastLookup":
- zipp/__init__.py:196:5: error: Property is missing a type annotation [no-untyped-def]
- zipp/__init__.py: note: In function "_extract_text_encoding":
- zipp/__init__.py:200:1: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:204:5: error: No return value expected [return-value]
- zipp/__init__.py:204:12: error: Expression type contains "Any" (has type "Any | None") [no-any-expr]
- zipp/__init__.py:204:12: error: Expression type contains "Any" (has type "(Any | None, tuple[Untyped, ...], dict[str, Untyped])") [no-any-expr]
- zipp/__init__.py:204:26: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:204:50: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- zipp/__init__.py:204:56: error: Expression type contains "Any" (has type "dict[str, Untyped]") [no-any-expr]
- zipp/__init__.py: note: In member "__init__" of class "Path":
- zipp/__init__.py:312:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:322:37: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In member "__eq__" of class "Path":
- zipp/__init__.py:325:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:325:5: error: Return type "None" of "__eq__" incompatible with return type "bool" in supertype "object" [override]
- zipp/__init__.py:325:5: error: Method "__eq__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- zipp/__init__.py:330:34: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:332:9: error: No return value expected [return-value]
- zipp/__init__.py:332:40: error: Expression type contains "Any" (has type "(Untyped, Untyped)") [no-any-expr]
- zipp/__init__.py:332:41: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:332:53: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In member "__hash__" of class "Path":
- zipp/__init__.py:334:5: error: Return type "None" of "__hash__" incompatible with return type "int" in supertype "object" [override]
- zipp/__init__.py:334:5: error: Method "__hash__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- zipp/__init__.py:335:9: error: No return value expected [return-value]
- zipp/__init__.py: note: In member "open" of class "Path":
- zipp/__init__.py:337:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:343:12: error: "is_dir" of "Path" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:343:12: error: Condition is always false [redundant-expr]
- zipp/__init__.py:343:12: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-redundant-expr for more info
- zipp/__init__.py:346:36: error: "exists" of "Path" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:348:56: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:350:16: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- zipp/__init__.py:350:16: error: Expression type contains "Any" (has type "tuple[Untyped, ...] | dict[str, Untyped]") [no-any-expr]
- zipp/__init__.py:350:24: error: Expression type contains "Any" (has type "dict[str, Untyped]") [no-any-expr]
- zipp/__init__.py:352:13: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:354:34: error: Call to incomplete function "_extract_text_encoding" in typed context [no-untyped-call]
- zipp/__init__.py:354:34: note: Type is "def (encoding: Untyped =, *args: Untyped, **kwargs: Untyped) -> None"
- zipp/__init__.py:354:34: error: "_extract_text_encoding" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:354:34: error: "None" object is not iterable [misc]
- zipp/__init__.py:354:58: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- zipp/__init__.py:354:66: error: Expression type contains "Any" (has type "dict[str, Untyped]") [no-any-expr]
- zipp/__init__.py:355:9: error: No return value expected [return-value]
- zipp/__init__.py:355:41: error: Cannot determine type of "encoding" [has-type]
- zipp/__init__.py:355:52: error: Cannot determine type of "args'" [has-type]
- zipp/__init__.py:355:52: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-has-type for more info
- zipp/__init__.py:355:60: error: Cannot determine type of "kwargs'" [has-type]
- zipp/__init__.py: note: In member "_base" of class "Path":
- zipp/__init__.py:358:9: error: No return value expected [return-value]
- zipp/__init__.py: note: In class "Path":
- zipp/__init__.py:361:5: error: Property is missing a type annotation [no-untyped-def]
- zipp/__init__.py: note: In member "name" of class "Path":
- zipp/__init__.py:362:9: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:362:16: error: "_base" of "Path" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:362:16: error: "None" has no attribute "name" [attr-defined]
- zipp/__init__.py: note: In class "Path":
- zipp/__init__.py:365:5: error: Property is missing a type annotation [no-untyped-def]
- zipp/__init__.py: note: In member "suffix" of class "Path":
- zipp/__init__.py:366:9: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:366:16: error: "_base" of "Path" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:366:16: error: "None" has no attribute "suffix" [attr-defined]
- zipp/__init__.py: note: In class "Path":
- zipp/__init__.py:369:5: error: Property is missing a type annotation [no-untyped-def]
- zipp/__init__.py: note: In member "suffixes" of class "Path":
- zipp/__init__.py:370:9: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:370:16: error: "_base" of "Path" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:370:16: error: "None" has no attribute "suffixes" [attr-defined]
- zipp/__init__.py: note: In class "Path":
- zipp/__init__.py:373:5: error: Property is missing a type annotation [no-untyped-def]
- zipp/__init__.py: note: In member "stem" of class "Path":
- zipp/__init__.py:374:9: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:374:16: error: "_base" of "Path" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:374:16: error: "None" has no attribute "stem" [attr-defined]
- zipp/__init__.py: note: In class "Path":
- zipp/__init__.py:377:5: error: Property is missing a type annotation [no-untyped-def]
- zipp/__init__.py: note: In member "filename" of class "Path":
- zipp/__init__.py:378:9: error: No return value expected [return-value]
- zipp/__init__.py: note: In member "read_text" of class "Path":
- zipp/__init__.py:380:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:381:34: error: Call to incomplete function "_extract_text_encoding" in typed context [no-untyped-call]
- zipp/__init__.py:381:34: note: Type is "def (encoding: Untyped =, *args: Untyped, **kwargs: Untyped) -> None"
- zipp/__init__.py:381:34: error: "_extract_text_encoding" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:381:34: error: "None" object is not iterable [misc]
- zipp/__init__.py:381:58: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- zipp/__init__.py:381:66: error: Expression type contains "Any" (has type "dict[str, Untyped]") [no-any-expr]
- zipp/__init__.py:382:14: error: Call to incomplete function "open" of "Path" in typed context [no-untyped-call]
- zipp/__init__.py:382:14: note: Type is "_NamedCallable & (mode: str =, *args: Untyped, pwd: Untyped =, **kwargs: Untyped) -> None"
- zipp/__init__.py:382:14: error: "open" of "Path" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:382:14: error: "None" has no attribute "__enter__" [attr-defined]
- zipp/__init__.py:382:14: error: "None" has no attribute "__exit__" [attr-defined]
- zipp/__init__.py:382:29: error: Cannot determine type of "encoding" [has-type]
- zipp/__init__.py:382:40: error: Cannot determine type of "args'" [has-type]
- zipp/__init__.py:382:48: error: Cannot determine type of "kwargs'" [has-type]
- zipp/__init__.py:383:13: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py: note: In member "read_bytes" of class "Path":
- zipp/__init__.py:386:14: error: Call to incomplete function "open" of "Path" in typed context [no-untyped-call]
- zipp/__init__.py:386:14: note: Type is "_NamedCallable & (mode: str =, *args: Untyped, pwd: Untyped =, **kwargs: Untyped) -> None"
- zipp/__init__.py:386:14: error: "open" of "Path" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:386:14: error: "None" has no attribute "__enter__" [attr-defined]
- zipp/__init__.py:386:14: error: "None" has no attribute "__exit__" [attr-defined]
- zipp/__init__.py:387:13: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py: note: In member "_is_child" of class "Path":
- zipp/__init__.py:389:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:390:9: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:390:16: error: Expression has type "Any (unannotated)" [no-any-expr]
- zipp/__init__.py:390:34: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In member "_next" of class "Path":
- zipp/__init__.py:392:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:393:9: error: No return value expected [return-value]
- zipp/__init__.py:393:42: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In member "is_dir" of class "Path":
- zipp/__init__.py:396:9: error: No return value expected [return-value]
- zipp/__init__.py: note: In member "is_file" of class "Path":
- zipp/__init__.py:399:16: error: "exists" of "Path" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:399:34: error: Right operand of "and" is never evaluated [unreachable]
- zipp/__init__.py: note: In member "exists" of class "Path":
- zipp/__init__.py:402:9: error: No return value expected [return-value]
- zipp/__init__.py: note: In member "iterdir" of class "Path":
- zipp/__init__.py:405:12: error: Condition is always true [redundant-expr]
- zipp/__init__.py:405:16: error: "is_dir" of "Path" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:407:9: error: Statement is unreachable [unreachable]
- zipp/__init__.py: note: In member "match" of class "Path":
- zipp/__init__.py:410:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:411:9: error: No return value expected [return-value]
- zipp/__init__.py:411:53: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In member "is_symlink" of class "Path":
- zipp/__init__.py:419:9: error: No return value expected [return-value]
- zipp/__init__.py: note: In member "glob" of class "Path":
- zipp/__init__.py:421:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:422:16: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:423:54: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:427:39: error: Call to incomplete function "translate" of "Translator" in typed context [no-untyped-call]
- zipp/__init__.py:427:39: error: "translate" of "Translator" does not return a value (it only ever returns None) [func-returns-value]
- zipp/__init__.py:427:39: error: Unsupported operand types for + ("str" and "None") [operator]
- zipp/__init__.py:427:39: note: Type is "_NamedCallable & (pattern: Untyped) -> None"
- zipp/__init__.py:427:52: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:428:9: error: No return value expected [return-value]
- zipp/__init__.py:428:20: error: Expression type contains "Any" (has type "_NamedCallable & (at: Untyped) -> None") [no-any-expr]
- zipp/__init__.py: note: In member "rglob" of class "Path":
- zipp/__init__.py:430:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:431:16: error: Call to incomplete function "glob" of "Path" in typed context [no-untyped-call]
- zipp/__init__.py:431:16: note: Type is "_NamedCallable & (pattern: Untyped) -> None"
- zipp/__init__.py:431:31: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py: note: In member "relative_to" of class "Path":
- zipp/__init__.py:433:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:434:9: error: No return value expected [return-value]
- zipp/__init__.py:434:49: error: Expression has type "Untyped" [no-any-expr]
- zipp/__init__.py:434:65: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- zipp/__init__.py: note: In member "__str__" of class "Path":
- zipp/__init__.py:436:5: error: Return type "None" of "__str__" incompatible with return type "str" in supertype "object" [override]
- zipp/__init__.py:436:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- zipp/__init__.py:437:9: error: No return value expected [return-value]
- zipp/__init__.py: note: In member "__repr__" of class "Path":
- zipp/__init__.py:439:5: error: Return type "None" of "__repr__" incompatible with return type "str" in supertype "object" [override]
- zipp/__init__.py:439:5: error: Method "__repr__" is not using @override but is overriding a method in class "builtins.object" [explicit-override]
- zipp/__init__.py:440:9: error: No return value expected [return-value]
- zipp/__init__.py: note: In member "joinpath" of class "Path":
- zipp/__init__.py:442:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- zipp/__init__.py:443:41: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- zipp/__init__.py:444:16: error: Call to incomplete function "_next" of "Path" in typed context [no-untyped-call]
- zipp/__init__.py:444:16: note: Type is "_NamedCallable & (at: Untyped) -> None"
- zipp/__init__.py: note: In class "Path":
- zipp/__init__.py:446:19: error: Expression type contains "Any" (has type "def (self: Path, *other: Untyped) -> None") [no-any-expr]
- zipp/__init__.py:449:5: error: Property is missing a type annotation [no-untyped-def]
- zipp/__init__.py: note: In member "parent" of class "Path":
- zipp/__init__.py:451:13: error: Returning Any from function declared to return "None" [no-any-return]
- zipp/__init__.py:451:20: error: "None" has no attribute "parent" [attr-defined]
- zipp/__init__.py:455:16: error: Call to incomplete function "_next" of "Path" in typed context [no-untyped-call]
- zipp/__init__.py:455:16: note: Type is "_NamedCallable & (at: Untyped) -> None"
- zipp/compat/overlay.py: note: In member "__hash__" of class "HashableNamespace":
- zipp/compat/overlay.py:29:5: error: Signature of "__hash__" incompatible with supertype "SimpleNamespace" [override]
- zipp/compat/overlay.py:29:5: note: Superclass:
- zipp/compat/overlay.py:29:5: note: None
- zipp/compat/overlay.py:29:5: note: Subclass:
- zipp/compat/overlay.py:29:5: note: __hash__(self) -> None
- zipp/compat/overlay.py:29:5: error: Return type "None" of "__hash__" incompatible with return type "int" in supertype "object" [override]
- zipp/compat/overlay.py:29:5: error: Method "__hash__" is not using @override but is overriding a method in class "types.SimpleNamespace" [explicit-override]
- zipp/compat/overlay.py:30:9: error: No return value expected [return-value]
- zipp/compat/overlay.py:30:27: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- zipp/compat/overlay.py: note: At top level:
- zipp/compat/overlay.py:33:31: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
+ Traceback (most recent call last):
+ File "", line 8, in <module>
+ sys.exit(console_entry())
+ File "/__main__.py", line 15, in console_entry
+ main()
+ File "/main.py", line 114, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ File "/main.py", line 223, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/build.py", line 200, in build
+ result = _build(
+ File "/build.py", line 278, in _build
+ graph = dispatch(sources, manager, stdout)
+ File "/build.py", line 3078, in dispatch
+ process_graph(graph, manager)
+ File "/build.py", line 3478, in process_graph
+ process_stale_scc(graph, scc, manager)
+ File "/build.py", line 3579, in process_stale_scc
+ graph[id].type_check_first_pass()
+ File "/build.py", line 2446, in type_check_first_pass
+ self.type_checker().check_first_pass()
+ File "/checker.py", line 505, in check_first_pass
+ self.accept(d)
+ File "/checker.py", line 614, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1380, in accept
+ return visitor.visit_assignment_stmt(self)
+ File "/checker.py", line 3264, in visit_assignment_stmt
+ self.check_type_alias_rvalue(s)
+ File "/checker.py", line 3311, in check_type_alias_rvalue
+ alias_type = self.expr_checker.accept(s.rvalue)
+ File "/checkexpr.py", line 6171, in accept
+ typ = node.accept(self)
+ File "/nodes.py", line 2069, in accept
+ return visitor.visit_index_expr(self)
+ File "/checkexpr.py", line 4506, in visit_index_expr
+ result = self.visit_index_expr_helper(e)
+ File "/checkexpr.py", line 4520, in visit_index_expr_helper
+ return self.accept(e.analyzed)
+ File "/checkexpr.py", line 6171, in accept
+ typ = node.accept(self)
+ ^^^^^^^^^^^^^^^^^
+ File "/nodes.py", line 2765, in accept
+ return visitor.visit_type_alias_expr(self)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/checkexpr.py", line 4991, in visit_type_alias_expr
+ return self.alias_type_in_runtime_context(alias.node, ctx=alias, alias_definition=True)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/checkexpr.py", line 5019, in alias_type_in_runtime_context
+ item = get_proper_type(
+ ^^^^^^^^^^^^^^^^
+ File "/types.py", line 3575, in get_proper_type
+ typ = typ._expand_once()
+ ^^^^^^^^^^^^^^^^^^
+ File "/types.py", line 347, in _expand_once
+ v.id: apply_explicit_variance(v, s)
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ File "/types.py", line 340, in apply_explicit_variance
+ if type_var.variance != VARIANCE_NOT_READY:
+ ^^^^^^^^^^^^^^^^^
+ AttributeError: 'ParamSpecType' object has no attribute 'variance'
- tests/test_path.py: note: In function "_make_link":
- tests/test_path.py:21:5: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In function "build_alpharep_fixture":
- tests/test_path.py:57:10: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:58:5: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:59:5: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:60:5: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:61:5: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:62:5: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:63:5: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:64:5: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:65:5: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:66:5: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:67:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:69:5: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:70:5: error: Returning Any from function declared to return "None" [no-any-return]
- tests/test_path.py:70:12: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: At top level:
- tests/test_path.py:74:5: error: Call to incomplete function "wrap" of "Invoked" in typed context [no-untyped-call]
- tests/test_path.py:74:5: note: Type is "_NamedCallable & (func: Untyped) -> None"
- tests/test_path.py:74:5: error: "wrap" of "Invoked" does not return a value (it only ever returns None) [func-returns-value]
- tests/test_path.py:75:5: error: Call to incomplete function "wrap" of "Invoked" in typed context [no-untyped-call]
- tests/test_path.py:75:5: note: Type is "_NamedCallable & (func: Untyped) -> None"
- tests/test_path.py:75:5: error: "wrap" of "Invoked" does not return a value (it only ever returns None) [func-returns-value]
- tests/test_path.py:75:18: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/test_path.py:75:26: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:78:1: error: Need type annotation for "pass_alpharep" (hint: "pass_alpharep: <type> | None = ...") [var-annotated]
- tests/test_path.py:78:17: error: Call to incomplete function "parameterize" in typed context [no-untyped-call]
- tests/test_path.py:78:17: note: Type is "def (names: Untyped, value_groups: Untyped) -> None"
- tests/test_path.py:78:17: error: "parameterize" does not return a value (it only ever returns None) [func-returns-value]
- tests/test_path.py:78:30: error: Expression type contains "Any" (has type "list[Any (unannotated)]") [no-any-expr]
- tests/test_path.py: note: In member "setUp" of class "TestPath":
- tests/test_path.py:82:5: error: Method "setUp" is not using @override but is overriding a method in class "unittest.case.TestCase" [explicit-override]
- tests/test_path.py: note: In member "zipfile_ondisk" of class "TestPath":
- tests/test_path.py:86:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py:87:31: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/test_path.py:87:59: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/test_path.py:88:9: error: Usage of untyped name "buffer" in typed context [no-untyped-usage]
- tests/test_path.py:88:18: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:89:9: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:90:16: error: Expression has type "Any (unannotated)" [no-any-expr]
- tests/test_path.py:90:25: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:91:14: error: Expression has type "Any (unannotated)" [no-any-expr]
- tests/test_path.py:92:13: error: Expression has type "Any (unannotated)" [no-any-expr]
- tests/test_path.py:92:24: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:93:9: error: Returning Any from function declared to return "None" [no-any-return]
- tests/test_path.py:93:16: error: Expression has type "Any (unannotated)" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:95:6: error: Untyped decorator makes function "test_iterdir_and_types" untyped [misc]
- tests/test_path.py:95:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_iterdir_and_types" of class "TestPath":
- tests/test_path.py:96:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:96:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_iterdir_and_types" of class "TestPath":
- tests/test_path.py:97:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:97:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:98:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:99:25: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:100:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:101:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:102:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:103:19: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:104:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:104:32: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:105:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:106:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:107:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:108:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:109:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:111:6: error: Untyped decorator makes function "test_is_file_missing" untyped [misc]
- tests/test_path.py:111:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_is_file_missing" of class "TestPath":
- tests/test_path.py:112:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:112:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_is_file_missing" of class "TestPath":
- tests/test_path.py:113:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:113:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:114:20: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:116:6: error: Untyped decorator makes function "test_iterdir_on_file" untyped [misc]
- tests/test_path.py:116:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_iterdir_on_file" of class "TestPath":
- tests/test_path.py:117:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:117:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_iterdir_on_file" of class "TestPath":
- tests/test_path.py:118:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:118:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:119:25: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:121:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:123:6: error: Untyped decorator makes function "test_subdir_is_dir" untyped [misc]
- tests/test_path.py:123:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_subdir_is_dir" of class "TestPath":
- tests/test_path.py:124:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:124:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_subdir_is_dir" of class "TestPath":
- tests/test_path.py:125:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:125:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:126:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:126:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:127:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:127:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:128:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:128:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:129:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:129:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:131:6: error: Untyped decorator makes function "test_open" untyped [misc]
- tests/test_path.py:131:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_open" of class "TestPath":
- tests/test_path.py:132:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:132:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_open" of class "TestPath":
- tests/test_path.py:133:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:133:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:134:25: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:135:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:136:20: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:137:26: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:138:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:139:20: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:140:26: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In member "test_open_encoding_utf16" of class "TestPath":
- tests/test_path.py:144:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:145:9: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:146:9: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:147:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:147:29: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:148:19: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:149:15: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:150:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:151:20: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:152:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:153:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:154:20: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:155:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In member "test_open_encoding_errors" of class "TestPath":
- tests/test_path.py:159:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:160:9: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:161:9: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:162:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:162:29: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:163:19: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:164:15: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:167:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:168:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:169:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:170:20: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:174:20: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:177:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:180:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:182:6: error: "None" not callable [misc]
- tests/test_path.py:182:6: error: Expression type contains "Any" (has type "[_FT: (...) -> Any] (_FT) -> _FT") [no-any-expr]
- tests/test_path.py:186:6: error: Untyped decorator makes function "test_encoding_warnings" untyped [misc]
- tests/test_path.py: note: In member "test_encoding_warnings" of class "TestPath":
- tests/test_path.py:187:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:187:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_encoding_warnings" of class "TestPath":
- tests/test_path.py:190:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:190:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:192:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:195:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In member "test_open_write" of class "TestPath":
- tests/test_path.py:203:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:203:27: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:204:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:205:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:206:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:207:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:209:6: error: Untyped decorator makes function "test_open_extant_directory" untyped [misc]
- tests/test_path.py:209:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_open_extant_directory" of class "TestPath":
- tests/test_path.py:210:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:210:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_open_extant_directory" of class "TestPath":
- tests/test_path.py:214:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:214:27: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:216:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:218:6: error: Untyped decorator makes function "test_open_binary_invalid_args" untyped [misc]
- tests/test_path.py:218:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_open_binary_invalid_args" of class "TestPath":
- tests/test_path.py:219:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:219:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_open_binary_invalid_args" of class "TestPath":
- tests/test_path.py:220:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:220:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:222:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:224:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:226:6: error: Untyped decorator makes function "test_open_missing_directory" untyped [misc]
- tests/test_path.py:226:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_open_missing_directory" of class "TestPath":
- tests/test_path.py:227:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:227:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_open_missing_directory" of class "TestPath":
- tests/test_path.py:231:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:231:27: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:233:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:235:6: error: Untyped decorator makes function "test_read" untyped [misc]
- tests/test_path.py:235:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_read" of class "TestPath":
- tests/test_path.py:236:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:236:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_read" of class "TestPath":
- tests/test_path.py:237:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:237:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:238:25: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:239:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:241:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:242:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:244:6: error: Untyped decorator makes function "test_joinpath" untyped [misc]
- tests/test_path.py:244:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_joinpath" of class "TestPath":
- tests/test_path.py:245:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:245:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_joinpath" of class "TestPath":
- tests/test_path.py:246:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:246:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:247:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:248:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:249:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:250:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:252:6: error: Untyped decorator makes function "test_joinpath_multiple" untyped [misc]
- tests/test_path.py:252:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_joinpath_multiple" of class "TestPath":
- tests/test_path.py:253:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:253:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_joinpath_multiple" of class "TestPath":
- tests/test_path.py:254:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:254:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:255:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:256:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:258:6: error: Untyped decorator makes function "test_traverse_truediv" untyped [misc]
- tests/test_path.py:258:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_traverse_truediv" of class "TestPath":
- tests/test_path.py:259:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:259:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_traverse_truediv" of class "TestPath":
- tests/test_path.py:260:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:260:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:261:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:262:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:263:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:264:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:266:6: error: Untyped decorator makes function "test_pathlike_construction" untyped [misc]
- tests/test_path.py:266:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_pathlike_construction" of class "TestPath":
- tests/test_path.py:267:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:267:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_pathlike_construction" of class "TestPath":
- tests/test_path.py:271:26: error: Call to incomplete function "zipfile_ondisk" of "TestPath" in typed context [no-untyped-call]
- tests/test_path.py:271:26: note: Type is "_NamedCallable & (alpharep: Untyped) -> None"
- tests/test_path.py:271:26: error: "zipfile_ondisk" of "TestPath" does not return a value (it only ever returns None) [func-returns-value]
- tests/test_path.py:271:46: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:272:20: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/test_path.py:273:22: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:275:6: error: Untyped decorator makes function "test_traverse_pathlike" untyped [misc]
- tests/test_path.py:275:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_traverse_pathlike" of class "TestPath":
- tests/test_path.py:276:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:276:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_traverse_pathlike" of class "TestPath":
- tests/test_path.py:277:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:277:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:278:9: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:278:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:280:6: error: Untyped decorator makes function "test_parent" untyped [misc]
- tests/test_path.py:280:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_parent" of class "TestPath":
- tests/test_path.py:281:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:281:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_parent" of class "TestPath":
- tests/test_path.py:282:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:282:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:283:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:283:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:284:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:284:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:286:6: error: Untyped decorator makes function "test_dir_parent" untyped [misc]
- tests/test_path.py:286:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_dir_parent" of class "TestPath":
- tests/test_path.py:287:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:287:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_dir_parent" of class "TestPath":
- tests/test_path.py:288:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:288:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:289:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:289:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:290:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:290:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:292:6: error: Untyped decorator makes function "test_missing_dir_parent" untyped [misc]
- tests/test_path.py:292:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_missing_dir_parent" of class "TestPath":
- tests/test_path.py:293:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:293:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_missing_dir_parent" of class "TestPath":
- tests/test_path.py:294:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:294:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:295:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:295:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:297:6: error: Untyped decorator makes function "test_mutability" untyped [misc]
- tests/test_path.py:297:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_mutability" of class "TestPath":
- tests/test_path.py:298:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:298:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_mutability" of class "TestPath":
- tests/test_path.py:303:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:303:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:304:25: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:305:9: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:306:9: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:307:19: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:307:20: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:307:57: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:308:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:308:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:309:18: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:309:19: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:310:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In member "huge_zipfile" of class "TestPath":
- tests/test_path.py:317:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:319:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:320:9: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:321:9: error: Returning Any from function declared to return "None" [no-any-return]
- tests/test_path.py:321:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In member "test_joinpath_constant_time" of class "TestPath":
- tests/test_path.py:327:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:327:29: error: "huge_zipfile" of "TestPath" does not return a value (it only ever returns None) [func-returns-value]
- tests/test_path.py:328:19: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/test_path.py:328:44: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:329:9: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/test_path.py:329:22: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/test_path.py:330:13: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/test_path.py:332:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:334:6: error: Untyped decorator makes function "test_read_does_not_close" untyped [misc]
- tests/test_path.py:334:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_read_does_not_close" of class "TestPath":
- tests/test_path.py:335:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:335:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_read_does_not_close" of class "TestPath":
- tests/test_path.py:336:20: error: Call to incomplete function "zipfile_ondisk" of "TestPath" in typed context [no-untyped-call]
- tests/test_path.py:336:20: note: Type is "_NamedCallable & (alpharep: Untyped) -> None"
- tests/test_path.py:336:20: error: "zipfile_ondisk" of "TestPath" does not return a value (it only ever returns None) [func-returns-value]
- tests/test_path.py:336:40: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:337:14: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:339:17: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:339:30: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:341:6: error: Untyped decorator makes function "test_subclass" untyped [misc]
- tests/test_path.py:341:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_subclass" of class "TestPath":
- tests/test_path.py:342:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:342:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_subclass" of class "TestPath":
- tests/test_path.py:343:24: error: Name "zipfile.Path" is not defined [name-defined]
- tests/test_path.py: note: In function "test_subclass":
- tests/test_path.py:343:24: error: Class cannot subclass "Path" (has type "Any") [no-subclass-any]
- tests/test_path.py: note: In member "test_subclass" of class "TestPath":
- tests/test_path.py:346:25: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:349:6: error: Untyped decorator makes function "test_filename" untyped [misc]
- tests/test_path.py:349:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_filename" of class "TestPath":
- tests/test_path.py:350:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:350:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_filename" of class "TestPath":
- tests/test_path.py:351:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:351:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:352:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:354:6: error: Untyped decorator makes function "test_root_name" untyped [misc]
- tests/test_path.py:354:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_root_name" of class "TestPath":
- tests/test_path.py:355:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:355:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_root_name" of class "TestPath":
- tests/test_path.py:359:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:359:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:360:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:360:47: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:362:6: error: Untyped decorator makes function "test_suffix" untyped [misc]
- tests/test_path.py:362:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_suffix" of class "TestPath":
- tests/test_path.py:363:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:363:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_suffix" of class "TestPath":
- tests/test_path.py:369:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:369:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:370:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:370:41: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:372:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:373:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:375:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:376:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:378:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:379:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:381:6: error: Untyped decorator makes function "test_suffixes" untyped [misc]
- tests/test_path.py:381:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_suffixes" of class "TestPath":
- tests/test_path.py:382:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:382:5: error: Function is untyped after decorator transformation [no-any-decorated]
- tests/test_path.py: note: In member "test_suffixes" of class "TestPath":
- tests/test_path.py:388:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:388:29: error: Expression has type "Untyped" [no-any-expr]
- tests/test_path.py:389:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:389:45: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:391:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:392:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:394:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:395:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:397:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:398:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:400:13: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py:401:16: error: Expression has type "Any" [no-any-expr]
- tests/test_path.py: note: In class "TestPath":
- tests/test_path.py:403:6: error: Untyped decorator makes function "test_suffix_no_filename" untyped [misc]
- tests/test_path.py:403:6: error: "None" not callable [misc]
- tests/test_path.py: note: In member "test_suffix_no_filename" of class "TestPath":
- tests/test_path.py:404:5: error: Function is missing a type annotation for one or more arguments [no-untyped-def]
- tests/test_path.py: note: In class "TestPath":
... (truncated 547 lines) ...
websockets (https://github.com/aaugustin/websockets)
+ /tmp/mypy_primer/new_mypy/venv/lib/python3.12/site-packages/mypy/typeshed/stdlib/types.pyi:467: error: INTERNAL ERROR -- Please try using basedmypy master on GitHub:
+ https://kotlinisland.github.io/basedmypy/common_issues.html#using-a-development-mypy-build
+ Please report a bug at https://github.com/KotlinIsland/basedmypy/issues
+ version: 2.9.0+dev.a56880b6567482cba290f604d6aeb95e1b32e04f
+ note: use --pdb to drop into pdb
+ Traceback (most recent call last):
+ File "", line 8, in <module>
+ sys.exit(console_entry())
+ File "/__main__.py", line 15, in console_entry
+ main()
+ File "/main.py", line 114, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ File "/main.py", line 223, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/build.py", line 200, in build
+ result = _build(
+ File "/build.py", line 278, in _build
+ graph = dispatch(sources, manager, stdout)
+ File "/build.py", line 3078, in dispatch
+ process_graph(graph, manager)
+ File "/build.py", line 3478, in process_graph
+ process_stale_scc(graph, scc, manager)
+ File "/build.py", line 3579, in process_stale_scc
+ graph[id].type_check_first_pass()
+ File "/build.py", line 2446, in type_check_first_pass
+ self.type_checker().check_first_pass()
+ File "/checker.py", line 505, in check_first_pass
+ self.accept(d)
+ File "/checker.py", line 614, in accept
+ stmt.accept(self)
+ File "/nodes.py", line 1380, in accept
+ return visitor.visit_assignment_stmt(self)
+ File "/checker.py", line 3264, in visit_assignment_stmt
+ self.check_type_alias_rvalue(s)
+ File "/checker.py", line 3311, in check_type_alias_rvalue
+ alias_type = self.expr_checker.accept(s.rvalue)
+ File "/checkexpr.py", line 6171, in accept
+ typ = node.accept(self)
+ File "/nodes.py", line 2069, in accept
+ return visitor.visit_index_expr(self)```</details>
... (truncated 93896 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.
in
/out
modifiers #175