Draft
Conversation
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.
This comment has been minimized.
This comment has been minimized.
|
Diff from mypy_primer, showing the effect of this PR on open source code: beartype (https://github.com/beartype/beartype)
+ beartype/_util/api/external/utilnumpy.py:267: error: Unused "type: ignore" comment [unused-ignore]
+ beartype/_util/hint/pep/proposal/pep585.py:387: error: Item "type" of "type | None" has no attribute "__orig_bases__" [union-attr]
+ beartype/_util/hint/pep/proposal/pep585.py:387: error: Item "None" of "type | None" has no attribute "__orig_bases__" [union-attr]
+ beartype/_check/metadata/hint/hintsane.py:150: error: Incompatible return value type (got "Any | HintSane | Iota", expected "HintSane") [return-value]
+ beartype/_util/hint/pep/proposal/pep484/pep484generic.py:418: error: Item "None" of "type | None" has no attribute "__mro__" [union-attr]
+ beartype/_conf/confmain.py:939: error: Incompatible types in assignment (expression has type "object", variable has type "BeartypeDecorPlace") [assignment]
+ beartype/_conf/confmain.py:941: error: Incompatible types in assignment (expression has type "object", variable has type "BeartypeDecorPlace") [assignment]
+ beartype/_conf/confmain.py:943: error: Incompatible types in assignment (expression has type "object", variable has type "bool") [assignment]
+ beartype/_conf/confmain.py:944: error: Incompatible types in assignment (expression has type "object", variable has type "Collection[str]") [assignment]
+ beartype/_conf/confmain.py:946: error: Incompatible types in assignment (expression has type "object", variable has type "FrozenDict[Any, Any]") [assignment]
+ beartype/_conf/confmain.py:947: error: Incompatible types in assignment (expression has type "object", variable has type "bool | None") [assignment]
+ beartype/_conf/confmain.py:948: error: Incompatible types in assignment (expression has type "object", variable has type "bool") [assignment]
+ beartype/_conf/confmain.py:949: error: Incompatible types in assignment (expression has type "object", variable has type "bool") [assignment]
+ beartype/_conf/confmain.py:950: error: Incompatible types in assignment (expression has type "object", variable has type "bool") [assignment]
+ beartype/_conf/confmain.py:951: error: Incompatible types in assignment (expression has type "object", variable has type "BeartypeStrategy") [assignment]
+ beartype/_conf/confmain.py:952: error: Incompatible types in assignment (expression has type "object", variable has type "type[Exception]") [assignment]
+ beartype/_conf/confmain.py:953: error: Incompatible types in assignment (expression has type "object", variable has type "type[Exception]") [assignment]
+ beartype/_conf/confmain.py:954: error: Incompatible types in assignment (expression has type "object", variable has type "type[Exception]") [assignment]
+ beartype/_conf/confmain.py:955: error: Incompatible types in assignment (expression has type "object", variable has type "type[Exception] | None") [assignment]
+ beartype/_conf/confmain.py:956: error: Incompatible types in assignment (expression has type "object", variable has type "BeartypeViolationVerbosity") [assignment]
+ beartype/_check/convert/_reduce/_pep/redpep484612646.py:328: error: Argument "hint" to "get_hint_pep484_typevar_bounded_constraints_or_none" has incompatible type "Any | Iota | TypeVar | HintPep646692UnpackedType"; expected "TypeVar" [arg-type]
+ beartype/_decor/_nontype/decornontype.py:215: error: Unused "type: ignore" comment [unused-ignore]
+ beartype/_decor/_nontype/decornontype.py:369: error: Unused "type: ignore" comment [unused-ignore]
+ beartype/bite/collection/infercollectionitems.py:463: error: Unused "type: ignore" comment [unused-ignore]
+ beartype/_util/utilobjattr.py:127: error: Need type annotation for "attrs_name_to_value_explicit" [var-annotated]
+ beartype/_util/utilobjattr.py:127: note: Error code "var-annotated" not covered by "type: ignore" comment
- beartype/claw/_ast/_kind/clawastimport.py:622: error: Unused "type: ignore" comment [unused-ignore]
- beartype/claw/_ast/_kind/clawastimport.py:631: error: Unused "type: ignore" comment [unused-ignore]
+ beartype/claw/_ast/_kind/clawastimport.py:1333: error: Unused "type: ignore[arg-type, assignment]" comment [unused-ignore]
+ beartype/claw/_ast/_kind/clawastimport.py:1333: error: Item "Iota" of "ChainMap[str, BeartypeDecorPlaceSubtrie] | dict[str, BeartypeDecorPlaceSubtrie] | Iota" has no attribute "get" [union-attr]
+ beartype/claw/_ast/_kind/clawastimport.py:1333: note: Error code "union-attr" not covered by "type: ignore" comment
+ beartype/claw/_ast/_kind/clawastimport.py:1333: error: Item "Iota" of "ChainMap[str, BeartypeDecorPlaceSubtrie] | Any | dict[str, BeartypeDecorPlaceSubtrie] | Iota" has no attribute "get" [union-attr]
pyinstrument (https://github.com/joerick/pyinstrument)
- pyinstrument/frame.py:274: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/frame.py:277: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/renderers/pstatsrenderer.py:50: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/renderers/pstatsrenderer.py:53: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/renderers/pstatsrenderer.py:54: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/renderers/pstatsrenderer.py:64: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/renderers/pstatsrenderer.py:66: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
- pyinstrument/renderers/pstatsrenderer.py:67: error: Incompatible types in assignment (expression has type "float", variable has type "int") [assignment]
CPython (Argument Clinic) (https://github.com/python/cpython)
+ Tools/clinic/libclinic/app.py:135: error: Need type annotation for "preset" [var-annotated]
+ Tools/clinic/libclinic/app.py:153: error: Unsupported target for indexed assignment ("None") [index]
+ Tools/clinic/libclinic/app.py:153: error: Unsupported target for indexed assignment ("dict[Any, Any] | None") [index]
+ Tools/clinic/libclinic/app.py:157: error: Unsupported target for indexed assignment ("None") [index]
+ Tools/clinic/libclinic/app.py:157: error: Unsupported target for indexed assignment ("dict[Any, Any] | None") [index]
spack (https://github.com/spack/spack)
+ --allow-redefinition-old and --allow-redefinition-new should not be used together
- lib/spack/spack/util/elf.py:220: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/util/elf.py:225: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/util/elf.py:226: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/util/elf.py:228: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/util/elf.py:229: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/util/elf.py:230: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/util/elf.py:233: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/util/elf.py:234: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/util/elf.py:235: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/llnl/util/lang.py:441: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/llnl/util/lang.py:801: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/llnl/util/lang.py:1017: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/llnl/util/lock.py:75: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/llnl/util/filesystem.py:3000: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/util/spack_json.py:28: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/util/spack_json.py:29: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/ci/generator_registry.py:10: error: Need type annotation for "_generators" (hint: "_generators: dict[<type>, <type>] = ...") [var-annotated]
- lib/spack/spack/operating_systems/windows_os.py:52: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/config.py:529: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/config.py:558: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/installer_dispatch.py:57: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/fetch_strategy.py:393: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/fetch_strategy.py:533: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/fetch_strategy.py:844: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/fetch_strategy.py:845: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/fetch_strategy.py:846: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/patch.py:187: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/version/git_ref_lookup.py:46: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/spec.py:1585: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/spec.py:1617: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/spec.py:3630: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/stage.py:842: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/install_test.py:261: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/install_test.py:411: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/install_test.py:516: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/install_test.py:625: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/install_test.py:827: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/environment/list.py:188: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/externals.py:258: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/externals.py:292: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/database.py:1086: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/database.py:1790: error: Unused "type: ignore[call-overload]" comment [unused-ignore]
- lib/spack/spack/package_base.py:143: error: Need type annotation for "detectable_packages" [var-annotated]
- lib/spack/spack/build_environment.py:398: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/build_environment.py:561: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:383: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/solver/asp.py:1298: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:1313: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:1316: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:1321: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:2935: error: Unused "type: ignore[call-overload]" comment [unused-ignore]
- lib/spack/spack/solver/asp.py:3476: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:3479: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/solver/asp.py:3482: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/installer.py:228: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/installer.py:2414: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/installer.py:2653: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/bootstrap/core.py:68: error: Need type annotation for "_bootstrap_methods" (hint: "_bootstrap_methods: dict[<type>, <type>] = ...") [var-annotated]
- lib/spack/spack/test/versions.py:689: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/test/spec_semantics.py:2076: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/test/sbang.py:58: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/externals.py:109: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/test/externals.py:128: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/test/entry_points.py:105: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/directives.py:264: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/directives.py:265: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/directives.py:266: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/directives.py:270: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/directives.py:271: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/directives.py:272: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/directives.py:273: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/directives.py:288: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/directives.py:296: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/config.py:1904: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/graph.py:445: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/graph.py:446: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/graph.py:506: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/container/writers.py:30: error: Need type annotation for "_writer_factory" (hint: "_writer_factory: dict[<type>, <type>] = ...") [var-annotated]
- lib/spack/spack/cmd/unit_test.py:17: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/cmd/python.py:94: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/cmd/create.py:764: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/buildcache_prune.py:233: error: Redundant cast to "URLBuildcacheEntry" [redundant-cast]
- lib/spack/spack/audit.py:66: error: Need type annotation for "CALLBACKS" (hint: "CALLBACKS: dict[<type>, <type>] = ...") [var-annotated]
- lib/spack/spack/audit.py:69: error: Need type annotation for "GROUPS" [var-annotated]
- lib/spack/spack/test/cmd/versions.py:44: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code [unused-ignore]
- lib/spack/spack/test/cmd/edit.py:56: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:35: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:36: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:53: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:54: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:58: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:59: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:60: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:71: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:72: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:76: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:77: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:78: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:387: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:464: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/cmd/dev_build.py:465: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/binary_distribution.py:646: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/binary_distribution.py:1334: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/cmd/common/arguments.py:26: error: Need type annotation for "_arguments" (hint: "_arguments: dict[<type>, <type>] = ...") [var-annotated]
- lib/spack/spack/ci/common.py:221: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/ci/common.py:239: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/test/spec_yaml.py:555: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/test/repo.py:119: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code [unused-ignore]
- lib/spack/spack/test/repo.py:217: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code [unused-ignore]
- lib/spack/spack/test/repo.py:220: error: Unused "type: ignore" comment, use narrower [import-not-found] instead of [import] code [unused-ignore]
- lib/spack/spack/cmd/repo.py:277: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/repo.py:495: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/repo.py:508: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/list.py:31: error: Need type annotation for "formatters" (hint: "formatters: dict[<type>, <type>] = ...") [var-annotated]
- lib/spack/spack/cmd/external.py:144: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/config.py:530: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/compiler.py:184: error: Unused "type: ignore" comment [unused-ignore]
- lib/spack/spack/cmd/checksum.py:90: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/checksum.py:100: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/checksum.py:113: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:492: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:1174: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:1175: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/buildcache.py:1176: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/env.py:374: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/env.py:1073: error: Need type annotation for "subcommand_functions" (hint: "subcommand_functions: dict[<type>, <type>] = ...") [var-annotated]
- lib/spack/spack/test/mirror.py:35: error: Need type annotation for "repos" (hint: "repos: dict[<type>, <type>] = ...") [var-annotated]
- lib/spack/spack/cmd/ci.py:850: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
- lib/spack/spack/cmd/ci.py:851: note: By default the bodies of untyped functions are not checked, consider using --check-untyped-defs [annotation-unchecked]
optuna (https://github.com/optuna/optuna)
+ optuna/study/_dataframe.py:99: error: Item "type" of "Any | type[object]" has no attribute "DataFrame" [union-attr]
+ optuna/study/_dataframe.py:106: error: Item "type" of "Any | type[object]" has no attribute "DataFrame" [union-attr]
+ optuna/study/_dataframe.py:106: error: Item "type" of "Any | type[object]" has no attribute "MultiIndex" [union-attr]
+ tests/test_cli.py:1194: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload]
+ tests/test_cli.py:1194: note: Possible overload variants:
+ tests/test_cli.py:1194: note: def __getitem__(self, SupportsIndex, /) -> dict[str, str]
+ tests/test_cli.py:1194: note: def __getitem__(self, slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[dict[str, str]]
+ tests/test_cli.py:1195: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload]
+ tests/test_cli.py:1195: note: Possible overload variants:
+ tests/test_cli.py:1195: note: def __getitem__(self, SupportsIndex, /) -> dict[str, str]
+ tests/test_cli.py:1195: note: def __getitem__(self, slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[dict[str, str]]
+ tests/test_cli.py:1196: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload]
+ tests/test_cli.py:1196: note: Possible overload variants:
+ tests/test_cli.py:1196: note: def __getitem__(self, SupportsIndex, /) -> dict[str, str]
+ tests/test_cli.py:1196: note: def __getitem__(self, slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[dict[str, str]]
+ tests/test_cli.py:1249: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload]
+ tests/test_cli.py:1249: note: Possible overload variants:
+ tests/test_cli.py:1249: note: def __getitem__(self, SupportsIndex, /) -> dict[str, str]
+ tests/test_cli.py:1249: note: def __getitem__(self, slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[dict[str, str]]
+ tests/test_cli.py:1250: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload]
+ tests/test_cli.py:1250: note: Possible overload variants:
+ tests/test_cli.py:1250: note: def __getitem__(self, SupportsIndex, /) -> dict[str, str]
+ tests/test_cli.py:1250: note: def __getitem__(self, slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[dict[str, str]]
+ tests/test_cli.py:1251: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload]
+ tests/test_cli.py:1251: note: Possible overload variants:
+ tests/test_cli.py:1251: note: def __getitem__(self, SupportsIndex, /) -> dict[str, str]
+ tests/test_cli.py:1251: note: def __getitem__(self, slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[dict[str, str]]
+ tests/test_cli.py:1288: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload]
+ tests/test_cli.py:1288: note: Possible overload variants:
+ tests/test_cli.py:1288: note: def __getitem__(self, SupportsIndex, /) -> dict[str, str]
+ tests/test_cli.py:1288: note: def __getitem__(self, slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[dict[str, str]]
+ tests/test_cli.py:1289: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload]
+ tests/test_cli.py:1289: note: Possible overload variants:
+ tests/test_cli.py:1289: note: def __getitem__(self, SupportsIndex, /) -> dict[str, str]
+ tests/test_cli.py:1289: note: def __getitem__(self, slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[dict[str, str]]
+ tests/test_cli.py:1325: error: No overload variant of "__getitem__" of "list" matches argument type "str" [call-overload]
+ tests/test_cli.py:1325: note: Possible overload variants:
+ tests/test_cli.py:1325: note: def __getitem__(self, SupportsIndex, /) -> dict[str, str]
+ tests/test_cli.py:1325: note: def __getitem__(self, slice[SupportsIndex | None, SupportsIndex | None, SupportsIndex | None], /) -> list[dict[str, str]]
+ tests/samplers_tests/test_grid.py:56: error: Unused "type: ignore" comment [unused-ignore]
+ optuna/visualization/_parallel_coordinate.py:223: error: Invalid index type "Any | float" for "defaultdict[int | str, int]"; expected type "int | str" [index]
+ optuna/visualization/_parallel_coordinate.py:227: error: Invalid index type "Any | float | int" for "defaultdict[int | str, int]"; expected type "int | str" [index]
spark (https://github.com/apache/spark)
+ python/pyspark/_globals.py:60: error: Incompatible types in assignment (expression has type "_NoValueType", variable has type "None") [assignment]
+ python/pyspark/_globals.py:61: error: Incompatible return value type (got "None", expected "_NoValueType") [return-value]
+ python/pyspark/memory_profiler_ext.py:68: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment]
+ python/pyspark/memory_profiler_ext.py:70: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment]
+ python/pyspark/errors/utils.py:61: error: Incompatible types in assignment (expression has type "bool | Any", variable has type "None") [assignment]
+ python/pyspark/errors/utils.py:68: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment]
+ python/pyspark/errors/utils.py:70: error: Incompatible return value type (got "None", expected "bool") [return-value]
+ python/pyspark/util.py:925: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment]
+ python/pyspark/util.py:926: error: Incompatible return value type (got "None", expected "bool") [return-value]
+ python/pyspark/util.py:928: error: Incompatible types in assignment (expression has type "bool", variable has type "None") [assignment]
+ python/pyspark/util.py:929: error: Incompatible return value type (got "None", expected "bool") [return-value]
+ python/pyspark/accumulators.py:243: error: Unused "type: ignore[assignment]" comment [unused-ignore]
+ python/pyspark/accumulators.py:244: error: Incompatible return value type (got "Any | int | float | complex", expected "U") [return-value]
+ python/pyspark/core/rdd.py:2042: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/core/rdd.py:2307: error: List comprehension has incompatible type List[int]; expected List[S] [misc]
+ python/pyspark/core/rdd.py:2307: error: Unsupported operand types for + ("int" and "S") [operator]
+ python/pyspark/core/rdd.py:3745: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/profiler.py:230: error: Need type annotation for "_" [var-annotated]
+ python/pyspark/sql/profiler.py:276: error: Need type annotation for "_" [var-annotated]
+ python/pyspark/sql/profiler.py:372: error: Cannot determine type of "_" [has-type]
+ python/pyspark/sql/profiler.py:377: error: Cannot determine type of "_" [has-type]
+ python/pyspark/sql/profiler.py:397: error: Cannot determine type of "_" [has-type]
+ python/pyspark/sql/profiler.py:402: error: Cannot determine type of "_" [has-type]
+ python/pyspark/sql/readwriter.py:1478: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/readwriter.py:1559: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/readwriter.py:1643: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/readwriter.py:1699: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/conversion.py:1236: error: Incompatible return value type (got "list[tuple[Any, ...]] | list[Row]", expected "list[Row | tuple[Any, ...]]") [return-value]
+ python/pyspark/sql/session.py:302: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/session.py:303: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/pandas/conversion.py:899: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/functions/builtin.py:8156: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/functions/builtin.py:15103: error: Argument 5 to "_invoke_function_over_columns" has incompatible type "Column | str | None"; expected "Column | str" [arg-type]
+ python/pyspark/sql/functions/builtin.py:18431: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/functions/builtin.py:18605: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/functions/builtin.py:23238: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/streaming/stateful_processor_util.py:165: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/streaming/stateful_processor_util.py:168: error: Argument 3 to "_handle_data_rows" of "TransformWithStateInPandasUdfUtils" has incompatible type "Iterator[DataFrame] | Iterator[Row] | chain[object]"; expected "Iterator[DataFrame] | Iterator[Row] | None" [arg-type]
+ python/pyspark/sql/streaming/stateful_processor_util.py:222: error: Need type annotation for "expiry_iter" [var-annotated]
+ python/pyspark/sql/streaming/stateful_processor_util.py:226: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/classic/window.py:40: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/classic/dataframe.py:434: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/classic/dataframe.py:779: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/classic/dataframe.py:908: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/classic/dataframe.py:1012: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/classic/dataframe.py:1097: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/classic/dataframe.py:1756: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/strings.py:1431: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/strings.py:1433: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/indexing.py:565: error: Argument "column_labels" to "InternalFrame" has incompatible type "list[Any | tuple[Any, ...]] | list[tuple[Any, ...]] | list[None]"; expected "list[tuple[Any, ...]] | None" [arg-type]
+ python/pyspark/pandas/indexing.py:1138: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/indexing.py:1140: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/indexing.py:1179: error: Redundant cast to "list[DataType]" [redundant-cast]
+ python/pyspark/pandas/indexing.py:1193: error: Redundant cast to "list[DataType]" [redundant-cast]
+ python/pyspark/pandas/indexing.py:1424: error: Argument 1 to "append" of "list" has incompatible type "tuple[Any, ...]"; expected "Never" [arg-type]
+ python/pyspark/pandas/spark/accessors.py:748: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/spark/accessors.py:750: error: Argument after ** must be a mapping, not "dict[str, bool | float | int | str | None] | float | int | str" [arg-type]
+ python/pyspark/pandas/spark/accessors.py:819: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/spark/accessors.py:821: error: Argument after ** must be a mapping, not "dict[str, bool | float | int | str | None] | float | int | str" [arg-type]
+ python/pyspark/pandas/generic.py:3250: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/generic.py:3252: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/generic.py:3254: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/generic.py:3256: error: Redundant cast to "DataFrame[Any] | Series[Any]" [redundant-cast]
+ python/pyspark/pandas/frame.py:5426: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/frame.py:5429: error: Argument after ** must be a mapping, not "dict[str, bool | float | int | str | None] | float | int | str" [arg-type]
+ python/pyspark/pandas/frame.py:5595: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/frame.py:5598: error: Argument after ** must be a mapping, not "dict[str, bool | float | int | str | None] | float | int | str" [arg-type]
+ python/pyspark/pandas/frame.py:6307: error: Argument 1 to "len" has incompatible type "Any | Hashable"; expected "Sized" [arg-type]
+ python/pyspark/pandas/frame.py:10901: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/frame.py:10922: error: Argument 1 to "alias" of "Column" has incompatible type "str | list[str]"; expected "str" [arg-type]
+ python/pyspark/pandas/frame.py:11133: error: Argument "column_label_names" to "InternalFrame" has incompatible type "list[tuple[Any, ...] | None] | list[None]"; expected "list[tuple[Any, ...] | None] | None" [arg-type]
+ python/pyspark/pandas/base.py:1715: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/base.py:1733: error: Argument "use_na_sentinel" to "factorize" of "IndexOpsMixin" has incompatible type "int"; expected "bool" [arg-type]
+ python/pyspark/pandas/base.py:1766: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/categorical.py:411: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/categorical.py:460: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/sql_formatter.py:286: error: Argument 1 to "append" of "list" has incompatible type "tuple[Series[Any] | DataFrame[Any] | Index, str]"; expected "tuple[DataFrame[Any], str]" [arg-type]
+ python/pyspark/pandas/series.py:3593: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/namespace.py:351: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/namespace.py:431: error: List comprehension has incompatible type List[object]; expected List[int | str] [misc]
+ python/pyspark/pandas/groupby.py:290: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/pandas/groupby.py:2271: error: Incompatible return value type (got "Any | FrameLike", expected "DataFrame") [return-value]
+ python/pyspark/pandas/groupby.py:2271: error: Argument 1 has incompatible type "DataFrame"; expected "FrameLike" [arg-type]
+ python/pyspark/sql/connect/expressions.py:476: error: Argument 1 to "bytes" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "Iterable[SupportsIndex] | SupportsIndex | SupportsBytes | Buffer" [arg-type]
+ python/pyspark/sql/connect/expressions.py:480: error: Argument 1 to "int" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
+ python/pyspark/sql/connect/expressions.py:482: error: Argument 1 to "int" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
+ python/pyspark/sql/connect/expressions.py:484: error: Argument 1 to "int" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
+ python/pyspark/sql/connect/expressions.py:486: error: Argument 1 to "int" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
+ python/pyspark/sql/connect/expressions.py:488: error: Argument 1 to "float" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "str | Buffer | SupportsFloat | SupportsIndex" [arg-type]
+ python/pyspark/sql/connect/expressions.py:490: error: Argument 1 to "float" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "str | Buffer | SupportsFloat | SupportsIndex" [arg-type]
+ python/pyspark/sql/connect/expressions.py:498: error: Argument 1 to "int" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
+ python/pyspark/sql/connect/expressions.py:501: error: Argument 1 to "int" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
+ python/pyspark/sql/connect/expressions.py:503: error: Argument 1 to "int" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
+ python/pyspark/sql/connect/expressions.py:505: error: Argument 1 to "int" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
+ python/pyspark/sql/connect/expressions.py:507: error: Argument 1 to "int" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "str | Buffer | SupportsInt | SupportsIndex" [arg-type]
+ python/pyspark/sql/connect/expressions.py:511: error: Item "int" of "bytes | bytearray | int | float | Decimal | str | list[Any]" has no attribute "__iter__" (not iterable) [union-attr]
+ python/pyspark/sql/connect/expressions.py:511: error: Item "float" of "bytes | bytearray | int | float | Decimal | str | list[Any]" has no attribute "__iter__" (not iterable) [union-attr]
+ python/pyspark/sql/connect/expressions.py:511: error: Item "Decimal" of "bytes | bytearray | int | float | Decimal | str | list[Any]" has no attribute "__iter__" (not iterable) [union-attr]
+ python/pyspark/sql/connect/expressions.py:527: error: Argument 1 to "fromInternal" of "DateType" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "int" [arg-type]
+ python/pyspark/sql/connect/expressions.py:531: error: Argument 1 to "fromInternal" of "TimeType" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "int" [arg-type]
+ python/pyspark/sql/connect/expressions.py:535: error: Argument 1 to "fromInternal" of "TimestampType" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "int" [arg-type]
+ python/pyspark/sql/connect/expressions.py:539: error: Argument 1 to "fromInternal" of "TimestampNTZType" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "int" [arg-type]
+ python/pyspark/sql/connect/expressions.py:543: error: Argument 1 to "fromInternal" of "DayTimeIntervalType" has incompatible type "bytes | bytearray | int | float | Decimal | str | list[Any]"; expected "int" [arg-type]
+ python/pyspark/sql/connect/expressions.py:553: error: If x = b'abc' then f"{x}" or "{}".format(x) produces "b'abc'", not "abc". If this is desired behavior, use f"{x!r}" or "{!r}".format(x). Otherwise, decode the bytes [str-bytes-safe]
+ python/pyspark/sql/connect/column.py:92: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/table_arg.py:43: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/functions/builtin.py:1700: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/functions/builtin.py:1701: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/functions/builtin.py:1872: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/functions/builtin.py:1873: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/functions/builtin.py:2083: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/functions/builtin.py:2084: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/functions/builtin.py:2389: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/functions/builtin.py:2390: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/functions/builtin.py:2638: error: Argument 5 to "_invoke_function_over_columns" has incompatible type "Column | str | None"; expected "Column | str" [arg-type]
+ python/pyspark/sql/connect/window.py:35: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/readwriter.py:557: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/readwriter.py:592: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/readwriter.py:638: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/readwriter.py:673: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/dataframe.py:305: error: Unused "type: ignore" comment [unused-ignore]
+ python/pyspark/sql/connect/dataframe.py:902: error: Unused "type: ignore" comment [unused-ignore]
... (truncated 34 lines) ...
tornado (https://github.com/tornadoweb/tornado)
+ tornado/gen.py:214: error: Unused "type: ignore" comment [unused-ignore]
+ tornado/gen.py:253: error: Unused "type: ignore" comment [unused-ignore]
+ tornado/gen.py:747: error: Unused "type: ignore" comment [unused-ignore]
+ tornado/iostream.py:58: error: Unused "type: ignore" comment [unused-ignore]
+ tornado/platform/asyncio.py:452: error: Incompatible types in assignment (expression has type "type[AnyThreadEventLoopPolicy]", variable has type "None") [assignment]
+ tornado/process.py:125: error: Incompatible types in assignment (expression has type "int", variable has type "None") [assignment]
+ tornado/http1connection.py:303: error: Unused "type: ignore" comment [unused-ignore]
+ tornado/testing.py:170: error: Unused "type: ignore" comment [unused-ignore]
+ tornado/testing.py:596: error: Unused "type: ignore" comment [unused-ignore]
+ tornado/websocket.py:1212: error: Argument 1 to "_handle_message" of "WebSocketProtocol13" has incompatible type "Any | None"; expected "int" [arg-type]
+ tornado/test/httpserver_test.py:647: error: Unused "type: ignore" comment [unused-ignore]
psycopg (https://github.com/psycopg/psycopg)
+ tests/scripts/pipeline-demo.py:190: error: Argument 1 to "_pipeline_communicate" has incompatible type "LoggingPGconn"; expected "PGconn" [arg-type]
+ tests/scripts/pipeline-demo.py:190: note: Following member(s) of "LoggingPGconn" have conflicts:
+ tests/scripts/pipeline-demo.py:190: note: Expected:
+ tests/scripts/pipeline-demo.py:190: note: def send_query_params(self, command: bytes, param_values: Sequence[bytes | bytearray | memoryview[int] | None] | None, param_types: Sequence[int] | None = ..., param_formats: Sequence[int] | None = ..., result_format: int = ...) -> None
+ tests/scripts/pipeline-demo.py:190: note: Got:
+ tests/scripts/pipeline-demo.py:190: note: def send_query_params(self, command: bytes, param_values: Sequence[bytes | None] | None, param_types: Sequence[int] | None = ..., param_formats: Sequence[int] | None = ..., result_format: int = ...) -> None
+ tests/scripts/pipeline-demo.py:190: note: Expected:
+ tests/scripts/pipeline-demo.py:190: note: def send_query_prepared(self, name: bytes, param_values: Sequence[bytes | bytearray | memoryview[int] | None] | None, param_formats: Sequence[int] | None = ..., result_format: int = ...) -> None
+ tests/scripts/pipeline-demo.py:190: note: Got:
+ tests/scripts/pipeline-demo.py:190: note: def send_query_prepared(self, name: bytes, param_values: Sequence[bytes | None] | None, param_formats: Sequence[int] | None = ..., result_format: int = ...) -> None
+ tests/scripts/pipeline-demo.py:190: note: Protocol member PGconn.connect expected class or static method
+ tests/scripts/pipeline-demo.py:190: note: Protocol member PGconn.connect_start expected class or static method
+ tests/scripts/pipeline-demo.py:190: note: <1 more conflict(s) not shown>
+ tests/scripts/pipeline-demo.py:212: error: Argument 1 to "_pipeline_communicate" has incompatible type "LoggingPGconn"; expected "PGconn" [arg-type]
+ tests/scripts/pipeline-demo.py:212: note: Following member(s) of "LoggingPGconn" have conflicts:
+ tests/scripts/pipeline-demo.py:212: note: Expected:
+ tests/scripts/pipeline-demo.py:212: note: def send_query_params(self, command: bytes, param_values: Sequence[bytes | bytearray | memoryview[int] | None] | None, param_types: Sequence[int] | None = ..., param_formats: Sequence[int] | None = ..., result_format: int = ...) -> None
+ tests/scripts/pipeline-demo.py:212: note: Got:
+ tests/scripts/pipeline-demo.py:212: note: def send_query_params(self, command: bytes, param_values: Sequence[bytes | None] | None, param_types: Sequence[int] | None = ..., param_formats: Sequence[int] | None = ..., result_format: int = ...) -> None
+ tests/scripts/pipeline-demo.py:212: note: Expected:
+ tests/scripts/pipeline-demo.py:212: note: def send_query_prepared(self, name: bytes, param_values: Sequence[bytes | bytearray | memoryview[int] | None] | None, param_formats: Sequence[int] | None = ..., result_format: int = ...) -> None
+ tests/scripts/pipeline-demo.py:212: note: Got:
+ tests/scripts/pipeline-demo.py:212: note: def send_query_prepared(self, name: bytes, param_values: Sequence[bytes | None] | None, param_formats: Sequence[int] | None = ..., result_format: int = ...) -> None
+ tests/scripts/pipeline-demo.py:212: note: Protocol member PGconn.connect expected class or static method
+ tests/scripts/pipeline-demo.py:212: note: Protocol member PGconn.connect_start expected class or static method
+ tests/scripts/pipeline-demo.py:212: note: <1 more conflict(s) not shown>
+ tests/test_concurrency.py:538: error: Argument 1 to "make_conninfo" has incompatible type "**dict[str, str | int | None]"; expected "str" [arg-type]
+ tests/fix_faker.py:844: error: Unused "type: ignore" comment [unused-ignore]
+ tests/test_copy_async.py:464: error: Unused "type: ignore" comment [unused-ignore]
+ tests/test_copy.py:451: error: Unused "type: ignore" comment [unused-ignore]
mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
+ tools/synchro.py:393: error: Unused "type: ignore" comment [unused-ignore]
+ tools/synchro.py:397: error: Unused "type: ignore" comment [unused-ignore]
+ bson/__init__.py:757: error: Unused "type: ignore" comment [unused-ignore]
+ pymongo/_asyncio_lock.py:26: error: Incompatible types in assignment (expression has type "AbstractEventLoop", variable has type "None") [assignment]
... (truncated 2953 lines) ...``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.