-
Notifications
You must be signed in to change notification settings - Fork 4
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
Basedtypeshed #138
base: master
Are you sure you want to change the base?
Basedtypeshed #138
Conversation
fb9a446
to
7f059bd
Compare
Only issue I could see with this is if we ever wanted to cherry-pick changes from typeshed for a specific release/feature, but we could just make a branch in basedtypeshed for that. So I think this is a good idea |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@@ -1,3 +1,4 @@ | |||
basedtypeshed @ git+https://github.com/KotlinIsland/basedtypeshed.git@51667387d97675997af045c5aa51140c3dd39f56 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably better to do a release of basedtypeshed before we merge this
da676e7
to
142c896
Compare
972126f
to
e79ed82
Compare
e79ed82
to
041aac2
Compare
This comment has been minimized.
This comment has been minimized.
defe778
to
93b2417
Compare
This comment has been minimized.
This comment has been minimized.
838edea
to
36ae11e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
0941ea0
to
0969ee1
Compare
This comment has been minimized.
This comment has been minimized.
0969ee1
to
4ffb555
Compare
This comment has been minimized.
This comment has been minimized.
i think this is mostly ready now. failing tests be like:
|
d18d9de
to
3d947e4
Compare
Diff from mypy_primer, showing the effect of this PR on open source code: ignite (https://github.com/pytorch/ignite)
+ Traceback (most recent call last):
+ File "/tmp/mypy_primer/new_mypy/venv/bin/mypy", line 8, in <module>
+ sys.exit(console_entry())
+ File "/tmp/mypy_primer/new_mypy/venv/lib/python3.10/site-packages/mypy/__main__.py", line 12, in console_entry
+ main(None, sys.stdout, sys.stderr)
+ File "/tmp/mypy_primer/new_mypy/venv/lib/python3.10/site-packages/mypy/main.py", line 95, in main
+ res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+ File "/tmp/mypy_primer/new_mypy/venv/lib/python3.10/site-packages/mypy/main.py", line 207, in run_build
+ res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+ File "/tmp/mypy_primer/new_mypy/venv/lib/python3.10/site-packages/mypy/build.py", line 201, in build
+ result = _build(
+ File "/tmp/mypy_primer/new_mypy/venv/lib/python3.10/site-packages/mypy/build.py", line 233, in _build
+ typeshed_dir = get_typeshed_dir(options.python_executable)
+ File "/tmp/mypy_primer/new_mypy/venv/lib/python3.10/site-packages/mypy/modulefinder.py", line 863, in get_typeshed_dir
+ raise RuntimeError(
+ RuntimeError: failed to find site-packages directory with basedtypeshed in it. found the following packages: [['basedtyping-0.0.1.dist-info', 'mypy_extensions-0.4.3.dist-info', 'typing_extensions.py', 'pip', 'setuptools-63.2.0.dist-info', '__pycache__', 'tomli-2.0.1.dist-info', 'mypy_extensions.py', 'tomli', 'distutils-precedence.pth', 'typing_extensions-4.3.0.dist-info', 'mypyc', 'setuptools', 'pip-22.2.1.dist-info', 'mypy', '_distutils_hack', 'basedmypy-1.5.0+dev.8409bb3dac91b5222a578bc4bf0c8eb0e7dfb12b.dist-info', 'pkg_resources', 'basedtyping']]
- ignite/metrics/nlp/utils.py:7:1: error: Explicit "Any" is not allowed [no-any-explicit]
- 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[tuple[Any, ...]]") [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, ...]") [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: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: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:16: error: Argument 1 to "sum" has incompatible type "dict_values[Untyped, int]"; expected "Iterable[bool | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -1 | -2 | -3 | -4 | -5 | -6 | -7 | -8 | -9 | -10 | -11 | -12 | -13 | -14 | -15 | -16 | -17 | -18 | -19 | -20 | 0]" [arg-type]
- 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/metrics/nlp/utils.py:89:46: error: Argument 1 to "sum" has incompatible type "dict_values[Untyped, int]"; expected "Iterable[bool | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -1 | -2 | -3 | -4 | -5 | -6 | -7 | -8 | -9 | -10 | -11 | -12 | -13 | -14 | -15 | -16 | -17 | -18 | -19 | -20 | 0]" [arg-type]
- 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:21: error: Expression has type "Untyped" [no-any-expr]
- ignite/base/mixins.py:20:21: error: Expression type contains "Any" (has type "KeysView[Untyped]") [no-any-expr]
- 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:30: error: Expression type contains "Any" (has type "tuple[Untyped, ...]") [no-any-expr]
- ignite/distributed/comp_models/base.py:5:1: error: Cannot find implementation or library stub for module named "torch" [import]
- ignite/distributed/comp_models/base.py:60:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:60:5: error: Type of decorated function contains type "Any" ("(ComputationModel) -> Any (from unimported type)") [no-any-decorated]
- ignite/distributed/comp_models/base.py:78:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:78:5: error: Type of decorated function contains type "Any" ("(str, KwArg(Any)) -> ComputationModel") [no-any-decorated]
- ignite/distributed/comp_models/base.py:83:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:83:5: error: Type of decorated function contains type "Any" ("(VarArg(Any), KwArg(Any)) -> None") [no-any-decorated]
- ignite/distributed/comp_models/base.py:86:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:89:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:89: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:89:5: error: Type of decorated function contains type "Any" ("(str, Any (from unimported type), int) -> Any (from unimported type)") [no-any-decorated]
- ignite/distributed/comp_models/base.py:90:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:90:55: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:91:20: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:91:49: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:91:63: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:92:9: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:92:24: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:92:33: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:93:9: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:93:28: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:95:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:97: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:98:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:98:46: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:99:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:99:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:100:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:103: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:103:5: error: Type of decorated function contains type "Any" ("(Any (from unimported type) | float | str | None, bool) -> list[int]") [no-any-decorated]
- ignite/distributed/comp_models/base.py:109:23: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:109:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:110:21: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:111:25: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:112:27: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:112:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:114:25: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [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:121: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:121: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:121:5: error: Type of decorated function contains type "Any" ("(list[int], Any (from unimported type)) -> Any (from unimported type) | float | str") [no-any-decorated]
- ignite/distributed/comp_models/base.py:128:21: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:129:20: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:129:46: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:129:60: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:137: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:137: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:137: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:141:56: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:142:33: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:142:53: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:142:95: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:145:16: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:147:20: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:149:23: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:150:16: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:150:44: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:150:57: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:153: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:153:5: error: Type of decorated function contains type "Any" ("(Any (from unimported type)) -> list[str]") [no-any-decorated]
- ignite/distributed/comp_models/base.py:155:15: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:155:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:155:30: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:155:72: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:158:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:158: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:158: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:158:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:165:12: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:165:29: 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:22: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:167:32: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:169:12: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:171:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:171: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:171:37: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:171:52: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:172:29: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:173:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:173:36: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:175:18: error: Expression has type "Untyped" [no-any-expr]
- ignite/distributed/comp_models/base.py:175:21: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:175:30: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/distributed/comp_models/base.py:175:38: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/distributed/comp_models/base.py:177:12: error: Expression type contains "Any" (has type "Any (from unimported type) | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:177:38: error: Expression type contains "Any" (has type "Any (from unimported type) | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:178:20: error: Expression has type "Untyped" [no-any-expr]
- ignite/distributed/comp_models/base.py:178:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:178:54: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:179:12: error: Expression type contains "Any" (has type "Any (from unimported type) | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:180:20: error: Expression has type "Untyped" [no-any-expr]
- ignite/distributed/comp_models/base.py:180:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:181:12: error: Expression type contains "Any" (has type "Any (from unimported type) | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:182:20: error: Expression has type "Untyped" [no-any-expr]
- ignite/distributed/comp_models/base.py:182:37: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:183:16: error: Expression has type "Untyped" [no-any-expr]
- ignite/distributed/comp_models/base.py:185: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:185:5: error: Argument 2 to "_collective_op" becomes "Any (from unimported type) | float | str" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:185:5: error: Explicit "Any" is not allowed [no-any-explicit]
- ignite/distributed/comp_models/base.py:189:18: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:190:23: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:192:22: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:192:50: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:192:64: error: Expression has type "Any" [no-any-expr]
- ignite/distributed/comp_models/base.py:193:25: error: Expression type contains "Any" (has type "Any (from unimported type) | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:195:55: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:196:47: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:198:18: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:198:33: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:198:41: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:198:49: error: Expression type contains "Any" (has type "(...) -> Untyped") [no-any-expr]
- ignite/distributed/comp_models/base.py:198:54: error: Expression type contains "Any" (has type "tuple[Any, ...]") [no-any-expr]
- ignite/distributed/comp_models/base.py:198:62: error: Expression type contains "Any" (has type "dict[str, Any]") [no-any-expr]
- ignite/distributed/comp_models/base.py:201:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:202:24: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:204:24: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:206:37: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:207:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:209:5: error: Return type becomes "Any (from unimported type) | float" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:209: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:27: error: Expression type contains "Any" (has type "Any (from unimported type) | float") [no-any-expr]
- ignite/distributed/comp_models/base.py:210:35: error: Expression type contains "Any" (has type "(Any (from unimported type), type[Number])") [no-any-expr]
- ignite/distributed/comp_models/base.py:210:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:213: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:213:16: error: Expression type contains "Any" (has type "Any (from unimported type) | float") [no-any-expr]
- ignite/distributed/comp_models/base.py:213:69: error: Expression type contains "Any" (has type "Any (from unimported type) | Number") [no-any-expr]
- ignite/distributed/comp_models/base.py:213:77: error: Expression type contains "Any" (has type "(Any (from unimported type), str) -> Any (from unimported type)") [no-any-expr]
- ignite/distributed/comp_models/base.py:215: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:215:5: error: Argument 2 to "all_gather" becomes "Any (from unimported type) | float | str" due to an unfollowed import [no-any-unimported]
- ignite/distributed/comp_models/base.py:216:27: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:216: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:216:36: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:219: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:219:36: error: Expression type contains "Any" (has type "Any (from unimported type) | Number | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:219:44: error: Expression type contains "Any" (has type "(Any (from unimported type)) -> Any (from unimported type)") [no-any-expr]
- ignite/distributed/comp_models/base.py:221: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:221: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:224:28: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:224: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:224:37: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:228:12: error: Expression type contains "Any" (has type "Any (from unimported type) | Number | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:234:18: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:238:46: error: Expression type contains "Any" (has type "Any (from unimported type) | Number | str | None") [no-any-expr]
- ignite/distributed/comp_models/base.py:238:54: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:240: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:243:23: error: Expression type contains "Any" (has type "Any (from unimported type) | float | str | Number") [no-any-expr]
- ignite/distributed/comp_models/base.py:246:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:246:48: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:246:62: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:248:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:248:56: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:248:70: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:249:25: error: Expression type contains "Any" (has type "Any (from unimported type) | str") [no-any-expr]
- ignite/distributed/comp_models/base.py:251:55: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:253:26: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:253:64: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:253:78: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:255:51: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:257:18: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:257:33: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:257:41: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:257:49: error: Expression type contains "Any" (has type "(Any (from unimported type), int) -> Any (from unimported type)") [no-any-expr]
- ignite/distributed/comp_models/base.py:260:20: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:262:41: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:264:16: error: Expression has type "Any (from unimported type)" [no-any-expr]
- ignite/distributed/comp_models/base.py:267:5: error: Return type becomes "Any (from unimported type)" due to an unfollowed import [no-any-unimp
... (truncated 2086924 lines) ... |
93b95b0
to
87e5054
Compare
36a633a
to
cca9708
Compare
ed91dc7
to
9b9f7d4
Compare
00d22ec
to
bc4ea04
Compare
7d90d82
to
feefbbd
Compare
closes #133
outstanding issues
Callable
in basedtypeshed was broken Callable types fromtypes
are broken basedtypeshed#17 - i think i just need to rebase Poetry basedtypeshed#13 to get the fix