Skip to content

based regex #531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 18, 2023
Merged

based regex #531

merged 1 commit into from
Nov 18, 2023

Conversation

KotlinIsland
Copy link
Owner

@KotlinIsland KotlinIsland commented Oct 10, 2023

@KotlinIsland KotlinIsland marked this pull request as draft October 10, 2023 09:21
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@KotlinIsland KotlinIsland force-pushed the master branch 2 times, most recently from 00d22ec to bc4ea04 Compare October 16, 2023 01:42
@KotlinIsland KotlinIsland force-pushed the feat/based-regex branch 2 times, most recently from e6abf64 to 687ba88 Compare October 20, 2023 07:15
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@KotlinIsland KotlinIsland force-pushed the master branch 4 times, most recently from 7d90d82 to feefbbd Compare October 31, 2023 05:17
@github-actions

This comment has been minimized.

@KotlinIsland KotlinIsland marked this pull request as ready for review November 1, 2023 07:27

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@KotlinIsland KotlinIsland force-pushed the feat/based-regex branch 2 times, most recently from 2c1f52b to cf019ec Compare November 6, 2023 09:15

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.

@KotlinIsland KotlinIsland force-pushed the feat/based-regex branch 3 times, most recently from 155c549 to 52a5887 Compare November 18, 2023 11:05
@KotlinIsland KotlinIsland self-assigned this Nov 18, 2023
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

CPython (cases_generator) (https://github.com/python/cpython)
- Tools/cases_generator/instructions.py: note: In member "write_body" of class "Instruction":
- Tools/cases_generator/instructions.py:184:25: error: Unsupported operand types for + ("str" and "None")  [operator]
- Tools/cases_generator/instructions.py:184:25: note: Right operand is of type "str | None"
- Tools/cases_generator/instructions.py:184:25: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-operator for more info
- Tools/cases_generator/instructions.py:205:29: error: Unsupported left operand type for + ("None")  [operator]
- Tools/cases_generator/instructions.py:205:29: note: Left operand is of type "str | None"
- Tools/cases_generator/instructions.py:213:31: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- Tools/cases_generator/instructions.py:224:25: error: Unsupported operand types for + ("str" and "None")  [operator]
- Tools/cases_generator/instructions.py:224:25: note: Right operand is of type "str | None"
- Tools/cases_generator/analysis.py: note: In member "mark_predictions" of class "Analyzer":
- Tools/cases_generator/analysis.py:200:33: error: Argument 1 to "add" of "set" has incompatible type "str | None"; expected "str"  [arg-type]

pycryptodome (https://github.com/Legrandin/pycryptodome)
- lib/Crypto/SelfTest/loader.py:102:21: error: Item "None" of "str | None" has no attribute "lower"  [union-attr]
- lib/Crypto/SelfTest/loader.py:103:20: error: Item "None" of "str | None" has no attribute "lower"  [union-attr]
- lib/Crypto/SelfTest/Signature/test_dss.py:169:21: error: Item "None" of "str | None" has no attribute "replace"  [union-attr]
- lib/Crypto/SelfTest/Signature/test_dss.py:207:21: error: Item "None" of "str | None" has no attribute "replace"  [union-attr]
- lib/Crypto/SelfTest/Signature/test_dss.py:329:21: error: Item "None" of "str | None" has no attribute "replace"  [union-attr]
+ lib/Crypto/SelfTest/Signature/test_dss.py:334:24: error: Incompatible types in assignment (expression has type "None", variable has type "str")  [assignment]
+ lib/Crypto/SelfTest/Signature/test_dss.py:338:8: error: Condition is always false  [redundant-expr]
- lib/Crypto/SelfTest/Signature/test_dss.py:339:20: error: "None" has no attribute "new"  [attr-defined]
+ lib/Crypto/SelfTest/Signature/test_dss.py:339:9: error: Statement is unreachable  [unreachable]
- lib/Crypto/SelfTest/Signature/test_dss.py:339:36: error: Expression has type "Any (unannotated)"  [no-any-expr]
- lib/Crypto/SelfTest/Signature/test_dss.py:342:35: error: Argument "curve" to "construct" has incompatible type "str | None"; expected "str | int"  [arg-type]
- lib/Crypto/SelfTest/Signature/test_dss.py:368:21: error: Item "None" of "str | None" has no attribute "replace"  [union-attr]
- lib/Crypto/SelfTest/Signature/test_dss.py:373:35: error: Argument "curve" to "construct" has incompatible type "str | None"; expected "str | int"  [arg-type]
- lib/Crypto/SelfTest/Protocol/test_ecdh.py:39:38: error: Argument "curve" to "construct" has incompatible type "str | None"; expected "str | int"  [arg-type]
- lib/Crypto/SelfTest/Protocol/test_ecdh.py:43:39: error: Argument "curve" to "construct" has incompatible type "str | None"; expected "str | int"  [arg-type]
- lib/Crypto/SelfTest/Protocol/test_KDF.py:755:29: error: Item "None" of "str | None" has no attribute "replace"  [union-attr]
- lib/Crypto/SelfTest/Hash/test_BLAKE2.py:281:51: error: Argument 1 to "tobytes" has incompatible type "str | None"; expected "bytes | str"  [arg-type]
+ lib/Crypto/SelfTest/Hash/test_BLAKE2.py:280:20: error: No such group: 1  [regex]
+ lib/Crypto/SelfTest/Hash/test_BLAKE2.py:280:20: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-regex for more info
+ lib/Crypto/SelfTest/Hash/test_BLAKE2.py:281:51: error: No such group: 1  [regex]
- lib/Crypto/SelfTest/Hash/test_BLAKE2.py:352:55: error: Argument 1 to "tobytes" has incompatible type "str | None"; expected "bytes | str"  [arg-type]
- lib/Crypto/SelfTest/Hash/test_BLAKE2.py:410:32: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- lib/Crypto/SelfTest/Hash/test_BLAKE2.py:411:44: error: Argument 1 to "tobytes" has incompatible type "str | None"; expected "bytes | str"  [arg-type]

flake8 (https://github.com/pycqa/flake8)
+ src/flake8/utils.py:41:17: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
+ src/flake8/utils.py:41:17: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- src/flake8/utils.py:40:17: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/flake8/utils.py:41:16: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/flake8/utils.py:41:16: error: Expression type contains "Any" (has type "Generator[str | Any, None, None]")  [no-any-expr]
- src/flake8/utils.py:41:17: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/flake8/utils.py:41:42: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/flake8/utils.py:42:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/flake8/utils.py:42:13: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/flake8/utils.py:42:30: error: Expression type contains "Any" (has type "Generator[str | Any, None, None]")  [no-any-expr]
- src/flake8/utils.py:42:42: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]

pytest (https://github.com/pytest-dev/pytest)
- src/_pytest/pytester.py:582:28: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/_pytest/pytester.py:583:23: error: Expression has type "Any"  [no-any-expr]
- src/_pytest/pytester.py:583:23: error: Expression type contains "Any" (has type "dict[Any, int]")  [no-any-expr]
- src/_pytest/pytester.py:583:24: error: Expression has type "Any"  [no-any-expr]
- src/_pytest/pytester.py:583:34: error: Expression has type "Any"  [no-any-expr]
- src/_pytest/pytester.py:583:62: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/_pytest/pytester.py:592:16: error: Expression type contains "Any" (has type "(Any, int)")  [no-any-expr]
- src/_pytest/pytester.py:592:16: error: Expression has type "Any"  [no-any-expr]
- src/_pytest/pytester.py:592:31: error: Expression has type "Any"  [no-any-expr]
- src/_pytest/pytester.py:592:34: error: Expression has type "Any"  [no-any-expr]
- src/_pytest/pytester.py:592:52: error: Expression type contains "Any" (has type "dict[Any, int]")  [no-any-expr]
- src/_pytest/pytester.py:592:52: error: Expression type contains "Any" (has type "dict_items[Any, int]")  [no-any-expr]

stone (https://github.com/dropbox/stone)
- stone/backends/helpers.py:16:5: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- stone/backends/helpers.py:16:17: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
+ stone/backends/helpers.py:17:55: error: Argument 1 to "findall" of "Pattern" has incompatible type "str | None"; expected "str"  [arg-type]
+ stone/backends/helpers.py:21:30: error: Argument 1 to "append" of "list" has incompatible type "str | None"; expected "str"  [arg-type]
- stone/backends/helpers.py:17:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- stone/backends/helpers.py:17:55: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- stone/backends/helpers.py:18:12: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- stone/backends/helpers.py:19:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- stone/backends/helpers.py:19:30: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- stone/backends/helpers.py:21:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- stone/backends/helpers.py:21:30: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- stone/backends/helpers.py:22:12: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- stone/frontend/ir_generator.py:173:20: error: Unsupported right operand type for in ("str | None")  [operator]
- stone/frontend/ir_generator.py:174:37: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- stone/frontend/ir_generator.py:180:20: error: Unsupported right operand type for in ("str | None")  [operator]
- stone/frontend/ir_generator.py:181:43: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- stone/frontend/ir_generator.py:194:20: error: Unsupported right operand type for in ("str | None")  [operator]
- stone/frontend/ir_generator.py:195:43: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- stone/frontend/ir_generator.py:1406:20: error: Unsupported right operand type for in ("str | None")  [operator]
- stone/frontend/ir_generator.py:1407:45: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- stone/frontend/ir_generator.py:1420:65: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- stone/frontend/ir_generator.py:1441:29: error: Item "None" of "str | None" has no attribute "rfind"  [union-attr]
- stone/frontend/ir_generator.py:1441:50: error: Argument 1 to "len" has incompatible type "str | None"; expected "Sized"  [arg-type]
- stone/frontend/ir_generator.py:1449:20: error: Unsupported right operand type for in ("str | None")  [operator]
- stone/frontend/ir_generator.py:1451:43: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- stone/frontend/ir_generator.py:1473:20: error: Unsupported right operand type for in ("str | None")  [operator]
- stone/frontend/ir_generator.py:1475:43: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- stone/frontend/ir_generator.py:1492:45: error: Argument 1 to "match" of "Pattern" has incompatible type "str | None"; expected "str"  [arg-type]
- stone/backend.py: note: In member "process_doc" of class "Backend":
- stone/backend.py:347:27: error: Argument 1 has incompatible type "str | None"; expected "str"  [arg-type]
- stone/backend.py:347:32: error: Argument 2 has incompatible type "str | None"; expected "str"  [arg-type]

Tanjun (https://github.com/FasterSpeeding/Tanjun)
- tanjun/conversion.py: note: In function "parse_message_id":
- tanjun/conversion.py:1275:43: error: Argument 1 to "Snowflake" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- tanjun/conversion.py:1276:43: error: Argument 1 to "Snowflake" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- tanjun/conversion.py: note: In function "to_datetime":
- tanjun/conversion.py:1398:25: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]

bandersnatch (https://github.com/pypa/bandersnatch)
- src/runner.py: note: In function "parseHourList":
- src/runner.py:19:17: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- src/bandersnatch_filter_plugins/encoding.py: note: In function "auto_decode":
- src/bandersnatch_filter_plugins/encoding.py:31:24: error: Item "None" of "bytes | None" has no attribute "decode"  [union-attr]
- src/bandersnatch_filter_plugins/encoding.py:31:24: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info

optuna (https://github.com/optuna/optuna)
- tests/test_convert_positional_args.py:104:15: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/test_convert_positional_args.py:105:20: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/test_convert_positional_args.py:106:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/test_convert_positional_args.py:106:21: error: Expression has type "Any"  [no-any-expr]
- tests/test_convert_positional_args.py:107:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/test_convert_positional_args.py:107:21: error: Expression has type "Any"  [no-any-expr]

operator (https://github.com/canonical/operator)
- ops/jujuversion.py: note: In member "__init__" of class "JujuVersion":
- ops/jujuversion.py:45:26: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- ops/jujuversion.py:46:26: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- ops/lib/__init__.py:220:42: error: Argument 1 to "literal_eval" has incompatible type "str | None"; expected "str | AST"  [arg-type]
- ops/lib/__init__.py:237:22: error: Argument 2 to "_Lib" has incompatible type "str | None"; expected "str"  [arg-type]
- ops/lib/__init__.py:237:39: error: Argument 3 to "_Lib" has incompatible type "str | None"; expected "str"  [arg-type]
- ops/lib/__init__.py:237:58: error: Argument 4 to "_Lib" has incompatible type "str | None"; expected "int"  [arg-type]
+ ops/lib/__init__.py:237:58: error: Argument 4 to "_Lib" has incompatible type "str"; expected "int"  [arg-type]
- ops/lib/__init__.py:237:74: error: Argument 5 to "_Lib" has incompatible type "str | None"; expected "int"  [arg-type]
+ ops/lib/__init__.py:237:74: error: Argument 5 to "_Lib" has incompatible type "str"; expected "int"  [arg-type]
- ops/_private/timeconv.py: note: In function "parse_rfc3339":
- ops/_private/timeconv.py:45:38: error: Argument 1 to "match" of "Pattern" has incompatible type "str | None"; expected "str"  [arg-type]
- ops/_private/timeconv.py:49:49: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- ops/_private/timeconv.py:49:66: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- ops/_private/timeconv.py:54:34: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- ops/_private/timeconv.py:54:42: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- ops/_private/timeconv.py:54:50: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- ops/_private/timeconv.py:54:58: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- ops/_private/timeconv.py:54:67: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- ops/_private/timeconv.py:54:76: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- ops/model.py:3164:21: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- ops/model.py:3165:37: error: Argument 1 to "storage_get" of "_ModelBackend" has incompatible type "str | None"; expected "str"  [arg-type]

jax (https://github.com/google/jax)
+ jax/_src/numpy/vectorize.py:52:55: error: Argument 2 to "findall" has incompatible type "str | tuple[str | None, ...] | None"; expected "str"  [arg-type]
+ jax/_src/numpy/vectorize.py:55:10: error: Incompatible return value type (got "(list[tuple[str | tuple[str | None, ...] | None, ...]], list[tuple[str | tuple[str | None, ...] | None, ...]])", expected "(list[tuple[str, ...]], list[tuple[str, ...]])")  [return-value]
- jax/_src/numpy/vectorize.py:52:19: error: Expression type contains "Any" (has type "Generator[list[tuple[Any, ...]], None, None]")  [no-any-expr]
- jax/_src/numpy/vectorize.py:52:19: error: Expression type contains "Any" (has type "list[tuple[Any, ...]]")  [no-any-expr]
- jax/_src/numpy/vectorize.py:52:20: error: Expression has type "Any"  [no-any-expr]
- jax/_src/numpy/vectorize.py:52:20: error: Expression type contains "Any" (has type "list[tuple[Any, ...]]")  [no-any-expr]
- jax/_src/numpy/vectorize.py:52:21: error: Expression type contains "Any" (has type "tuple[Any, ...]")  [no-any-expr]
- jax/_src/numpy/vectorize.py:52:27: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- jax/_src/numpy/vectorize.py:52:55: error: Expression has type "Any"  [no-any-expr]
- jax/_src/numpy/vectorize.py:53:31: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- jax/_src/numpy/vectorize.py:55:10: error: Expression type contains "Any" (has type "list[tuple[Any, ...]]")  [no-any-expr]
- jax/_src/numpy/vectorize.py:55:10: error: Expression type contains "Any" (has type "(list[tuple[Any, ...]], list[tuple[Any, ...]])")  [no-any-expr]
- jax/_src/numpy/vectorize.py:55:16: error: Expression type contains "Any" (has type "list[tuple[Any, ...]]")  [no-any-expr]
- jax/_src/numpy/util.py: note: In function "_parse_numpydoc":
- jax/_src/numpy/util.py:96:18: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- jax/_src/numpy/util.py:97:31: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- jax/_src/numpy/util.py:97:31: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- jax/_src/numpy/util.py:98:35: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- jax/_src/numpy/util.py:99:14: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- jax/_src/numpy/util.py:99:14: error: Expression type contains "Any" (has type "dict[str | Any, str | Any]")  [no-any-expr]
- jax/_src/numpy/util.py:99:15: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- jax/_src/numpy/util.py:99:15: error: Expression type contains "Any" (has type "list[str] | Any")  [no-any-expr]
- jax/_src/numpy/util.py:99:42: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- jax/_src/numpy/util.py:99:65: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- jax/_src/numpy/util.py:102:56: error: Expression type contains "Any" (has type "dict[str | Any, str | Any]")  [no-any-expr]
- jax/_src/numpy/util.py: note: In function "_parse_parameters":
- jax/_src/numpy/util.py:110:16: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- jax/_src/numpy/util.py:111:10: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- jax/_src/numpy/util.py:111:11: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- jax/_src/numpy/util.py:111:11: error: Expression type contains "Any" (has type "(str, str, str) | Any")  [no-any-expr]
- jax/_src/numpy/util.py:111:53: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- jax/_src/numpy/util.py:111:64: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- jax/_src/numpy/util.py: note: In function "_parse_extra_params":
- jax/_src/numpy/util.py:116:16: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- jax/_src/numpy/util.py:117:10: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- jax/_src/numpy/util.py:117:11: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- jax/_src/numpy/util.py:117:11: error: Expression type contains "Any" (has type "(str, str, str) | Any")  [no-any-expr]
- jax/_src/numpy/util.py:117:53: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- jax/_src/numpy/util.py:117:64: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- jax/_src/numpy/util.py:186:25: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- jax/_src/numpy/util.py:186:25: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- jax/_src/test_util.py: note: In function "_parse_version":
- jax/_src/test_util.py:1268:32: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
+ jax/_src/internal_test_util/export_back_compat_test_util.py:211:35: error: Value of type variable "SupportsRichComparisonT" of "sorted" cannot be "str | tuple[str | None, ...] | None"  [type-var]
+ jax/_src/internal_test_util/export_back_compat_test_util.py:211:35: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-type-var for more info
- jax/_src/internal_test_util/export_back_compat_test_util.py:211:35: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- jax/_src/internal_test_util/export_back_compat_test_util.py:212:9: error: Expression type contains "Any" (has type "set[Any]")  [no-any-expr]
- jax/_src/internal_test_util/export_back_compat_test_util.py:212:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- jax/_src/internal_test_util/export_back_compat_test_util.py:216:24: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- jax/_src/internal_test_util/export_back_compat_test_util.py:264:56: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- jax/experimental/jax2tf/tests/tf_test_util.py:414:22: error: Expression has type "Any"  [no-any-expr]
- jax/experimental/jax2tf/tests/tf_test_util.py:414:22: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- jax/experimental/jax2tf/tests/tf_test_util.py:414:23: error: Expression has type "Any"  [no-any-expr]
- jax/experimental/jax2tf/tests/tf_test_util.py:414:34: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- jax/experimental/jax2tf/tests/tf_test_util.py:414:88: error: Expression has type "Any"  [no-any-expr]
- jax/experimental/jax2tf/tests/tf_test_util.py:419:12: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- jax/experimental/jax2tf/tests/sharding_test.py:177:19: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- jax/experimental/jax2tf/tests/jax2tf_test.py:1618:20: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]

pandas (https://github.com/pandas-dev/pandas)
+ pandas/_config/localization.py:172: error: Argument 1 to "_valid_locales" has incompatible type "list[str | tuple[str | None, ...] | None]"; expected "list[str] | str"  [arg-type]
- pandas/io/formats/css.py:358: error: Incompatible types in assignment (expression has type "int", variable has type "str | None")  [assignment]
+ pandas/io/formats/css.py:358: error: Incompatible types in assignment (expression has type "int", variable has type "str")  [assignment]
- pandas/io/formats/css.py:361: error: Incompatible types in assignment (expression has type "float", variable has type "str | None")  [assignment]
+ pandas/io/formats/css.py:361: error: Incompatible types in assignment (expression has type "float", variable has type "str")  [assignment]
- pandas/io/formats/css.py:361: error: Argument 1 to "float" has incompatible type "str | None"; expected "SupportsFloat | SupportsIndex | str | Buffer"  [arg-type]
- pandas/io/formats/css.py:380: error: No overload variant of "round" matches argument types "str | None", "int"  [call-overload]
+ pandas/io/formats/css.py:380: error: No overload variant of "round" matches argument types "str", "int"  [call-overload]
- pandas/io/formats/css.py:381: error: Non-overlapping equality check (left operand type: "int", right operand type: "str | None")  [comparison-overlap]
+ pandas/io/formats/css.py:381: error: Non-overlapping equality check (left operand type: "int", right operand type: "str")  [comparison-overlap]
- pandas/io/formats/css.py:381: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- pandas/io/formats/css.py:382: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- pandas/io/formats/css.py:384: error: The type "None" doesn't support format-specifiers  [str-format]
- pandas/io/formats/css.py:384: note: Maybe you want to add '!s' to the conversion
- pandas/core/dtypes/dtypes.py:858: error: Argument "unit" to "DatetimeTZDtype" has incompatible type "str | None"; expected "str | DatetimeTZDtype"  [arg-type]
- pandas/core/dtypes/dtypes.py:1043: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- pandas/core/dtypes/dtypes.py:1919: error: Incompatible return value type (got "(str | None, bool)", expected "(str, bool)")  [return-value]
- pandas/core/interchange/from_dataframe.py:340: error: Unsupported left operand type for + ("None")  [operator]
- pandas/core/interchange/from_dataframe.py:340: note: Left operand is of type "str | None"
+ pandas/core/strings/accessor.py:3504: error: Item "None" of "tuple[str | None, ...] | None" has no attribute "__iter__" (not iterable)  [union-attr]
+ pandas/io/formats/style_render.py:2324: error: Incompatible types in assignment (expression has type "float", variable has type "str")  [assignment]
+ pandas/io/formats/style_render.py:2326: error: Incompatible types in assignment (expression has type "float", variable has type "str")  [assignment]
+ pandas/io/formats/style_render.py:2331: error: Incompatible types in assignment (expression has type "float", variable has type "str")  [assignment]
+ pandas/io/formats/style_render.py:2332: error: Incompatible types in string interpolation (expression has type "str", placeholder has type "int | float | complex")  [str-format]

scikit-learn (https://github.com/scikit-learn/scikit-learn)
- sklearn/externals/_arff.py:752:20: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- sklearn/externals/_arff.py:755:12: error: Value of type "str | None" is not indexable  [index]
- sklearn/externals/_arff.py:755:12: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-index for more info
- sklearn/externals/_arff.py:755:33: error: Value of type "str | None" is not indexable  [index]
- sklearn/externals/_arff.py:757:39: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
+ sklearn/externals/_arff.py:757:25: error: Incompatible types in assignment (expression has type "None", variable has type "str")  [assignment]
+ sklearn/externals/_arff.py:760:27: error: Intersection of "str & dict[Any, Any]" cannot exist: would have incompatible method signatures  [unreachable]
+ sklearn/externals/_arff.py:826:20: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-index for more info
- sklearn/externals/_packaging/version.py: note: In function "_parse_version_parts":
- sklearn/externals/_packaging/version.py:211:5: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:211:17: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sklearn/externals/_packaging/version.py:212:52: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:212:58: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:214:12: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:214:16: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:214:24: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:214:24: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:217:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:219:19: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:221:19: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:221:25: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
+ sklearn/externals/_packaging/version.py:302:43: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- sklearn/externals/_packaging/version.py:468:21: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:469:13: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:469:13: error: Expression type contains "Any" (has type "str | Any | int")  [no-any-expr]
- sklearn/externals/_packaging/version.py:469:33: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:469:33: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:469:57: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/externals/_packaging/version.py:470:25: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sklearn/feature_extraction/text.py:370:16: error: Expression type contains "Any" (has type overloaded function)  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:382:13: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:386:42: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:386:42: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:387:17: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:388:12: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:388:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:388:12: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:390:12: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:390:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:390:12: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:391:12: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:391:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:391:12: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:392:5: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:392:17: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:398:13: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:402:9: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:402:9: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:404:12: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:404:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sklearn/neighbors/tests/test_nca.py:404:12: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sklearn/model_selection/tests/test_search.py:2432:17: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sklearn/model_selection/tests/test_search.py:2435:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]

alectryon (https://github.com/cpitclaudel/alectryon)
- alectryon/pygments.py:123:16: error: Expression type contains "Any" (has type "(str | None | Any (from error), Any (from unimported type), str | None | Any (from error))")  [no-any-expr]
+ alectryon/pygments.py:123:16: error: Expression type contains "Any" (has type "(str | Any (from error), Any (from unimported type), str | Any (from error))")  [no-any-expr]

kornia (https://github.com/kornia/kornia)
- kornia/utils/image_print.py: note: In function "rgb2short":
- kornia/utils/image_print.py:320:13: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- kornia/utils/image_print.py:320:18: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- kornia/utils/image_print.py:320:34: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]

pandera (https://github.com/pandera-dev/pandera)
- pandera/strategies/pandas_strategies.py:257:42: error: Expression type contains "Any" (has type "str | None | Any")  [no-any-expr]
+ pandera/strategies/pandas_strategies.py:257:42: error: Expression type contains "Any" (has type "None | str | Any")  [no-any-expr]
- pandera/strategies/pandas_strategies.py:258:41: error: Expression type contains "Any" (has type "str | None | Any")  [no-any-expr]
+ pandera/strategies/pandas_strategies.py:258:41: error: Expression type contains "Any" (has type "None | str | Any")  [no-any-expr]
- tests/mypy/test_static_type_checking.py:41:21: error: Dict entry 0 has incompatible type "str": "str | None"; expected "str": "str"  [dict-item]
+ tests/mypy/test_static_type_checking.py:41:39: error: TypedDict "dict[str, str | None]" has no key "msg"  [typeddict-item]
- tests/mypy/test_static_type_checking.py:41:21: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-dict-item for more info
+ tests/mypy/test_static_type_checking.py:41:39: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-typeddict-item for more info
- tests/mypy/test_static_type_checking.py:42:21: error: Dict entry 1 has incompatible type "str": "str | None"; expected "str": "str"  [dict-item]
+ tests/mypy/test_static_type_checking.py:42:43: error: TypedDict "dict[str, str | None]" has no key "errcode"  [typeddict-item]

python-htmlgen (https://github.com/srittau/python-htmlgen)
- test_htmlgen/util.py:13:5: error: Expression has type "Any"  [no-any-expr]
- test_htmlgen/util.py:13:18: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- test_htmlgen/util.py:13:40: error: Argument 1 to "findall" of "Pattern" has incompatible type "str | None"; expected "str"  [arg-type]
- test_htmlgen/util.py:14:28: error: Expression has type "Any"  [no-any-expr]
- test_htmlgen/element.py: note: In member "test_add_multiple_css_classes" of class "ElementTest":
- test_htmlgen/element.py:115:23: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- test_htmlgen/element.py:115:23: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- test_htmlgen/element.py: note: In member "test_remove_css_classes" of class "ElementTest":
- test_htmlgen/element.py:124:23: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- test_htmlgen/element.py: note: In member "test_set_multiple_styles" of class "ElementTest":
- test_htmlgen/element.py:152:23: error: Item "None" of "str | None" has no attribute "split"  [union-attr]

bokeh (https://github.com/bokeh/bokeh)
- release/config.py:36:34: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- release/config.py:37:58: error: Argument 1 to "tuple" has incompatible type "tuple[str | None, ...]"; expected "Iterable[str]"  [arg-type]
- src/bokeh/util/version.py: note: In function "_base_version_helper":
- src/bokeh/util/version.py:80:12: error: Incompatible return value type (got "str | None", expected "str")  [return-value]
- src/bokeh/util/compiler.py:404:33: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- src/bokeh/core/property/color.py:162:25: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/bokeh/core/property/color.py:163:27: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/bokeh/core/property/color.py:163:27: error: Expression has type "Any"  [no-any-expr]
- src/bokeh/core/property/color.py:164:40: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/bokeh/core/property/color.py:164:40: error: Expression has type "Any"  [no-any-expr]
- src/bokeh/core/property/color.py:164:55: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/bokeh/core/property/color.py:164:55: error: Expression has type "Any"  [no-any-expr]
- src/bokeh/core/property/color.py:164:70: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/bokeh/core/property/color.py:164:70: error: Expression has type "Any"  [no-any-expr]
- src/bokeh/plotting/_tools.py:186:17: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/bokeh/plotting/_tools.py:188:12: error: Expression type contains "Any" (has type "Any | str")  [no-any-expr]
- src/bokeh/plotting/_tools.py:188:12: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- src/bokeh/plotting/_tools.py:191:37: error: Expression type contains "Any" (has type "Any | str")  [no-any-expr]
- src/bokeh/plotting/_tools.py:193:18: error: Expression type contains "Any" (has type "Any | str")  [no-any-expr]

rich (https://github.com/Textualize/rich)
- rich/text.py: note: In member "detect_indentation" of class "Text":
- rich/text.py:1270:17: error: Argument 1 to "len" has incompatible type "str | None"; expected "Sized"  [arg-type]
- rich/text.py: note: In member "with_indent_guides" of class "Text":
- rich/text.py:1317:56: error: Argument 1 to "len" has incompatible type "str | None"; expected "Sized"  [arg-type]
- rich/markup.py: note: In function "_parse":
- rich/markup.py:96:30: error: Value of type "str | None" is not indexable  [index]
- rich/markup.py:96:30: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-index for more info
- rich/markup.py:99:36: error: Item "None" of "str | None" has no attribute "partition"  [union-attr]
- rich/markup.py:184:62: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]

sympy (https://github.com/sympy/sympy)
- sympy/external/importtools.py:38:5: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sympy/external/importtools.py:38:14: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
+ sympy/external/importtools.py:41:21: error: Incompatible types in assignment (expression has type "int", variable has type "str")  [assignment]
- sympy/external/importtools.py:39:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sympy/external/importtools.py:39:12: error: Expression type contains "Any" (has type "str | Any | bool")  [no-any-expr]
- sympy/external/importtools.py:39:18: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sympy/external/importtools.py:39:18: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sympy/external/importtools.py:41:25: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sympy/external/importtools.py:44:13: error: Expression type contains "Any" (has type "list[str | Any | int]")  [no-any-expr]
- sympy/external/importtools.py:44:31: error: Expression type contains "Any" (has type "str | Any | int")  [no-any-expr]
- sympy/external/importtools.py:45:12: error: Expression type contains "Any" (has type "tuple[str | Any | int, ...]")  [no-any-expr]
- sympy/external/importtools.py:45:18: error: Expression type contains "Any" (has type "list[str | Any | int]")  [no-any-expr]
- sympy/utilities/_compilation/runners.py:173:9: error: Expression has type "Any"  [no-any-expr]
- sympy/utilities/_compilation/runners.py:173:23: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/utilities/_compilation/runners.py:174:26: error: Expression has type "Any"  [no-any-expr]
- sympy/utilities/_compilation/runners.py:175:20: error: Expression has type "Any"  [no-any-expr]
- sympy/utilities/_compilation/runners.py:176:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/utilities/_compilation/runners.py:176:36: error: Expression has type "Any"  [no-any-expr]
- sympy/utilities/_compilation/runners.py:177:73: error: Expression has type "Any"  [no-any-expr]
- sympy/testing/runtests.py:964:16: error: Argument 1 to "map" has incompatible type "type[int]"; expected "(str | None) -> int"  [arg-type]
- sympy/testing/runtests.py:1737:23: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/testing/runtests.py:1738:24: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/testing/runtests.py:1743:26: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/testing/runtests.py:1743:26: error: Expression has type "Any"  [no-any-expr]
- sympy/polys/polyoptions.py:317:20: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sympy/polys/polyoptions.py:317:25: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
+ sympy/polys/polyoptions.py:463:33: error: Expression type contains "Any" (has type "(a: Untyped, locals: Untyped=..., convert_xor: bool=..., strict: bool=..., rational: bool=..., evaluate: Untyped=...) -> None")  [no-any-expr]
- sympy/polys/polyoptions.py:456:51: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- sympy/polys/polyoptions.py:463:42: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- sympy/polys/polyoptions.py:481:32: error: Incompatible types in assignment (expression has type "str | None", variable has type "list[None]")  [assignment]
+ sympy/polys/polyoptions.py:481:32: error: Incompatible types in assignment (expression has type "str", variable has type "list[None]")  [assignment]
- sympy/polys/polyoptions.py:493:42: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
+ sympy/polys/polyoptions.py:493:33: error: Expression type contains "Any" (has type "(a: Untyped, locals: Untyped=..., convert_xor: bool=..., strict: bool=..., rational: bool=..., evaluate: Untyped=...) -> None")  [no-any-expr]
- sympy/polys/polyutils.py:94:20: error: Expression type contains "Any" (has type "(Any (unannotated), str | None | Any (from error), int)")  [no-any-expr]
+ sympy/polys/polyutils.py:94:20: error: Expression type contains "Any" (has type "(Any (unannotated), str | Any (from error), int)")  [no-any-expr]
- sympy/polys/polyutils.py:99:33: error: Invalid index type "str | None | Any (from error)" for "dict[str, int]"; expected type "str"  [index]
- sympy/conftest.py:36:16: error: Argument 1 to "map" has incompatible type "type[int]"; expected "(str | None) -> int"  [arg-type]
- sympy/plotting/experimental_lambdify.py:620:32: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
+ sympy/plotting/experimental_lambdify.py:620:32: error: Tuple index out of range  [misc]
+ sympy/parsing/mathematica.py:187:24: error: unbalanced parenthesis at position 54 (line 2, column 54)  [regex]
+ sympy/parsing/mathematica.py:187:24: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-regex for more info
+ sympy/parsing/mathematica.py:196:24: error: missing ), unterminated subpattern at position 86 (line 3, column 39)  [regex]
+ sympy/parsing/mathematica.py:216:29: error: unterminated character set at position 189 (line 6, column 39)  [regex]
- sympy/parsing/mathematica.py:310:16: error: Expression type contains "Any" (has type "True | Any")  [no-any-expr]
- sympy/core/tests/test_args.py:58:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/core/tests/test_args.py:60:20: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/core/tests/test_args.py:64:54: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/core/tests/test_args.py:77:26: error: Expression type contains "Any" (has type "filter[Any]")  [no-any-expr]
- sympy/core/tests/test_args.py:77:43: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/core/tests/test_args.py:79:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/core/tests/test_args.py:80:17: error: Expression type contains "Any" (has type "dict[str, list[Any]]")  [no-any-expr]
- sympy/core/tests/test_args.py:80:38: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/core/tests/test_args.py:85:5: error: Expression type contains "Any" (has type "(str, list[Any])")  [no-any-expr]
- sympy/core/tests/test_args.py:85:26: error: Expression type contains "Any" (has type "dict[str, list[Any]]")  [no-any-expr]
- sympy/core/tests/test_args.py:85:26: error: Expression type contains "Any" (has type "dict_items[str, list[Any]]")  [no-any-expr]
- sympy/core/tests/test_args.py:88:9: error: Expression has type "Any"  [no-any-expr]
- sympy/core/tests/test_args.py:88:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/core/tests/test_args.py:89:20: error: Expression has type "Any"  [no-any-expr]
- sympy/core/tests/test_args.py:89:43: error: Expression has type "Any"  [no-any-expr]
- sympy/core/tests/test_args.py:91:16: error: Expression has type "Any"  [no-any-expr]
- sympy/core/tests/test_args.py:92:17: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/core/tests/test_args.py:92:31: error: Expression has type "Any"  [no-any-expr]
- sympy/core/tests/test_args.py:92:46: error: Expression has type "Any"  [no-any-expr]
- sympy/core/tests/test_args.py:94:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sympy/core/tests/test_args.py:94:121: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]

aiohttp (https://github.com/aio-libs/aiohttp)
- aiohttp/cookiejar.py: note: In member "_parse_date" of class "CookieJar":
- aiohttp/cookiejar.py:351:57: error: Argument 1 to "match" of "Pattern" has incompatible type "str | None"; expected "str"  [arg-type]
- aiohttp/cookiejar.py:354:49: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- aiohttp/cookiejar.py:358:60: error: Argument 1 to "match" of "Pattern" has incompatible type "str | None"; expected "str"  [arg-type]
- aiohttp/cookiejar.py:365:55: error: Argument 1 to "match" of "Pattern" has incompatible type "str | None"; expected "str"  [arg-type]
- aiohttp/cookiejar.py:373:53: error: Argument 1 to "match" of "Pattern" has incompatible type "str | None"; expected "str"  [arg-type]
+ aiohttp/multipart.py: note: In class "MultipartWriter":
+ aiohttp/multipart.py:817:37: error: bad character range \\-. at position 12  [regex]
+ aiohttp/multipart.py:817:37: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-regex for more info
- aiohttp/client_reqrep.py:861:9: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- aiohttp/client_reqrep.py:861:20: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- aiohttp/client_reqrep.py:862:48: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- aiohttp/client_reqrep.py:867:22: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- aiohttp/client_reqrep.py:867:22: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- aiohttp/client_reqrep.py:878:26: error: Argument 1 to "add" of "MultiDict" has incompatible type "str | None"; expected "str | istr"  [arg-type]
- aiohttp/client_reqrep.py:878:31: error: Argument 2 to "add" of "MultiDict" has incompatible type "str | None"; expected "str | URL"  [arg-type]
- aiohttp/client_reqrep.py:880:19: error: Incompatible types in assignment (expression has type "str | URL | None", variable has type "str | None")  [assignment]
+ aiohttp/client_reqrep.py:880:19: error: Incompatible types in assignment (expression has type "str | URL", variable has type "str")  [assignment]
- aiohttp/client_reqrep.py:882:47: error: Argument 1 to "URL" has incompatible type "str | None"; expected "str | URL"  [arg-type]
+ aiohttp/web_request.py:355:30: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
+ aiohttp/web_request.py:589:30: error: Unpacking a string is disallowed  [misc]
+ aiohttp/web_request.py:589:30: error: "None" object is not iterable  [misc]
+ aiohttp/web_request.py:593:19: error: Incompatible types in assignment (expression has type "int | None", variable has type "str | None")  [assignment]
+ aiohttp/web_request.py:594:21: error: Incompatible types in assignment (expression has type "int | None", variable has type "str | None")  [assignment]
+ aiohttp/web_request.py:598:25: error: Unsupported operand type for unary - ("str")  [operator]
+ aiohttp/web_request.py:603:24: error: Unsupported operand types for + ("str" and "int")  [operator]
+ aiohttp/web_request.py:605:20: error: Unsupported operand types for >= ("str" and "None")  [operator]
+ aiohttp/web_request.py:605:20: note: Both left and right operands are unions
- aiohttp/web_request.py:589:30: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- aiohttp/web_request.py:589:30: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:593:23: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:593:31: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:594:25: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:594:35: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:596:16: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:596:34: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:598:26: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:601:16: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:601:38: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:603:17: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:605:20: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:605:29: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:608:16: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:608:25: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_request.py:611:22: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- aiohttp/web_request.py:611:29: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- aiohttp/web_urldispatcher.py:426:9: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- aiohttp/web_urldispatcher.py:426:21: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- aiohttp/web_urldispatcher.py:427:40: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
+ aiohttp/web_urldispatcher.py:427:40: error: Argument 1 to "fullmatch" of "Pattern" has incompatible type "str | None"; expected "str"  [arg-type]
+ aiohttp/web_urldispatcher.py:433:48: error: Argument 1 to "fullmatch" of "Pattern" has incompatible type "str | None"; expected "str"  [arg-type]
+ aiohttp/web_urldispatcher.py:439:16: error: Unsupported right operand type for in ("str | None")  [operator]
- aiohttp/web_urldispatcher.py:430:30: error: Unsupported operand types for + ("str" and "None")  [operator]
+ aiohttp/web_urldispatcher.py:439:31: error: Unsupported right operand type for in ("str | None")  [operator]
+ aiohttp/web_urldispatcher.py:442:34: error: Argument 1 to "_requote_path" has incompatible type "str | None"; expected "str"  [arg-type]
- aiohttp/web_urldispatcher.py:430:30: note: Right operand is of type "str | None"
- aiohttp/web_urldispatcher.py:433:48: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- aiohttp/web_urldispatcher.py:436:30: error: Unsupported operand types for + ("str" and "None")  [operator]
- aiohttp/web_urldispatcher.py:436:30: note: Right operand is of type "str | None"
- aiohttp/web_urldispatcher.py:439:23: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- aiohttp/web_urldispatcher.py:439:38: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- aiohttp/web_urldispatcher.py:440:34: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- aiohttp/web_urldispatcher.py:442:34: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- aiohttp/web_urldispatcher.py: note: In member "register_resource" of class "UrlDispatcher":
- aiohttp/web_urldispatcher.py:1030:21: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- aiohttp/web_urldispatcher.py:1031:13: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- aiohttp/web_urldispatcher.py:1031:25: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- aiohttp/web_urldispatcher.py:1032:38: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- aiohttp/web_urldispatcher.py:1038:24: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- aiohttp/web_urldispatcher.py:1038:24: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- aiohttp/web_log.py:104:9: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_log.py:104:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- aiohttp/web_log.py:105:16: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_log.py:106:51: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_log.py:107:58: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_log.py:110:31: error: Expression type contains "Any" (has type "(str, Any)")  [no-any-expr]
- aiohttp/web_log.py:110:52: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_log.py:110:62: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_log.py:111:58: error: Expression has type "Any"  [no-any-expr]
- aiohttp/web_log.py:112:40: error: Expression type contains "Any" (has type "(str, Any)")  [no-any-expr]
- aiohttp/web_log.py:112:74: error: Expression has type "Any"  [no-any-expr]

ibis (https://github.com/ibis-project/ibis)
- ibis/backends/base/__init__.py: note: In member "_filter_with_like" of class "BaseBackend":
- ibis/backends/base/__init__.py:885:30: error: Expression type contains "Any" (has type overloaded function)  [no-any-expr]
- ibis/backends/druid/tests/conftest.py:85:37: error: Argument "datasource" to "wait_for_ingest" has incompatible type "str | None | Any (from error)"; expected "str"  [arg-type]
- ibis/backends/bigquery/compiler.py: note: In member "_gen_valid_name" of class "BigQueryExprTranslator":
- ibis/backends/bigquery/compiler.py:87:25: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]

cloud-init (https://github.com/canonical/cloud-init)
- cloudinit/distros/parsers/ifconfig.py:134:24: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py: note: In member "parse" of class "Ifconfig":
- cloudinit/distros/parsers/ifconfig.py:135:34: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py: note: At top level:
- cloudinit/distros/parsers/ifconfig.py: note: In member "parse" of class "Ifconfig":
- cloudinit/distros/parsers/ifconfig.py:149:27: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:150:24: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py: note: At top level:
- cloudinit/distros/parsers/ifconfig.py: note: In member "parse" of class "Ifconfig":
- cloudinit/distros/parsers/ifconfig.py:151:36: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:151:36: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:151:36: error: Expression type contains "Any" (has type "list[str] | Any")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py: note: At top level:
- cloudinit/distros/parsers/ifconfig.py: note: In member "parse" of class "Ifconfig":
- cloudinit/distros/parsers/ifconfig.py:170:28: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:171:24: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py: note: At top level:
- cloudinit/distros/parsers/ifconfig.py: note: In member "parse" of class "Ifconfig":
- cloudinit/distros/parsers/ifconfig.py:172:31: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:172:31: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py: note: At top level:
- cloudinit/distros/parsers/ifconfig.py:256:17: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
+ cloudinit/distros/parsers/ifconfig.py:261:29: error: Incompatible types in assignment (expression has type "bool", target has type "list[str]")  [assignment]
+ cloudinit/distros/parsers/ifconfig.py:263:29: error: Incompatible types in assignment (expression has type "bool", target has type "list[str]")  [assignment]
- cloudinit/distros/parsers/ifconfig.py:258:16: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:259:13: error: Expression type contains "Any" (has type "dict[str, list[str] | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:259:28: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:259:28: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:259:28: error: Expression type contains "Any" (has type "list[str] | Any")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:260:24: error: Expression type contains "Any" (has type "dict[str, list[str] | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:260:24: error: Expression type contains "Any" (has type "list[str] | Any")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:261:17: error: Expression type contains "Any" (has type "dict[str, list[str] | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:263:17: error: Expression type contains "Any" (has type "dict[str, list[str] | Any]")  [no-any-expr]
- cloudinit/distros/parsers/ifconfig.py:266:21: error: Expression type contains "Any" (has type "dict[str, list[str] | Any]")  [no-any-expr]
+ cloudinit/distros/parsers/ifconfig.py:266:37: error: Incompatible types in assignment (expression has type "int", target has type "list[str]")  [assignment]
- cloudinit/distros/parsers/ifconfig.py:268:21: error: Expression type contains "Any" (has type "dict[str, list[str] | Any]")  [no-any-expr]
+ cloudinit/distros/parsers/ifconfig.py:268:34: error: Incompatible types in assignment (expression has type "int", target has type "list[str]")  [assignment]
- cloudinit/distros/parsers/ifconfig.py:269:16: error: Expression type contains "Any" (has type "dict[str, list[str] | Any]")  [no-any-expr]
- cloudinit/util.py:610:30: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- cloudinit/util.py:1758:17: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
+ cloudinit/util.py:1917:30: error: No such group: 3  [regex]
+ cloudinit/util.py:1917:30: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-regex for more info
+ cloudinit/util.py:1918:28: error: No such group: 4  [regex]
- cloudinit/util.py:2698:44: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
+ cloudinit/util.py:2696:18: error: No such group: 'devpth'  [regex]
+ cloudinit/util.py:2697:23: error: No such group: 'mountpoint'  [regex]
- cloudinit/util.py:2723:17: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- cloudinit/util.py:2739:52: error: Argument 2 to "search" has incompatible type "str | None"; expected "str"  [arg-type]
+ cloudinit/util.py:2719:19: error: No such group: 'type'  [regex]
+ cloudinit/util.py:2720:25: error: No such group: 'options'  [regex]
+ cloudinit/util.py:2723:17: error: No such group: 'options'  [regex]
- cloudinit/util.py:2747:12: error: Expression has type "Any (unannotated)"  [no-any-expr]
- cloudinit/net/__init__.py:687:13: error: Expression type contains "Any" (has type "set[Any]")  [no-any-expr]
- cloudinit/net/__init__.py:687:40: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- cloudinit/net/__init__.py:691:54: error: Expression type contains "Any" (has type "set[Any]")  [no-any-expr]
+ cloudinit/net/__init__.py:691:37: error: Unsupported operand types for in ("None | Any (from omitted generics)" and "set[str]")  [operator]
+ cloudinit/net/__init__.py:938:24: error: TypedDict "dict[str, str | None]" has no key "mac"  [typeddict-item]
+ cloudinit/net/__init__.py:938:24: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-typeddict-item for more info
+ cloudinit/net/__init__.py:938:41: error: TypedDict "dict[str, str | None]" has no key "ifname"  [typeddict-item]
+ cloudinit/net/__init__.py:954:24: error: TypedDict "dict[str, str | None]" has no key "mac"  [typeddict-item]
+ cloudinit/net/__init__.py:954:41: error: TypedDict "dict[str, str | None]" has no key "ifname"  [typeddict-item]
- cloudinit/mergers/__init__.py:118:17: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- cloudinit/mergers/__init__.py:120:9: error: Expression type contains "Any" (has type "list[(Untyped, list[str | Any (from error)])]")  [no-any-expr]
+ cloudinit/mergers/__init__.py:120:9: error: Expression type contains "Any" (has type "list[(Untyped, list[str])]")  [no-any-expr]
- cloudinit/mergers/__init__.py:120:9: note: Type is "def ((Untyped, list[str | Any (from error)])) -> None"
+ cloudinit/mergers/__init__.py:120:9: note: Type is "def ((Untyped, list[str])) -> None"
- cloudinit/mergers/__init__.py:120:31: error: Expression type contains "Any" (has type "(Untyped, list[str | Any (from error)])")  [no-any-expr]
+ cloudinit/mergers/__init__.py:120:31: error: Expression type contains "Any" (has type "(Untyped, list[str])")  [no-any-expr]
- cloudinit/mergers/__init__.py:121:12: error: Expression type contains "Any" (has type "list[(Untyped, list[str | Any (from error)])]")  [no-any-expr]
+ cloudinit/mergers/__init__.py:121:12: error: Expression type contains "Any" (has type "list[(Untyped, list[str])]")  [no-any-expr]
- cloudinit/templater.py:124:25: error: Item "None" of "str | None" has no attribute "lower"  [union-attr]
- cloudinit/handlers/jinja_template.py:144:20: note:     def findall(pattern: str | Pattern[str], string: str, flags: int | RegexFlag = ...) -> list[Any]
+ cloudinit/handlers/jinja_template.py:144:20: note:     def findall(pattern: str | Pattern[str], string: str, flags: int | RegexFlag = ...) -> list[str | tuple[str | None, ...] | None]
- cloudinit/handlers/jinja_template.py:144:20: note:     def findall(pattern: bytes | Pattern[bytes], string: Buffer, flags: int | RegexFlag = ...) -> list[Any]
+ cloudinit/handlers/jinja_template.py:144:20: note:     def findall(pattern: bytes | Pattern[bytes], string: Buffer, flags: int | RegexFlag = ...) -> list[bytes | tuple[bytes | None, ...] | None]
- cloudinit/dmi.py:191:5: error: Expression has type "Any"  [no-any-expr]
- cloudinit/dmi.py:191:18: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- cloudinit/dmi.py:192:12: error: Expression has type "Any"  [no-any-expr]
- cloudinit/dmi.py:195:17: error: Expression has type "Any"  [no-any-expr]
- cloudinit/dmi.py:200:35: error: Expression has type "Any"  [no-any-expr]
- cloudinit/dmi.py:205:13: error: Expression has type "Any"  [no-any-expr]
- cloudinit/dmi.py:209:27: error: Expression has type "Any"  [no-any-expr]
+ cloudinit/net/dhcp.py:227:42: error: Argument 1 to "findall" of "Pattern" has incompatible type "None"; expected "str"  [arg-type]
- cloudinit/net/dhcp.py:227:22: error: No overload variant of "findall" of "Pattern" matches argument type "None"  [call-overload]
- cloudinit/net/dhcp.py:227:22: note: Possible overload variants:
- cloudinit/net/dhcp.py:227:22: note:     def findall(self, string: str, pos: int = ..., endpos: int = ...) -> list[Any]
- cloudinit/net/dhcp.py:227:22: note:     def findall(self, string: str, pos: int = ..., endpos: int = ...) -> list[str]
- cloudinit/net/dhcp.py:396:18: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/net/dhcp.py:396:18: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:396:19: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/net/dhcp.py:396:34: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:396:65: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/net/dhcp.py:409:9: error: Expression type contains "Any" (has type "(int, str | Any)")  [no-any-expr]
- cloudinit/net/dhcp.py:409:9: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/net/dhcp.py:409:25: error: Expression type contains "Any" (has type "enumerate[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:409:35: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:412:30: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/net/dhcp.py:415:24: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:416:60: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:418:40: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:419:36: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:423:24: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:424:60: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:426:40: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:426:68: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:427:36: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:431:24: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:432:60: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:434:40: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:434:68: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:435:36: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:439:24: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:440:60: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:443:21: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:443:49: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:445:36: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:449:24: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:450:60: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/net/dhcp.py:453:36: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/netinfo.py:115:24: error: Item "None" of "str | None" has no attribute "lower"  [union-attr]
- cloudinit/netinfo.py:116:21: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
+ cloudinit/sources/helpers/akamai.py:32:25: error: Incompatible types in assignment (expression has type "bool", variable has type "str")  [assignment]
+ cloudinit/sources/helpers/akamai.py:34:25: error: Incompatible types in assignment (expression has type "list[str]", variable has type "str")  [assignment]
- cloudinit/sources/helpers/akamai.py:29:5: error: Expression has type "Any"  [no-any-expr]
- cloudinit/sources/helpers/akamai.py:29:26: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- cloudinit/sources/helpers/akamai.py:30:12: error: Expression has type "Any"  [no-any-expr]
- cloudinit/sources/helpers/akamai.py:31:16: error: Expression has type "Any"  [no-any-expr]
- cloudinit/sources/helpers/akamai.py:32:34: error: Expression has type "Any"  [no-any-expr]
- cloudinit/sources/helpers/akamai.py:33:18: error: Expression has type "Any"  [no-any-expr]
- cloudinit/sources/helpers/akamai.py:34:25: error: Expression has type "Any"  [no-any-expr]
- cloudinit/sources/helpers/akamai.py:35:34: error: Expression has type "Any"  [no-any-expr]
- cloudinit/sources/helpers/akamai.py:35:42: error: Expression has type "Any"  [no-any-expr]
- cloudinit/sources/helpers/vmware/imc/config_nic.py:79:20: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
+ cloudinit/sources/helpers/vmware/imc/config_nic.py:86:19: error: No such group: 1  [regex]
- cloudinit/sources/helpers/vmware/imc/config_nic.py:82:9: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/sources/helpers/vmware/imc/config_nic.py:82:24: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/sources/helpers/vmware/imc/config_nic.py:83:39: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/sources/helpers/vmware/imc/config_nic.py:86:19: error: Item "None" of "str | None" has no attribute "lower"  [union-attr]
- cloudinit/sources/helpers/vmware/imc/config_nic.py:87:20: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/sources/helpers/vmware/imc/config_nic.py:87:20: error: Expression type contains "Any" (has type "list[str] | Any")  [no-any-expr]
- cloudinit/sources/helpers/vmware/imc/config_nic.py:88:34: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- tests/integration_tests/util.py: note: In function "verify_clean_log":
- tests/integration_tests/util.py:52:18: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/util.py:52:50: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/util.py:53:8: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/util.py:55:55: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/util.py:106:9: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/util.py: note: In function "get_inactive_modules":
- tests/integration_tests/util.py:113:15: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/util.py:119:13: error: Expression type contains "Any" (has type "(module: Any) -> Any")  [no-any-expr]
- tests/integration_tests/util.py:119:28: error: Expression has type "Any"  [no-any-expr]
- tests/integration_tests/util.py:120:13: error: Expression type contains "Any" (has type "chain[Any]")  [no-any-expr]
- tests/integration_tests/util.py:120:20: error: Expression type contains "Any" (has type "map[Any]")  [no-any-expr]
- tests/integration_tests/util.py:120:24: error: Expression type contains "Any" (has type "(match: Any) -> Any")  [no-any-expr]
- tests/integration_tests/util.py:120:38: error: Expression has type "Any"  [no-any-expr]
- tests/integration_tests/util.py:120:56: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/modules/test_user_events.py:56:9: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
+ tests/integration_tests/modules/test_package_update_upgrade_install.py:45:33: error: No such group: 'version'  [regex]
- tests/integration_tests/modules/test_package_update_upgrade_install.py:48:16: error: Item "None" of "str | None" has no attribute "startswith"  [union-attr]
- tests/integration_tests/modules/test_boothook.py:29:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/modules/test_boothook.py:32:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_oci_networking.py:67:27: error: Expression type contains "Any" (has type "set[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_oci_networking.py:68:9: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_oci_networking.py:70:5: error: Expression has type "Any"  [no-any-expr]
- tests/integration_tests/datasources/test_oci_networking.py:70:31: error: Expression type contains "Any" (has type "set[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_oci_networking.py:72:13: error: Expression has type "Any"  [no-any-expr]
- tests/integration_tests/datasources/test_oci_networking.py:75:28: error: Expression type contains "Any" (has type "set[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_oci_networking.py:78:16: error: Expression type contains "Any" (has type "set[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_oci_networking.py:79:9: error: Expression type contains "Any" (has type "set[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_oci_networking.py:115:27: error: Expression type contains "Any" (has type "set[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_oci_networking.py:116:9: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_oci_networking.py:118:16: error: Expression type contains "Any" (has type "set[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_ec2_ipv6.py:14:14: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_ec2_ipv6.py:15:12: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_ec2_ipv6.py:16:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_ec2_ipv6.py:19:18: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/datasources/test_ec2_ipv6.py:19:18: error: Expression has type "Any"  [no-any-expr]
- cloudinit/distros/__init__.py:1008:28: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- tests/integration_tests/bugs/test_lp1835584.py:68:20: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- cloudinit/sources/DataSourceSmartOS.py:399:16: error: Argument 1 to "int" has incompatible type "str | None | Any (from error)"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- cloudinit/sources/DataSourceSmartOS.py:399:45: error: Argument 1 to "len" has incompatible type "str | None | Any (from error)"; expected "Sized"  [arg-type]
- cloudinit/sources/DataSourceSmartOS.py:402:47: error: Argument 1 to "len" has incompatible type "str | None | Any (from error)"; expected "Sized"  [arg-type]
- cloudinit/sources/DataSourceOpenNebula.py:159:17: error: Expression type contains "Any" (has type "dict[Any (unannotated), str | None]")  [no-any-expr]
+ cloudinit/sources/DataSourceOpenNebula.py:159:17: error: Expression type contains "Any" (has type "dict[Any (unannotated), str]")  [no-any-expr]
- cloudinit/sources/DataSourceOpenNebula.py:235:21: error: Expression type contains "Any" (has type "dict[Any (unannotated), str | None]")  [no-any-expr]
+ cloudinit/sources/DataSourceOpenNebula.py:235:21: error: Expression type contains "Any" (has type "dict[Any (unannotated), str]")  [no-any-expr]
- cloudinit/config/schema.py:635:36: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- cloudinit/config/cc_rsyslog.py:257:25: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:257:25: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:258:19: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:262:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:262:12: error: Expression type contains "Any" (has type "list[str] | Any")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:264:12: error: Expression type contains "Any" (has type "list[str] | Any")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:265:21: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:266:14: error: Expression type contains "Any" (has type "list[str] | Any")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:267:28: error: Expression type contains "Any" (has type "list[str] | Any")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:269: error: Expression has type "Any"  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:269:59: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:271:31: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:274: error: Expression has type "Any"  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:274:62: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:283:8: error: Expression type contains "Any" (has type "str | Any | None")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:283:8: error: Expression type contains "Any" (has type "str | Any | None | bool")  [no-any-expr]
- cloudinit/config/cc_rsyslog.py:284:16: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/config/cc_mounts.py:459:24: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/config/cc_mounts.py:462:13: error: Expression type contains "Any" (has type "dict[str | Any, Any (from error)]")  [no-any-expr]
- cloudinit/config/cc_mounts.py:462:24: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- cloudinit/config/cc_mounts.py:462:24: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- cloudinit/config/cc_keyboard.py:33:16: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-typeddict-item for more info
- cloudinit/config/cc_apt_configure.py:283:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- cloudinit/config/cc_apt_configure.py:284:21: error: Expression has type "Any"  [no-any-expr]
- cloudinit/config/cc_apt_configure.py:284:26: error: Expression has type "Any"  [no-any-expr]
- cloudinit/config/cc_apt_configure.py:284:45: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- cloudinit/config/cc_apt_configure.py:284:57: error: Expression has type "Any"  [no-any-expr]
- cloudinit/config/cc_apt_configure.py: note: In function "disable_deb822_section_without_suites":
- cloudinit/config/cc_apt_configure.py:444:12: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- cloudinit/config/cc_apt_configure.py: note: In function "is_deb822_sources_format":
- cloudinit/config/cc_apt_configure.py:563:8: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- cloudinit/config/cc_apt_configure.py:565:8: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- cloudinit/config/cc_apt_configure.py:625:23: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
+ cloudinit/config/cc_apt_configure.py:626:9: error: Need type annotation for "apt_cmd_config" (hint: "apt_cmd_config: dict[<type>, <type>] = ...")  [var-annotated]
+ cloudinit/config/cc_apt_configure.py:626:31: error: Argument 1 to "dict" has incompatible type "list[str | tuple[str | None, ...] | None]"; expected "Iterable[(Never, Never)]"  [arg-type]
- cloudinit/config/cc_apt_configure.py:626:31: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
+ cloudinit/config/cc_apt_configure.py:627:15: error: Expression type contains "Any" (has type "dict[Any (unannotated), Any (unannotated)]")  [no-any-expr]
+ cloudinit/config/cc_apt_configure.py:627:15: error: Expression has type "Any (unannotated)"  [no-any-expr]
+ cloudinit/config/cc_apt_configure.py:628:22: error: Expression type contains "Any" (has type "dict[Any (unannotated), Any (unannotated)]")  [no-any-expr]
+ cloudinit/config/cc_apt_configure.py:628:22: error: Expression has type "Any (unannotated)"  [no-any-expr]
+ cloudinit/config/cc_apt_configure.py:631:23: error: Expression type contains "Any" (has type "dict[Any (unannotated), Any (unannotated)]")  [no-any-expr]
+ cloudinit/config/cc_apt_configure.py:631:23: error: Expression has type "Any (unannotated)"  [no-any-expr]
- tests/unittests/test_merging.py:109:27: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- tests/unittests/sources/test_opennebula.py:422:36: error: Expression type contains "Any" (has type "dict[Any (unannotated), str | None]")  [no-any-expr]
+ tests/unittests/sources/test_opennebula.py:422:36: error: Expression type contains "Any" (has type "dict[Any (unannotated), str]")  [no-any-expr]
- tests/integration_tests/test_multi_part_user_data_handling.py:149:12: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/test_multi_part_user_data_handling.py:166:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tests/integration_tests/test_multi_part_user_data_handling.py:167:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]

mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
+ pymongo/ocsp_support.py:113:60: error: Argument 1 to "load_pem_x509_certificate" has incompatible type "bytes | tuple[bytes | None, ...] | None"; expected "bytes"  [arg-type]
- pymongo/ocsp_support.py:112:5: error: Expression has type "Any"  [no-any-expr]
- pymongo/ocsp_support.py:112:22: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- pymongo/ocsp_support.py:113:60: error: Expression has type "Any"  [no-any-expr]

paasta (https://github.com/yelp/paasta)
+ paasta_tools/hacheck.py:68:41: error: TypedDict "dict[str, str]" has no key "service"  [typeddict-item]
+ paasta_tools/hacheck.py:68:41: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-typeddict-item for more info
+ paasta_tools/hacheck.py:69:39: error: TypedDict "dict[str, str]" has no key "state"  [typeddict-item]
+ paasta_tools/hacheck.py:71:49: error: TypedDict "dict[str, str]" has no key "since"  [typeddict-item]
+ paasta_tools/hacheck.py:73:49: error: TypedDict "dict[str, str]" has no key "until"  [typeddict-item]
+ paasta_tools/hacheck.py:75:44: error: TypedDict "dict[str, str]" has no key "reason"  [typeddict-item]
- paasta_tools/adhoc_tools.py:130:34: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-typeddict-item for more info
- paasta_tools/mesos_tools.py:1044:28: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- paasta_tools/mesos_tools.py:1044:28: error: Expression has type "Any"  [no-any-expr]
+ paasta_tools/tron_tools.py:1297:29: error: No such group: 1  [regex]
+ paasta_tools/tron_tools.py:1297:29: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-regex for more info
+ paasta_tools/metrics/metastatus_lib.py: note: In function "suffixed_number_value":
+ paasta_tools/metrics/metastatus_lib.py:747:20: error: Need more than 1 value to unpack (2 expected)  [misc]
+ paasta_tools/metrics/metastatus_lib.py:749:8: error: Cannot determine type of "suff"  [has-type]
+ paasta_tools/metrics/metastatus_lib.py:750:22: error: Cannot determine type of "number"  [has-type]
+ paasta_tools/metrics/metastatus_lib.py:750:53: error: Cannot determine type of "suff"  [has-type]
+ paasta_tools/metrics/metastatus_lib.py:752:22: error: Cannot determine type of "number"  [has-type]
+ paasta_tools/generate_deployments_for_service.py:208:53: error: TypedDict "dict[str, str]" has no key "branch"  [typeddict-item]
+ paasta_tools/generate_deployments_for_service.py:209:21: error: TypedDict "dict[str, str]" has no key "state"  [typeddict-item]
+ paasta_tools/generate_deployments_for_service.py:209:34: error: TypedDict "dict[str, str]" has no key "force_bounce"  [typeddict-item]
- paasta_tools/cli/cmds/secret.py:52:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
+ paasta_tools/cli/cmds/secret.py:52:21: error: Argument 1 to "join" of "str" has incompatible type "list[str | tuple[str, ...]]"; expected "Iterable[str]"  [arg-type]
- paasta_tools/cli/cmds/secret.py:295:19: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- paasta_tools/cli/cmds/secret.py:296:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]

nionutils (https://github.com/nion-software/nionutils)
- nion/utils/Color.py: note: In member "to_color_without_alpha" of class "Color":
- nion/utils/Color.py:37:13: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:38:16: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:39:34: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:39:34: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py:39:49: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:39:49: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py:39:64: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:39:64: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py:40:13: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:41:16: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:42:34: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:42:34: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py:42:49: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:42:49: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py:42:64: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:42:64: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py: note: In member "__hex_color" of class "Color":
- nion/utils/Color.py:87:13: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:88:16: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:89:40: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:89:40: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py:89:56: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:89:56: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py:89:71: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:89:71: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py:89:86: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:89:86: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py:90:13: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:91:16: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:92:28: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:92:28: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py:92:43: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:92:43: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- nion/utils/Color.py:92:58: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- nion/utils/Color.py:92:58: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]

anyio (https://github.com/agronholm/anyio)
- src/anyio/streams/tls.py:211:32: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]

porcupine (https://github.com/Akuli/porcupine)
- porcupine/plugins/geometry.py: note: In function "geometry_is_within_screen":
- porcupine/plugins/geometry.py:17:31: error: Argument 1 to "map" has incompatible type "type[int]"; expected "(str | None) -> int"  [arg-type]
- porcupine/plugins/editorconfig.py: note: In function "glob_match":
- porcupine/plugins/editorconfig.py:163:33: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- porcupine/plugins/editorconfig.py:164:33: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- porcupine/plugins/editorconfig.py:178:25: error: Argument 1 to "map" has incompatible type "type[int]"; expected "(str | None) -> int"  [arg-type]
- porcupine/plugins/autocomplete.py: note: In function "_all_words_in_file_completer":
- porcupine/plugins/autocomplete.py:273:9: error: Expression type contains "Any" (has type "Counter[Any]")  [no-any-expr]
- porcupine/plugins/autocomplete.py:274:13: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:274:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- porcupine/plugins/autocomplete.py:275:17: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:276:29: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- porcupine/plugins/autocomplete.py:284:48: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:289:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- porcupine/plugins/autocomplete.py:290:5: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- porcupine/plugins/autocomplete.py:291:13: error: Expression type contains "Any" (has type "(word: Any) -> (int | int, int | int, Any, int, Any)")  [no-any-expr]
- porcupine/plugins/autocomplete.py:291:26: error: Expression type contains "Any" (has type "(int | int, int | int, Any, int, Any)")  [no-any-expr]
- porcupine/plugins/autocomplete.py:293:18: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:295:35: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:297:13: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:297:21: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:299:17: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:301:13: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:305:19: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:307:26: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:310:26: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:311:25: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:312:27: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/autocomplete.py:314:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- porcupine/plugins/highlight/tree_sitter_highlighter.py: note: In function "_strip_comments":
- porcupine/plugins/highlight/tree_sitter_highlighter.py:38:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- porcupine/plugins/highlight/tree_sitter_highlighter.py:39:19: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/highlight/tree_sitter_highlighter.py:39:20: error: Expression has type "Any"  [no-any-expr]
- porcupine/plugins/highlight/tree_sitter_highlighter.py:39:31: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- porcupine/plugins/highlight/tree_sitter_highlighter.py:39:44: error: Expression has type "Any"  [no-any-expr]
- porcupine/menubar.py: note: In function "_split":
- porcupine/menubar.py:108:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- porcupine/menubar.py:108:13: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- porcupine/menubar.py:108:49: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- porcupine/plugins/aboutdialog.py:86:40: error: Argument 3 to "replace" of "Text" has incompatible type "str | None"; expected "str"  [arg-type]
- porcupine/plugins/langserver.py:444:30: error: Argument 1 to "len" has incompatible type "str | None"; expected "Sized"  [arg-type]

vision (https://github.com/pytorch/vision)
- torchvision/datasets/utils.py:493:21: error: Argument 1 to "int" has incompatible type "bytes | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]

arviz (https://github.com/arviz-devs/arviz)
- arviz/plots/backends/__init__.py:145:17: error: Argument 1 to "int" has incompatible type "str | None | Any (from error)"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- arviz/data/io_pystan.py:815:17: error: Argument 1 to "float" has incompatible type "str | None | Any (from error)"; expected "SupportsFloat | SupportsIndex | str | Buffer"  [arg-type]
- arviz/data/io_pystan.py:832:55: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- arviz/data/io_pystan.py:837:52: error: Argument 3 to "sub" has incompatible type "str | None"; expected "str"  [arg-type]
- arviz/data/io_cmdstan.py:746:30: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- arviz/data/io_cmdstan.py:746:50: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- arviz/data/io_cmdstan.py:749:30: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- arviz/data/io_cmdstan.py:749:52: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- arviz/data/io_cmdstan.py:752:30: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- arviz/data/io_cmdstan.py:752:50: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- arviz/data/io_cmdstan.py:755:23: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
+ arviz/data/base.py:493:15: error: Item "tuple[str | None, ...]" of "str | tuple[str | None, ...] | None" has no attribute "strip"  [union-attr]
+ arviz/data/base.py:493:15: error: Item "None" of "str | tuple[str | None, ...] | None" has no attribute "strip"  [union-attr]
- arviz/data/base.py:493:14: error: Expression has type "Any"  [no-any-expr]
- arviz/data/base.py:493:14: error: Expression type contains "Any" (has type "dict[Any, str]")  [no-any-expr]
- arviz/data/base.py:493:15: error: Expression has type "Any"  [no-any-expr]
- arviz/data/base.py:493:45: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- arviz/data/base.py:494:12: error: Expression type contains "Any" (has type "dict[Any, str]")  [no-any-expr]
- doc/sphinxext/gallery_generator.py:203:20: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- doc/sphinxext/gallery_generator.py:204:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- doc/sphinxext/gallery_generator.py:204:16: error: Expression has type "Any"  [no-any-expr]
- doc/sphinxext/gallery_generator.py:204:16: error: Expression type contains "Any" (has type "Any | str")  [no-any-expr]
- doc/sphinxext/gallery_generator.py:204:27: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- doc/sphinxext/gallery_generator.py:268:46: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- doc/sphinxext/gallery_generator.py:278:38: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]

sphinx (https://github.com/sphinx-doc/sphinx)
+ sphinx/ext/napoleon/docstring.py:36: error: INTERNAL ERROR -- Please try using mypy 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.3.0+dev.06df2750e6ac65c246e1ec0d458fa311f5298072
+ sphinx/ext/napoleon/docstring.py:36: : note: use --pdb to drop into pdb
- sphinx/util/nodes.py: note: In function "split_explicit_title":
- sphinx/util/nodes.py:353:16: error: Incompatible return value type (got "(bool, str | None, str | None)", expected "(bool, str, str)")  [return-value]
- sphinx/util/inventory.py:124:16: error: Unsupported right operand type for in ("str | None")  [operator]
- sphinx/util/inventory.py:135:16: error: Item "None" of "str | None" has no attribute "endswith"  [union-attr]
- sphinx/util/inventory.py:135:16: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- sphinx/util/inventory.py:136:28: error: Value of type "str | None" is not indexable  [index]
- sphinx/util/inventory.py:136:28: error: Unsupported operand types for + ("str" and "None")  [operator]
- sphinx/util/inventory.py:136:28: note: Both left and right operands are unions
- sphinx/util/inventory.py:138:39: error: Incompatible types in assignment (expression has type "(str, str, str | None, str | None)", variable has type "(str, str, str, str)")  [assignment]
- sphinx/util/inventory.py:139:32: error: Argument 1 to "setdefault" of "MutableMapping" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/util/inventory.py:139:42: error: Invalid index type "str | None" for "dict[str, (str, str, str, str)]"; expected type "str"  [index]
- sphinx/util/i18n.py:202:14: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/util/i18n.py:203:5: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/util/i18n.py:203:18: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/util/i18n.py:204:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/util/i18n.py:205:53: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/util/i18n.py:210:16: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/util/i18n.py:210:16: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sphinx/util/i18n.py:212:18: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/util/i18n.py:212:18: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sphinx/util/i18n.py:220:27: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
+ sphinx/util/i18n.py:220:27: error: Argument 1 to "append" of "list" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/util/docutils.py: note: In member "write" of class "WarningStream":
- sphinx/util/docutils.py:352:24: error: Argument 1 to "log" of "SphinxLoggerAdapter" has incompatible type "str | None"; expected "int | str"  [arg-type]
- sphinx/util/docutils.py:542:35: error: Argument 1 to "unescape" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/util/docutils.py:543:36: error: Argument 1 to "unescape" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/writers/html5.py: note: In function "multiply_length":
- sphinx/writers/html5.py:42:20: error: Argument 1 to "float" has incompatible type "str | None"; expected "SupportsFloat | SupportsIndex | str | Buffer"  [arg-type]
+ sphinx/writers/html5.py:758:20: error: Item "tuple[str | None, ...]" of "str | tuple[str | None, ...] | None" has no attribute "strip"  [union-attr]
+ sphinx/writers/html5.py:758:20: error: Item "None" of "str | tuple[str | None, ...] | None" has no attribute "strip"  [union-attr]
+ sphinx/writers/html5.py:761:22: error: Unsupported operand types for in ("str | tuple[str | None, ...] | None" and "str")  [operator]
+ sphinx/writers/html5.py:763:38: error: Argument 1 to "append" of "list" has incompatible type "str | tuple[str | None, ...] | None"; expected "str"  [arg-type]
+ sphinx/writers/html5.py:766:54: error: Argument 1 to "len" has incompatible type "str | tuple[str | None, ...] | None"; expected "Sized"  [arg-type]
- sphinx/writers/html5.py:757:13: error: Expression has type "Any"  [no-any-expr]
- sphinx/writers/html5.py:757:26: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/writers/html5.py:758:20: error: Expression has type "Any"  [no-any-expr]
- sphinx/writers/html5.py:760:70: error: Expression has type "Any"  [no-any-expr]
- sphinx/writers/html5.py:761:22: error: Expression has type "Any"  [no-any-expr]
- sphinx/writers/html5.py:763:38: error: Expression has type "Any"  [no-any-expr]
- sphinx/writers/html5.py:766:54: error: Expression has type "Any"  [no-any-expr]
+ sphinx/util/inspect.py:69:19: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- sphinx/roles.py:252:17: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/roles.py:253:28: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/roles.py:253:28: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py:254:9: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py:254:21: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/roles.py:255:20: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py:257:33: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py:260:32: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py: note: In member "parse" of class "EmphasizedLiteral":
- sphinx/roles.py:291:9: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py:291:21: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/roles.py:292:16: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py:292:16: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sphinx/roles.py:294:18: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py:294:18: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sphinx/roles.py:301:18: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py:301:18: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sphinx/roles.py:312:18: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py:312:18: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sphinx/roles.py:314:18: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py:314:18: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sphinx/roles.py:317:17: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/roles.py:317:30: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/std.py:161:16: error: Value of type "str | None" is not indexable  [index]
- sphinx/domains/std.py:161:39: error: Value of type "str | None" is not indexable  [index]
- sphinx/domains/std.py:163:27: error: Value of type "str | None" is not indexable  [index]
- sphinx/domains/std.py:164:24: error: Unsupported operand types for + ("str" and "None")  [operator]
- sphinx/domains/std.py:164:24: note: Right operand is of type "str | None"
- sphinx/domains/std.py:196:29: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- sphinx/domains/std.py: note: In function "split_term_classifiers":
- sphinx/domains/std.py:263:31: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/domains/std.py:263:57: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/domains/std.py:422:12: error: Unsupported right operand type for in ("str | None")  [operator]
- sphinx/domains/std.py:423:16: error: Value of type "str | None" is not indexable  [index]
- sphinx/domains/std.py:424:28: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- sphinx/domains/std.py:425:26: error: Value of type "str | None" is not indexable  [index]
- sphinx/domains/std.py:426:18: error: Value of type "str | None" is not indexable  [index]
- sphinx/domains/std.py:427:25: error: Value of type "str | None" is not indexable  [index]
- sphinx/domains/std.py:434:22: error: Unsupported operand types for + ("str" and "None")  [operator]
- sphinx/domains/std.py:434:22: note: Right operand is of type "str | None"
- sphinx/domains/std.py:437:34: error: Argument 1 to "literal" has incompatible type "str | None"; expected "str"  [arg-type]
+ sphinx/domains/std.py:931:38: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
+ sphinx/domains/std.py:933:37: error: Argument 1 to "join" of "str" has incompatible type "list[str | None]"; expected "Iterable[str]"  [arg-type]
- sphinx/domains/std.py:931:38: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/domains/std.py:931:38: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/std.py:932:17: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/domains/std.py:932:33: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/std.py:933:37: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/domains/std.py:935:57: error: Expression type contains "Any" (has type "(Any, str | Any)")  [no-any-expr]
+ sphinx/domains/std.py:935:57: error: Expression type contains "Any" (has type "(Any, str)")  [no-any-expr]
- sphinx/domains/std.py:935:68: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/std.py:1087:23: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/domains/std.py:1089:17: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
+ sphinx/domains/std.py:1092:43: error: Argument 1 to "join" of "str" has incompatible type "list[str | None]"; expected "Iterable[str]"  [arg-type]
+ sphinx/domains/std.py:1092:53: error: List item 1 has incompatible type "str | None"; expected "str"  [list-item]
+ sphinx/domains/std.py:1092:53: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-list-item for more info
- sphinx/domains/std.py:1090:22: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/domains/std.py:1090:22: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/std.py:1091:16: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/domains/std.py:1092:43: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/domains/std.py:1092:53: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/python.py:625:23: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/domains/python.py:631:40: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
+ sphinx/domains/python.py:726:50: error: Too many values to unpack (5 expected, 6 provided)  [misc]
- sphinx/domains/python.py:733:16: error: Expression type contains "Any" (has type "str | None | Any | bool")  [no-any-expr]
+ sphinx/domains/python.py:733:16: error: Cannot determine type of "prefix"  [has-type]
+ sphinx/domains/python.py:733:16: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-has-type for more info
+ sphinx/domains/python.py:733:28: error: Cannot determine type of "prefix"  [has-type]
- sphinx/domains/python.py:733:28: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
+ sphinx/domains/python.py:734:28: error: Cannot determine type of "prefix"  [has-type]
+ sphinx/domains/python.py:734:28: error: Expression has type "Any"  [no-any-expr]
- sphinx/domains/python.py:735:28: error: Unsupported operand types for + ("str" and "None")  [operator]
- sphinx/domains/python.py:735:28: note: Right operand is of type "str | None"
+ sphinx/domains/python.py:735:28: error: Cannot determine type of "prefix"  [has-type]
+ sphinx/domains/python.py:735:28: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:735:37: error: Cannot determine type of "name"  [has-type]
+ sphinx/domains/python.py:737:26: error: Cannot determine type of "prefix"  [has-type]
+ sphinx/domains/python.py:737:26: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:738:18: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:741:46: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:741:55: error: Cannot determine type of "name"  [has-type]
- sphinx/domains/python.py:749:28: error: Unsupported operand types for + ("str" and "None")  [operator]
- sphinx/domains/python.py:749:28: note: Right operand is of type "str | None"
- sphinx/domains/python.py:752:28: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
+ sphinx/domains/python.py:744:46: error: Cannot determine type of "name"  [has-type]
+ sphinx/domains/python.py:747:16: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:748:29: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:749:28: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:749:37: error: Cannot determine type of "name"  [has-type]
+ sphinx/domains/python.py:752:28: error: Cannot determine type of "name"  [has-type]
+ sphinx/domains/python.py:752:28: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:756:31: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:788:12: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:789:46: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:789:54: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:794:39: error: Cannot determine type of "name"  [has-type]
+ sphinx/domains/python.py:794:45: error: Cannot determine type of "name"  [has-type]
+ sphinx/domains/python.py:796:12: error: Cannot determine type of "tp_list"  [has-type]
+ sphinx/domains/python.py:798:45: error: Cannot determine type of "tp_list"  [has-type]
+ sphinx/domains/python.py:800:68: error: Cannot determine type of "tp_list"  [has-type]
+ sphinx/domains/python.py:803:12: error: Cannot determine type of "arglist"  [has-type]
+ sphinx/domains/python.py:805:43: error: Cannot determine type of "arglist"  [has-type]
+ sphinx/domains/python.py:811:48: error: Cannot determine type of "arglist"  [has-type]
+ sphinx/domains/python.py:814:68: error: Cannot determine type of "arglist"  [has-type]
+ sphinx/domains/python.py:816:48: error: Cannot determine type of "arglist"  [has-type]
+ sphinx/domains/python.py:822:12: error: Cannot determine type of "retann"  [has-type]
+ sphinx/domains/python.py:823:42: error: Cannot determine type of "retann"  [has-type]
+ sphinx/domains/python.py:824:46: error: Cannot determine type of "retann"  [has-type]
- sphinx/domains/python.py:832:16: error: Incompatible return value type (got "(str, str | None)", expected "(str, str)")  [return-value]
+ sphinx/domains/python.py:832:16: error: Expression has type "Any"  [no-any-expr]
+ sphinx/domains/python.py:832:16: error: Expression type contains "Any" (has type "(Any, Any)")  [no-any-expr]
+ sphinx/domains/python.py:832:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/transforms/i18n.py: note: In function "parse_noqa":
- sphinx/transforms/i18n.py:89:16: error: Incompatible return value type (got "(str | None, bool)", expected "(str, bool)")  [return-value]
- sphinx/search/__init__.py: note: In member "split" of class "SearchLanguage":
- sphinx/search/__init__.py:88:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
+ sphinx/ext/autodoc/__init__.py:391:63: error: Too many values to unpack (6 expected, 7 provided)  [misc]
+ sphinx/ext/autodoc/__init__.py:394:12: error: Cannot determine type of "explicit_modname"  [has-type]
+ sphinx/ext/autodoc/__init__.py:395:23: error: Cannot determine type of "explicit_modname"  [has-type]
+ sphinx/ext/autodoc/__init__.py:395:23: error: Expression has type "Any"  [no-any-expr]
+ sphinx/ext/autodoc/__init__.py:396:23: error: Cannot determine type of "path"  [has-type]
+ sphinx/ext/autodoc/__init__.py:396:23: error: Expression has type "Any"  [no-any-expr]
+ sphinx/ext/autodoc/__init__.py:396:23: error: Expression type contains "Any" (has type "Any | list[Any]")  [no-any-expr]
+ sphinx/ext/autodoc/__init__.py:396:54: error: Cannot determine type of "path"  [has-type]
+ sphinx/ext/autodoc/__init__.py:396:64: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/autodoc/__init__.py:402:73: error: Argument 3 to "resolve_name" of "Documenter" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/ext/autodoc/__init__.py:402:79: error: Argument 4 to "resolve_name" of "Documenter" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/ext/autodoc/__init__.py:409:23: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
+ sphinx/ext/autodoc/__init__.py:402:55: error: Expression has type "Any"  [no-any-expr]
+ sphinx/ext/autodoc/__init__.py:402:64: error: Expression type contains "Any" (has type "Any | list[Any]")  [no-any-expr]
+ sphinx/ext/autodoc/__init__.py:402:73: error: Cannot determine type of "path"  [has-type]
+ sphinx/ext/autodoc/__init__.py:402:79: error: Cannot determine type of "base"  [has-type]
+ sphinx/ext/autodoc/__init__.py:404:16: error: Expression has type "Any"  [no-any-expr]
+ sphinx/ext/autodoc/__init__.py:407:24: error: Expression has type "Any"  [no-any-expr]
+ sphinx/ext/autodoc/__init__.py:408:21: error: Cannot determine type of "args"  [has-type]
+ sphinx/ext/autodoc/__init__.py:408:21: error: Expression has type "Any"  [no-any-expr]
+ sphinx/ext/autodoc/__init__.py:409:23: error: Cannot determine type of "retann"  [has-type]
+ sphinx/ext/autodoc/__init__.py:409:23: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autodoc/__init__.py:503:32: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
+ sphinx/ext/autodoc/__init__.py:1218:60: error: Too many values to unpack (6 expected, 7 provided)  [misc]
+ sphinx/ext/autodoc/__init__.py:1221:20: error: Cannot determine type of "base"  [has-type]
+ sphinx/ext/autodoc/__init__.py:1232:30: error: Cannot determine type of "args"  [has-type]
+ sphinx/ext/autodoc/__init__.py:1232:36: error: Cannot determine type of "retann"  [has-type]
- sphinx/builders/_epub_base.py:283:61: error: Argument 1 to "fix_fragment" of "EpubBuilder" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/builders/_epub_base.py:283:73: error: Argument 2 to "fix_fragment" of "EpubBuilder" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/builders/_epub_base.py:384:55: error: Argument 1 to "fix_fragment" of "EpubBuilder" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/builders/_epub_base.py:384:67: error: Argument 2 to "fix_fragment" of "EpubBuilder" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/builders/_epub_base.py:390:67: error: Argument 1 to "fix_fragment" of "EpubBuilder" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/builders/_epub_base.py:390:79: error: Argument 2 to "fix_fragment" of "EpubBuilder" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/writers/latex.py: note: In function "rstdim_to_latexdim":
- sphinx/writers/latex.py:268:15: error: Argument 1 to "float" has incompatible type "str | None"; expected "SupportsFloat | SupportsIndex | str | Buffer"  [arg-type]
- sphinx/writers/latex.py:274:46: error: Argument 1 to "float" has incompatible type "str | None"; expected "SupportsFloat | SupportsIndex | str | Buffer"  [arg-type]
- sphinx/writers/latex.py:276:30: error: Argument 1 to "float" has incompatible type "str | None"; expected "SupportsFloat | SupportsIndex | str | Buffer"  [arg-type]
+ sphinx/util/cfamily.py:38:41: error: multiple repeat at position 287 (line 9, column 38)  [regex]
+ sphinx/util/cfamily.py:38:41: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-regex for more info
- sphinx/domains/rst.py: note: In function "parse_directive":
- sphinx/domains/rst.py:105:8: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- sphinx/domains/rst.py:106:17: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- sphinx/domains/rst.py:106:43: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- sphinx/domains/rst.py:108:17: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- sphinx/domains/rst.py:149:30: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/domains/rst.py:149:30: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/rst.py:153:21: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/rst.py:154:31: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/rst.py:156:12: error: Expression type contains "Any" (has type "str | Any | None")  [no-any-expr]
- sphinx/domains/rst.py:157:49: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/rst.py:157:55: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/rst.py:157:65: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/rst.py:157:71: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/domains/rst.py:161:16: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/search/zh.py:244:13: error: Expression has type "Any"  [no-any-expr]
- sphinx/search/zh.py:244:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/search/zh.py:244:14: error: Expression has type "Any"  [no-any-expr]
- sphinx/search/zh.py:244:39: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/search/zh.py:245:33: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/search/zh.py:246:26: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/imgmath.py: note: In function "read_svg_depth":
- sphinx/ext/imgmath.py:78:24: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- sphinx/ext/imgmath.py:196:29: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- sphinx/ext/imgmath.py:217:37: error: Argument 1 to "float" has incompatible type "str | None"; expected "SupportsFloat | SupportsIndex | str | Buffer"  [arg-type]
+ 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 102, in main
+     res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+   File "/main.py", line 206, in run_build
+     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+   File "/build.py", line 194, in build
+     result = _build(
+   File "/build.py", line 270, in _build
+     graph = dispatch(sources, manager, stdout)
+   File "/build.py", line 3072, in dispatch
+     process_graph(graph, manager)
+   File "/build.py", line 3472, in process_graph
+     process_stale_scc(graph, scc, manager)
+   File "/build.py", line 3573, in process_stale_scc
+     graph[id].type_check_first_pass()
+   File "/build.py", line 2439, in type_check_first_pass
+     self.type_checker().check_first_pass()
+   File "/checker.py", line 487, in check_first_pass
+     self.accept(d)
+   File "/checker.py", line 597, in accept
+     stmt.accept(self)
+   File "/nodes.py", line 1315, in accept
+     return visitor.visit_assignment_stmt(self)
+   File "/checker.py", line 3032, in visit_assignment_stmt
+     self.check_assignment(
+   File "/checker.py", line 3286, in check_assignment
+     rvalue_type = self.expr_checker.accept(rvalue, type_context=type_context)
+   File "/checkexpr.py", line 5606, in accept
+     typ = node.accept(self)
+   File "/nodes.py", line 1911, in accept
+     return visitor.visit_call_expr(self)
+   File "/checkexpr.py", line 463, in visit_call_expr
+     return self.visit_call_expr_inner(e, allow_none_return=allow_none_return)
+   File "/checkexpr.py", line 668, in visit_call_expr_inner
+     ret_type = self.check_call_expr_with_callee_type(
+   File "/checkexpr.py", line 1511, in check_call_expr_with_callee_type
+     ret_type, callee_type = self.check_call(
+   File "/checkexpr.py", line 1616, in check_call
+     return self.check_overload_call(
+   File "/checkexpr.py", line 2703, in check_overload_call
+     inferred_result = self.infer_overload_return_type(
+   File "/checkexpr.py", line 2864, in infer_overload_return_type
+     ret_type, infer_type = self.check_call(
+   File "/checkexpr.py", line 1605, in check_call
+     return self.check_callable_call(
+   File "/checkexpr.py", line 1829, in check_callable_call
+     new_ret_type = self.apply_function_plugin(
+   File "/checkexpr.py", line 1285, in apply_function_plugin
+     return callback(
+   File "/plugins/re.py", line 123, in compile
+     groups = parse_groups(value, ctx.args[0][0], ctx.api.msg)
+   File "/plugins/re.py", line 255, in parse_groups
+     groups = _parse_groups(value)
+   File "/plugins/re.py", line 352, in _parse_groups
+     assert len(groups) == p.groups, "parsed groups differ from compiled groups"
+ AssertionError: parsed groups differ from compiled groups
- sphinx/ext/napoleon/docstring.py: note: In member "get" of class "Deque":
- sphinx/ext/napoleon/docstring.py:61:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/napoleon/docstring.py:66:16: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:66:16: error: Expression type contains "Any" (has type "Untyped | object")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "next" of class "Deque":
- sphinx/ext/napoleon/docstring.py:68:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/napoleon/docstring.py:70:20: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "__init__" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:150:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/napoleon/docstring.py:171:32: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:173:35: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:175:27: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:182:21: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:183:21: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:188:29: error: Expression type contains "Any" (has type "map[Any (from omitted generics)]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "__str__" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:236:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_indented_block" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:260:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:263:18: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:263:44: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:265:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:265:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:266:20: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:267:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_contiguous" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:271:16: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:271:16: error: Expression type contains "Any" (has type "Deque | Any | bool")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:272:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:274:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:274:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:275:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_empty" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:279:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:280:35: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:281:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:281:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:282:20: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:283:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_field" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:287:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:289:63: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:295:25: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- sphinx/ext/napoleon/docstring.py:296:25: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- sphinx/ext/napoleon/docstring.py:303:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:303:22: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:304:47: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:304:47: error: Expression type contains "Any" (has type "Any | dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:304:85: error: Expression type contains "Any" (has type "dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:306:35: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_inline_attribute" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:325:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:326:62: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_returns_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:349:17: error: Expression type contains "Any" (has type "False | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:349:17: error: Expression type contains "Any" (has type "str | False | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:350:21: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:351:51: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:351:51: error: Expression type contains "Any" (has type "Any | dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:351:89: error: Expression type contains "Any" (has type "dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_section_header" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:363:19: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:364:28: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:365:12: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:365:40: error: Expression type contains "Any" (has type "dict[str, (...) -> Untyped]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:366:23: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:367:9: error: Returning Any from function declared to return "str"  [no-any-return]
- sphinx/ext/napoleon/docstring.py:367:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_to_end" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:372:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:372:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:373:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_to_next_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:379:13: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:379:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:380:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_escape_args_and_kwargs" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:390:12: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:390:35: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_get_current_indent" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:507:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:508:15: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:509:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:510:41: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:512:20: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_get_min_indent" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:532:20: error: Condition is always true  [redundant-expr]
- sphinx/ext/napoleon/docstring.py:532:42: error: Right operand of "or" is never evaluated  [unreachable]
- sphinx/ext/napoleon/docstring.py: note: In member "_is_section_header" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:565:19: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:566:45: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:567:22: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:567:44: error: Expression type contains "Any" (has type "dict[str, (...) -> Untyped]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:568:46: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:572:39: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:574:24: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_is_section_break" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:579:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:580:17: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:582:18: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:583:21: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:584:43: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_load_custom_sections" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:587:12: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:588:13: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:588:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:589:31: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:592:21: error: Expression type contains "Any" (has type "dict[str, (...) -> Untyped]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:592:21: error: Untyped indexed-assignment to "_sections" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:595:24: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:596:25: error: Expression type contains "Any" (has type "dict[str, (...) -> Untyped]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:596:25: error: Untyped indexed-assignment to "_sections" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:596:40: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:598:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:599:25: error: Expression type contains "Any" (has type "dict[str, (...) -> Untyped]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:599:25: error: Untyped indexed-assignment to "_sections" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:599:40: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:604:25: error: Expression type contains "Any" (has type "dict[str, (...) -> Untyped]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:604:25: error: Untyped indexed-assignment to "_sections" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:604:40: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:605:29: error: Expression type contains "Any" (has type "dict[str, (...) -> Untyped]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:605:29: error: Expression type contains "Any" (has type "(...) -> Untyped")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:605:48: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:628:33: error: Expression type contains "Any" (has type "dict[str, (...) -> Untyped]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_attributes_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:656:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:663:20: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:664:38: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:664:64: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:674:12: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_examples_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:683:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:685:51: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_keyword_arguments_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:720:12: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_methods_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:732:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:733:34: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:733:60: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_notes_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:741:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:742:56: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_other_parameters_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:745:12: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_parameters_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:754:12: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_raises_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:768:25: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_receives_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:781:12: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_references_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:790:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:791:61: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_returns_section" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:796:21: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:796:41: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:800:16: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:813:20: error: Expression type contains "Any" (has type "str | bool | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:813:30: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_partition_field_on_colon" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:834:9: error: Expression type contains "Any" (has type "(int, str | Any)")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:834:9: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:834:26: error: Expression type contains "Any" (has type "enumerate[str | Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:834:36: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:836:17: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:836:36: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:838:48: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:841:29: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:842:21: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:842:41: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:843:21: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:843:40: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:845:21: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:845:41: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:847:25: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:849:25: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_lookup_annotation" of class "GoogleDocstring":
- sphinx/ext/napoleon/docstring.py:871:12: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:872:16: error: Expression type contains "Any" (has type "False | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:872:67: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:875:31: error: Expression type contains "Any" (has type "Any | dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:875:77: error: Expression type contains "Any" (has type "dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:876:21: error: Expression type contains "Any" (has type "Any | dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:876:36: error: Expression type contains "Any" (has type "Any | dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:877:75: error: Expression type contains "Any" (has type "dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:878:41: error: Expression type contains "Any" (has type "dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:879:41: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:879:56: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:879:73: error: Expression type contains "Any" (has type "Any | dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:880:29: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:881:49: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:881:49: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In function "_recombine_set_tokens":
- sphinx/ext/napoleon/docstring.py:891:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
- sphinx/ext/napoleon/docstring.py:891:5: error: The return type of a generator function should be "Generator" or one of its supertypes  [misc]
- sphinx/ext/napoleon/docstring.py:896:17: error: Usage of untyped name "token" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:896:25: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:900:16: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:900:16: error: Expression has type "Any (unannotated)"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:901:34: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:904:20: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:907:16: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:908:17: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:908:35: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:909:20: error: Expression type contains "Any" (has type "Untyped | None")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:910:21: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:910:39: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:913:16: error: Expression type contains "Any" (has type "Untyped | None")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:914:23: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:917:16: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:917:16: error: Expression has type "Any (unannotated)"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:919:18: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:919:18: error: Expression has type "Any (unannotated)"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:922:19: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:927:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
- sphinx/ext/napoleon/docstring.py:927:5: error: The return type of a generator function should be "Generator" or one of its supertypes  [misc]
- sphinx/ext/napoleon/docstring.py:930:17: error: Usage of untyped name "token" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:930:25: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:934:16: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:934:16: error: Expression has type "Any (unannotated)"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:935:17: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:936:31: error: Call to incomplete function "takewhile_set" in typed context  [no-untyped-call]
- sphinx/ext/napoleon/docstring.py:936:31: note: Type is "def (tokens: Untyped) -> None"
- sphinx/ext/napoleon/docstring.py:936:31: error: "takewhile_set" does not return a value  [func-returns-value]
- sphinx/ext/napoleon/docstring.py:936:31: error: Argument 1 to "join" of "str" has incompatible type "None"; expected "Iterable[str]"  [arg-type]
- sphinx/ext/napoleon/docstring.py:936:45: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:938:23: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:940:5: error: Returning Any from function declared to return "list[str]"  [no-any-return]
- sphinx/ext/napoleon/docstring.py:940:12: error: No overload variant of "list" matches argument type "None"  [call-overload]
- sphinx/ext/napoleon/docstring.py:940:12: note: Possible overload variants:
- sphinx/ext/napoleon/docstring.py:940:12: note:     def [_T] __init__(self) -> list[_T@list]
- sphinx/ext/napoleon/docstring.py:940:12: note:     def [_T] __init__(self, Iterable[_T@list], /) -> list[_T@list]
- sphinx/ext/napoleon/docstring.py:940:12: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-call-overload for more info
- sphinx/ext/napoleon/docstring.py:940:17: error: Call to incomplete function "combine_set" in typed context  [no-untyped-call]
- sphinx/ext/napoleon/docstring.py:940:17: error: "combine_set" does not return a value  [func-returns-value]
- sphinx/ext/napoleon/docstring.py:940:17: note: Type is "def (tokens: Untyped) -> None"
- sphinx/ext/napoleon/docstring.py: note: In function "_tokenize_type_spec":
- sphinx/ext/napoleon/docstring.py:944:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
- sphinx/ext/napoleon/docstring.py:945:33: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:946:13: error: Usage of untyped name "default" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:946:23: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:949:13: error: Usage of untyped name "other" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:949:21: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:951:13: error: No return value expected  [return-value]
- sphinx/ext/napoleon/docstring.py:951:20: error: Expression type contains "Any" (has type "list[Untyped | str]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:951:21: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:951:35: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:953:13: error: No return value expected  [return-value]
- sphinx/ext/napoleon/docstring.py:953:20: error: Expression type contains "Any" (has type "list[Any (unannotated)]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:953:21: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:955:14: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:957:26: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:958:21: error: Call to incomplete function "postprocess" in typed context  [no-untyped-call]
- sphinx/ext/napoleon/docstring.py:958:21: note: Type is "def (item: Untyped) -> None"
- sphinx/ext/napoleon/docstring.py:958:21: error: "postprocess" does not return a value  [func-returns-value]
- sphinx/ext/napoleon/docstring.py:958:21: error: "None" has no attribute "__iter__" (not iterable)  [attr-defined]
- sphinx/ext/napoleon/docstring.py:958:33: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In function "_token_type":
- sphinx/ext/napoleon/docstring.py:965:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
- sphinx/ext/napoleon/docstring.py:968:21: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:970:13: error: No return value expected  [return-value]
- sphinx/ext/napoleon/docstring.py:972:13: error: No return value expected  [return-value]
- sphinx/ext/napoleon/docstring.py:977:13: error: Call to incomplete function "is_numeric" in typed context  [no-untyped-call]
- sphinx/ext/napoleon/docstring.py:977:13: note: Type is "def (token: Untyped) -> None"
- sphinx/ext/napoleon/docstring.py:977:13: error: "is_numeric" does not return a value  [func-returns-value]
- sphinx/ext/napoleon/docstring.py:977:13: error: Left operand of "or" is always false  [redundant-expr]
- sphinx/ext/napoleon/docstring.py: note: In function "_convert_numpy_type_spec":
- sphinx/ext/napoleon/docstring.py:1026:8: error: Expression type contains "Any" (has type "dict[Untyped, Untyped] | None")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1029:5: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
- sphinx/ext/napoleon/docstring.py:1030:9: error: Usage of untyped name "translation" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:1030:23: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1030:40: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1030:45: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1033:12: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1033:12: error: Expression type contains "Any" (has type "False | Any (unannotated)")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1033:43: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1033:43: error: Expression has type "Any (unannotated)"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1034:13: error: Usage of untyped name "default_translation" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:1035:14: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1035:14: error: Expression has type "Any (unannotated)"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1035:39: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1035:39: error: Expression has type "Any (unannotated)"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1037:13: error: Usage of untyped name "default_translation" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:1039:30: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1040:13: error: Usage of untyped name "translation" in typed context  [no-untyped-usage]
- sphinx/ext/napoleon/docstring.py:1040:27: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1040:27: error: Expression has type "Any (unannotated)"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1040:49: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1042:9: error: Returning Any from function declared to return "None"  [no-any-return]
- sphinx/ext/napoleon/docstring.py:1042:16: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1051:18: error: Expression type contains "Any" (has type "dict[str, (x: Untyped) -> str | (x: Untyped) -> None | (x: Untyped) -> Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1052:9: error: Expression type contains "Any" (has type "(str, (x: Untyped) -> str)")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1052:20: error: Expression type contains "Any" (has type "(x: Untyped) -> str")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1053:9: error: Expression type contains "Any" (has type "(str, (x: Untyped) -> None)")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1053:16: error: Expression type contains "Any" (has type "(x: Untyped) -> None")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1053:26: error: Call to incomplete function "convert_obj" in typed context  [no-untyped-call]
- sphinx/ext/napoleon/docstring.py:1053:26: note: Type is "def (obj: Untyped, translations: Untyped, default_translation: Untyped) -> None"
- sphinx/ext/napoleon/docstring.py:1053:41: error: Expression type contains "Any" (has type "dict[Untyped, Untyped]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1054:9: error: Expression type contains "Any" (has type "(str, (x: Untyped) -> str)")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1054:20: error: Expression type contains "Any" (has type "(x: Untyped) -> str")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1055:9: error: Expression type contains "Any" (has type "(str, (x: Untyped) -> Any)")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1055:22: error: Expression type contains "Any" (has type "(x: Untyped) -> Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1056:9: error: Expression type contains "Any" (has type "(str, (x: Untyped) -> Any)")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1056:22: error: Expression type contains "Any" (has type "(x: Untyped) -> Any")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1059:25: error: Expression type contains "Any" (has type "dict[str, (x: Untyped) -> str | (x: Untyped) -> None | (x: Untyped) -> Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1059:25: note: Error code changed to no-any-expr; "type: ignore" comment may be out of date
- sphinx/ext/napoleon/docstring.py: note: In member "__init__" of class "NumpyDocstring":
- sphinx/ext/napoleon/docstring.py:1158:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/napoleon/docstring.py:1169:62: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1169:67: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_get_location" of class "NumpyDocstring":
- sphinx/ext/napoleon/docstring.py:1173:40: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1173:54: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1178:12: error: Condition is always false  [redundant-expr]
- sphinx/ext/napoleon/docstring.py:1179:13: error: Statement is unreachable  [unreachable]
- sphinx/ext/napoleon/docstring.py: note: In member "_escape_args_and_kwargs" of class "NumpyDocstring":
- sphinx/ext/napoleon/docstring.py:1185:5: error: Method "_escape_args_and_kwargs" is not using @override but is overriding a method in class "sphinx.ext.napoleon.docstring.GoogleDocstring"  [explicit-override]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_field" of class "NumpyDocstring":
- sphinx/ext/napoleon/docstring.py:1193:5: error: Method "_consume_field" is not using @override but is overriding a method in class "sphinx.ext.napoleon.docstring.GoogleDocstring"  [explicit-override]
- sphinx/ext/napoleon/docstring.py:1195:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1197:62: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1199:28: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1209:12: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1210:21: error: Call to incomplete function "_convert_numpy_type_spec" in typed context  [no-untyped-call]
- sphinx/ext/napoleon/docstring.py:1210:21: note: Type is "def (_type: str, location: str | None =, translations: dict[Untyped, Untyped] | None =) -> str"
- sphinx/ext/napoleon/docstring.py:1213:30: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1213:30: error: Expression type contains "Any" (has type "Any | dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1213:68: error: Expression type contains "Any" (has type "dict[Any, Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1216:35: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_returns_section" of class "NumpyDocstring":
- sphinx/ext/napoleon/docstring.py:1221:5: error: Method "_consume_returns_section" is not using @override but is overriding a method in class "sphinx.ext.napoleon.docstring.GoogleDocstring"  [explicit-override]
- sphinx/ext/napoleon/docstring.py: note: In member "_consume_section_header" of class "NumpyDocstring":
- sphinx/ext/napoleon/docstring.py:1225:5: error: Method "_consume_section_header" is not using @override but is overriding a method in class "sphinx.ext.napoleon.docstring.GoogleDocstring"  [explicit-override]
- sphinx/ext/napoleon/docstring.py:1226:19: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1227:39: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1230:9: error: Returning Any from function declared to return "str"  [no-any-return]
- sphinx/ext/napoleon/docstring.py:1230:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_is_section_break" of class "NumpyDocstring":
- sphinx/ext/napoleon/docstring.py:1232:5: error: Method "_is_section_break" is not using @override but is overriding a method in class "sphinx.ext.napoleon.docstring.GoogleDocstring"  [explicit-override]
- sphinx/ext/napoleon/docstring.py:1233:24: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1233:44: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1234:17: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1236:29: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1236:30: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1236:37: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1237:18: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1238:21: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1239:43: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_is_section_header" of class "NumpyDocstring":
- sphinx/ext/napoleon/docstring.py:1241:5: error: Method "_is_section_header" is not using @override but is overriding a method in class "sphinx.ext.napoleon.docstring.GoogleDocstring"  [explicit-override]
- sphinx/ext/napoleon/docstring.py:1242:30: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1242:50: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1243:19: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1244:12: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1244:23: error: Expression type contains "Any" (has type "dict[str, (...) -> Untyped]")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1244:53: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1247:39: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1249:24: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_see_also_section" of class "NumpyDocstring":
- sphinx/ext/napoleon/docstring.py:1253:5: error: Method "_parse_see_also_section" is not using @override but is overriding a method in class "sphinx.ext.napoleon.docstring.GoogleDocstring"  [explicit-override]
- sphinx/ext/napoleon/docstring.py: note: In function "_parse_numpydoc_see_also_section":
- sphinx/ext/napoleon/docstring.py:1280:28: error: Incompatible return value type (got "(str | None, None)", expected "(str, str | None)")  [return-value]
- sphinx/ext/napoleon/docstring.py:1282:28: error: Incompatible return value type (got "(str | None, str)", expected "(str, str | None)")  [return-value]
- sphinx/ext/napoleon/docstring.py:1292:9: error: Function is missing a type annotation for one or more arguments  [no-untyped-def]
- sphinx/ext/napoleon/docstring.py:1293:28: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1294:16: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1294:40: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1295:17: error: No return value expected  [return-value]
- sphinx/ext/napoleon/docstring.py:1295:24: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1295:24: error: Expression type contains "Any" (has type "(Untyped, Untyped, Untyped)")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1295:30: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1295:43: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1297:26: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1297:43: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1297:49: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1298:42: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1300:17: error: No return value expected  [return-value]
- sphinx/ext/napoleon/docstring.py:1300:24: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1300:24: error: Expression type contains "Any" (has type "(Any, Untyped, None)")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1300:36: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1306:13: error: No return value expected  [return-value]
- sphinx/ext/napoleon/docstring.py:1306:20: error: Expression type contains "Any" (has type "(str | None, Untyped, str | None)")  [no-any-expr]
- sphinx/ext/napoleon/docstring.py:1306:30: error: Expression has type "Untyped"  [no-any-expr]
- sphinx/ext/napoleon/docstring.py: note: In member "_parse_numpydoc_see_also_section" of class "NumpyDocstring":
- sphinx/ext/napoleon/docstring.py:1340:13: error: Call to incomplete function "translate" in typed context  [no-untyped-call]
- sphinx/ext/napoleon/docstring.py:1340:13: note: Type is "def (func: Untyped, description: Untyped, role: Untyped) -> None"
- sphinx/ext/napoleon/docstring.py:1340:13: error: "translate" does not return a value  [func-returns-value]
- sphinx/ext/napoleon/docstring.py:1340:13: error: list comprehension has incompatible type list[None]; expected list[(str, list[str], str | None)]  [misc]
- sphinx/ext/napoleon/__init__.py: note: In member "__init__" of class "Config":
- sphinx/ext/napoleon/__init__.py:284:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/napoleon/__init__.py:287:9: error: Expression type contains "Any" (has type "(str, Any)")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:287:9: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:287:28: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:287:28: error: Expression type contains "Any" (has type "dict_items[str, Any]")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:288:33: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py: note: In function "setup":
- sphinx/ext/napoleon/__init__.py:291:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/napoleon/__init__.py:313:8: error: Condition is always false  [redundant-expr]
- sphinx/ext/napoleon/__init__.py:315:9: error: Statement is unreachable  [unreachable]
- sphinx/ext/napoleon/__init__.py:320:5: error: Call to incomplete function "connect" of "Sphinx" in typed context  [no-untyped-call]
- sphinx/ext/napoleon/__init__.py:320:5: note: Type is "def (event: str, callback: def (*Untyped, **Untyped) -> Untyped, priority: int =) -> int"
- sphinx/ext/napoleon/__init__.py:320:46: error: Expression type contains "Any" (has type "(app: Sphinx, what: str, name: str, obj: Any, options: Any, lines: list[str]) -> None")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:321:5: error: Call to incomplete function "connect" of "Sphinx" in typed context  [no-untyped-call]
- sphinx/ext/napoleon/__init__.py:321:5: note: Type is "def (event: str, callback: def (*Untyped, **Untyped) -> Untyped, priority: int =) -> int"
- sphinx/ext/napoleon/__init__.py:321:40: error: Expression type contains "Any" (has type "(app: Sphinx, what: str, name: str, obj: Any, skip: bool, options: Any) -> bool | None")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:325:12: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py: note: In function "_process_docstring":
- sphinx/ext/napoleon/__init__.py:342:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/napoleon/__init__.py:381:8: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:383:36: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:383:41: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:385:8: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:387:37: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:387:42: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py: note: In function "_skip_member":
- sphinx/ext/napoleon/__init__.py:392:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/napoleon/__init__.py:435:15: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:435:23: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:437:8: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:437:34: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:440:24: error: Expression type contains "Any" (has type "Any | str")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:440:32: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:441:30: error: Expression type contains "Any" (has type "Any | str")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:441:30: error: Expression type contains "Any" (has type "Any | (str, str, str)")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:441:30: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:442:16: error: Expression type contains "Any" (has type "Any | str")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:444:31: error: Expression type contains "Any" (has type "Any | str")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:448:55: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:449:36: error: Expression type contains "Any" (has type "Any | str")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:449:36: error: Expression type contains "Any" (has type "Any | list[str]")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:450:48: error: Expression type contains "Any" (has type overloaded function)  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:450:57: error: Expression type contains "Any" (has type "Any | list[str]")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:452:31: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:452:46: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:452:63: error: Expression type contains "Any" (has type "Any | str")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:456:37: error: "cls" has type Module which does not implement __bool__ or __len__ so it could always be true in boolean context  [truthy-bool]
- sphinx/ext/napoleon/__init__.py:456:37: note: Error code "truthy-bool" not covered by "type: ignore" comment
- sphinx/ext/napoleon/__init__.py:457:45: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:467:24: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:468:27: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:469:27: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:470:17: error: Expression type contains "Any" (has type "Any | False")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:470:18: error: Expression type contains "Any" (has type "False | Any")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:470:33: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:471:22: error: Expression type contains "Any" (has type "False | Any")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:471:37: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:472:22: error: Expression type contains "Any" (has type "False | Any")  [no-any-expr]
- sphinx/ext/napoleon/__init__.py:472:34: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:71:1: error: Module "sphinx.ext.autodoc.directive" does not explicitly export attribute "Options"  [attr-defined]
- sphinx/ext/autosummary/__init__.py:76:1: error: Module "sphinx.pycode" does not explicitly export attribute "PycodeError"  [attr-defined]
- sphinx/ext/autosummary/__init__.py:97:5: error: Module "sphinx.writers.html" does not explicitly export attribute "HTML5Translator"  [attr-defined]
- sphinx/ext/autosummary/__init__.py: note: In function "autosummary_table_visit_html":
- sphinx/ext/autosummary/__init__.py:135:16: error: Conversion of type "docutils.nodes.tbody" to type "list[docutils.nodes.row]" may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to "object" first.  [bad-cast]
- sphinx/ext/autosummary/__init__.py: note: In function "get_documenter":
- sphinx/ext/autosummary/__init__.py:171:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/autosummary/__init__.py:181:25: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:186:8: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:187:46: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:191:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:192:54: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:198:43: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py: note: In member "run" of class "Autosummary":
- sphinx/ext/autosummary/__init__.py:227:5: error: Method "run" is not using @override but is overriding a method in class "docutils.parsers.rst.Directive"  [explicit-override]
- sphinx/ext/autosummary/__init__.py:236:25: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:239:27: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:239:27: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:241:32: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:242:28: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:244:29: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:245:42: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:262:38: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:265:38: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:265:38: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:269:29: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:269:59: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py: note: In member "import_by_name" of class "Autosummary":
- sphinx/ext/autosummary/__init__.py:275:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/autosummary/__init__.py:278:19: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:280:24: error: Expression type contains "Any" (has type "(str, Any, Any, str)")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:284:28: error: Expression type contains "Any" (has type "(str, Any, Any, str)")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:291:48: error: Expression type contains "Any" (has type "tuple[Any, ...]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:291:48: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py: note: In member "create_documenter" of class "Autosummary":
- sphinx/ext/autosummary/__init__.py:293:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/autosummary/__init__.py:300:38: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:300:43: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py: note: In member "get_items" of class "Autosummary":
- sphinx/ext/autosummary/__init__.py:320:51: error: Expression type contains "Any" (has type "(str, Any, Any, str)")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:320:51: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:329:31: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:335:63: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:335:68: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:379:39: error: Expression type contains "Any" (has type "list[Untyped]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py: note: In member "get_table" of class "Autosummary":
- sphinx/ext/autosummary/__init__.py:394:46: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:422:38: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py: note: In function "_cleanup_signature":
- sphinx/ext/autosummary/__init__.py:443:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:446:16: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py: note: In function "mangle_signature":
- sphinx/ext/autosummary/__init__.py:494:24: error: Argument 2 to "insert" of "list" has incompatible type "str | None"; expected "str"  [arg-type]
- sphinx/ext/autosummary/__init__.py:495:13: error: Value of type "str | None" is not indexable  [index]
- sphinx/ext/autosummary/__init__.py: note: In function "extract_summary":
- sphinx/ext/autosummary/__init__.py:516:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/autosummary/__init__.py:518:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/autosummary/__init__.py:520:33: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:542:23: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:551:21: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:552:16: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:553:23: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:553:23: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:556:32: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:557:37: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:559:35: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py: note: In function "get_import_prefixes_from_env":
- sphinx/ext/autosummary/__init__.py:618:18: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:618:18: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:619:8: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:620:28: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:622:17: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:622:17: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:623:8: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:624:12: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:625:32: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:625:51: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:627:32: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py: note: In function "import_by_name":
- sphinx/ext/autosummary/__init__.py:632:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/autosummary/__init__.py:646:36: error: Expression type contains "Any" (has type "(Any, Any, str)")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:646:36: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:647:20: error: Expression type contains "Any" (has type "(str, Any, Any, str)")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:647:35: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:647:40: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py: note: At top level:
- sphinx/ext/autosummary/__init__.py:649:26: error: Name "prefixed_name" may be undefined  [possibly-undefined]
- sphinx/ext/autosummary/__init__.py:651:26: error: Name "prefixed_name" may be undefined  [possibly-undefined]
- sphinx/ext/autosummary/__init__.py: note: In function "_import_by_name":
- sphinx/ext/autosummary/__init__.py:658:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/autosummary/__init__.py:669:23: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:670:24: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:670:24: error: Expression type contains "Any" (has type "(Any, Any, str)")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:670:32: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:670:54: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:702:32: error: Expression type contains "Any" (has type "tuple[Any, ...]")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py: note: In function "import_ivar_by_name":
- sphinx/ext/autosummary/__init__.py:705:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- sphinx/ext/autosummary/__init__.py:712:43: error: Expression type contains "Any" (has type "(str, Any, Any, str)")  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:712:43: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:716:36: error: Expression has type "Any"  [no-any-expr]
- sphinx/ext/autosummary/__init__.py:718:34: error: Expression has type "Any"  [no-any-expr]

... (truncated 3316 lines) ...

dragonchain (https://github.com/dragonchain/dragonchain)
- dragonchain/lib/authorization.py:319:58: error: Argument 1 to "get_supported_hmac_hash" has incompatible type "str | None | Any (from error)"; expected "str"  [arg-type]
- dragonchain/lib/authorization.py:342:56: error: Argument 1 to "get_api_key" has incompatible type "str | None | Any (from error)"; expected "str"  [arg-type]
- dragonchain/lib/authorization.py:347:57: error: Argument 1 to "should_rate_limit" has incompatible type "str | None | Any (from error)"; expected "str"  [arg-type]

nox (https://github.com/wntrblm/nox)
- nox/virtualenv.py: note: In member "_resolved_interpreter" of class "VirtualEnv":
- nox/virtualenv.py:423:26: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]

mkdocs (https://github.com/mkdocs/mkdocs)
- mkdocs/utils/meta.py:67:30: error: Argument 1 to "load" has incompatible type "str | None"; expected "str | bytes | SupportsRead[str] | SupportsRead[bytes]"  [arg-type]
- mkdocs/utils/meta.py:86:19: error: Item "None" of "str | None" has no attribute "lower"  [union-attr]
- mkdocs/utils/meta.py:86:19: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- mkdocs/utils/meta.py:87:21: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- mkdocs/utils/meta.py:96:43: error: Item "None" of "str | None" has no attribute "strip"  [union-attr]
- mkdocs/livereload/__init__.py:258:29: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
+ mkdocs/tests/build_tests.py:344:25: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- mkdocs/tests/build_tests.py:809:53: error: Argument 2 to "Path" has incompatible type "str | None"; expected "str | PathLike[str]"  [arg-type]

pwndbg (https://github.com/pwndbg/pwndbg)
- pwndbg/gdblib/dt.py:40:5: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- pwndbg/gdblib/dt.py:40:14: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- pwndbg/gdblib/dt.py:41:16: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- pwndbg/gdblib/dt.py:43:12: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- pwndbg/gdblib/dt.py:43:12: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- pwndbg/gdblib/dt.py:45:14: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- pwndbg/gdblib/dt.py:45:14: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- pwndbg/gdblib/dt.py:47:14: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- pwndbg/gdblib/dt.py:47:14: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- pwndbg/gdblib/dt.py:48:21: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- pwndbg/gdblib/dt.py:53:23: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]

tornado (https://github.com/tornadoweb/tornado)
- tornado/httputil.py:925:50: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- tornado/httputil.py: note: In function "split_host_and_port":
- tornado/httputil.py:1040:20: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- tornado/httputil.py:1044:12: error: Incompatible return value type (got "(str | None, int | None)", expected "(str, int | None)")  [return-value]
- tornado/http1connection.py:612:26: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- tornado/http1connection.py:613:23: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- tornado/http1connection.py:613:24: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- tornado/http1connection.py:613:24: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- tornado/http1connection.py:613:29: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- tornado/http1connection.py:613:29: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- tornado/http1connection.py:613:48: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- tornado/http1connection.py:618:45: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- tornado/http1connection.py:618:45: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- tornado/web.py:1726:17: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tornado/web.py:1729:37: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tornado/web.py:1733:12: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tornado/web.py:1733:12: error: Expression has type "Any"  [no-any-expr]
- tornado/web.py:1740:13: error: Expression has type "Any"  [no-any-expr]
- tornado/web.py:1740:25: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- tornado/web.py:1741:24: error: Expression has type "Any"  [no-any-expr]
- tornado/test/web_test.py:410:60: error: Argument 1 to "parsedate_to_datetime" has incompatible type "str | None"; expected "str"  [arg-type]
- tornado/test/web_test.py:3061:60: error: Argument 1 to "parsedate_to_datetime" has incompatible type "str | None"; expected "str"  [arg-type]

werkzeug (https://github.com/pallets/werkzeug)
- src/werkzeug/debug/repr.py: note: In member "__call__" of class "_Helper":
- src/werkzeug/debug/repr.py:70:22: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/werkzeug/debug/repr.py:71:16: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/werkzeug/debug/repr.py:72:21: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/werkzeug/debug/repr.py:72:21: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/werkzeug/debug/repr.py:73:32: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/werkzeug/debug/repr.py:76:20: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/werkzeug/debug/repr.py: note: At top level:
- src/werkzeug/http.py: note: In function "parse_dict_header":
- src/werkzeug/http.py:379:35: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- src/werkzeug/http.py:380:28: error: Item "None" of "str | None" has no attribute "lower"  [union-attr]
- src/werkzeug/http.py: note: In function "parse_options_header":
- src/werkzeug/http.py:500:5: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:500:19: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/werkzeug/http.py:501:16: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:505:14: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:507:12: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:509:18: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:510:45: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:516:28: error: Item "None" of "str | None" has no attribute "lower"  [union-attr]
- src/werkzeug/http.py:516:28: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- src/werkzeug/http.py:532:30: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:535:12: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:535:21: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:537:18: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:539:41: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:543:18: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:544:21: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:544:27: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:544:39: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:544:49: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:546:21: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/http.py:546:27: error: Expression has type "Any"  [no-any-expr]
+ src/werkzeug/http.py:1199:31: error: bad character range f-\\ at position 25  [regex]
+ src/werkzeug/http.py:1199:31: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-regex for more info
+ src/werkzeug/http.py: note: In function "dump_cookie":
+ src/werkzeug/http.py:1306:13: error: Expression type contains "Any" (has type "(m: Untyped) -> bytes")  [no-any-expr]
+ src/werkzeug/http.py:1306:41: error: Expression has type "Any"  [no-any-expr]
+ src/werkzeug/http.py: note: At top level:
- src/werkzeug/sansio/http.py:152:5: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/sansio/http.py:152:19: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/werkzeug/sansio/http.py:153:14: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/sansio/http.py:154:14: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/sansio/http.py:156:16: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/sansio/http.py:159:12: error: Expression type contains "Any" (has type "False | Any")  [no-any-expr]
- src/werkzeug/sansio/http.py:159:16: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/sansio/http.py:159:29: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/sansio/http.py:159:38: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/sansio/http.py:162:42: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/sansio/http.py:165:9: error: Expression type contains "Any" (has type "list[(Any, Any)]")  [no-any-expr]
- src/werkzeug/sansio/http.py:165:20: error: Expression type contains "Any" (has type "(Any, Any)")  [no-any-expr]
- src/werkzeug/sansio/http.py:165:21: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/sansio/http.py:165:25: error: Expression has type "Any"  [no-any-expr]
- src/werkzeug/sansio/http.py:167:16: error: Expression type contains "Any" (has type "list[(Any, Any)]")  [no-any-expr]
+ src/werkzeug/urls.py:41:32: error: Argument 1 to "unquote" has incompatible type "str | None"; expected "str"  [arg-type]
+ src/werkzeug/urls.py:42:29: error: Argument 1 to "next" has incompatible type "Iterator[str | None]"; expected "SupportsNext[str]"  [arg-type]
- src/werkzeug/urls.py:37:17: error: Expression type contains "Any" (has type "Iterator[str | Any]")  [no-any-expr]
- src/werkzeug/urls.py:37:22: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/werkzeug/urls.py:40:9: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/werkzeug/urls.py:40:21: error: Expression type contains "Any" (has type "Iterator[str | Any]")  [no-any-expr]
- src/werkzeug/urls.py:41:32: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/werkzeug/urls.py:42:29: error: Expression type contains "Any" (has type "Iterator[str | Any]")  [no-any-expr]
+ src/werkzeug/sansio/multipart.py:153:20: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- src/werkzeug/routing/rules.py:120:28: error: Argument 1 to "_pythonize" has incompatible type "str | None"; expected "str"  [arg-type]

twine (https://github.com/pypa/twine)
- twine/wininst.py: note: In member "py_version" of class "WinInst":
- twine/wininst.py:25:20: error: Incompatible return value type (got "str | None", expected "str")  [return-value]
- twine/commands/check.py:56:26: error: Item "None" of "str | None" has no attribute "capitalize"  [union-attr]
- twine/commands/check.py:56:26: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- twine/commands/check.py:57:23: error: Item "None" of "str | None" has no attribute "rstrip"  [union-attr]

poetry (https://github.com/python-poetry/poetry)
- src/poetry/config/config.py: note: In member "_get_environment_repositories" of class "Config":
- src/poetry/config/config.py:206:30: error: Item "None" of "str | None" has no attribute "lower"  [union-attr]
- src/poetry/utils/dependency_specification.py: note: In member "parse" of class "RequirementsParser":
- src/poetry/utils/dependency_specification.py:85:42: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- src/poetry/utils/dependency_specification.py: note: In member "_parse_simple" of class "RequirementsParser":
- src/poetry/utils/dependency_specification.py:202:46: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- src/poetry/utils/dependency_specification.py:213:36: error: Incompatible types in assignment (expression has type "str | None", variable has type "str")  [assignment]
- src/poetry/utils/dependency_specification.py:216:50: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- src/poetry/utils/dependency_specification.py:220:38: error: Incompatible types in assignment (expression has type "str | None", target has type "str | bool | dict[str, str | bool] | list[str]")  [assignment]
- src/poetry/utils/dependency_specification.py:224:50: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- src/poetry/puzzle/provider.py:717:51: error: Argument 2 to "match" has incompatible type "str | None"; expected "str"  [arg-type]
- src/poetry/puzzle/provider.py:760:51: error: Argument 2 to "match" has incompatible type "str | None"; expected "str"  [arg-type]
- src/poetry/installation/chooser.py:170:34: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- src/poetry/installation/chooser.py:179:16: error: Expression type contains "Any" (has type "(int, int, int, Any (from unimported type), (int, str | None) | (), int)")  [no-any-expr]
+ src/poetry/installation/chooser.py:179:16: error: Expression type contains "Any" (has type "(int, int, int, Any (from unimported type), (int, str) | (), int)")  [no-any-expr]
- src/poetry/console/application.py:213:37: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/poetry/console/application.py:214:37: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/poetry/console/application.py:214:37: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/poetry/console/application.py:214:38: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/poetry/console/application.py:214:49: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/poetry/console/application.py:214:62: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/poetry/console/application.py:215:25: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/poetry/console/application.py:215:41: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/poetry/console/application.py:216:60: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/poetry/console/application.py:216:66: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/poetry/console/commands/config.py:206:59: error: Argument 1 to "delete_http_password" of "PasswordManager" has incompatible type "str | None"; expected "str"  [arg-type]
- src/poetry/console/commands/config.py:208:56: error: Argument 1 to "delete_pypi_token" of "PasswordManager" has incompatible type "str | None"; expected "str"  [arg-type]
- src/poetry/console/commands/config.py:227:52: error: Argument 1 to "set_http_password" of "PasswordManager" has incompatible type "str | None"; expected "str"  [arg-type]
- src/poetry/console/commands/config.py:236:49: error: Argument 1 to "set_pypi_token" of "PasswordManager" has incompatible type "str | None"; expected "str"  [arg-type]

schemathesis (https://github.com/schemathesis/schemathesis)
- src/schemathesis/loaders.py:58:18: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/schemathesis/loaders.py:58:18: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/schemathesis/loaders.py:58:19: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/schemathesis/loaders.py:58:63: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- src/schemathesis/loaders.py:59:16: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/schemathesis/loaders.py:62:26: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/schemathesis/loaders.py:63:28: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- src/schemathesis/runner/serialization.py:303:15: error: Argument 1 to "get" of "dict" has incompatible type "str | None"; expected "str | str"  [arg-type]

python-chess (https://github.com/niklasf/python-chess)
- chess/__init__.py:3020:40: error: Argument 1 to "index" of "list" has incompatible type "str | None"; expected "str"  [arg-type]
+ chess/engine.py:1329:59: error: Incompatible types in assignment (expression has type "str | None", target has type "str")  [assignment]
+ chess/engine.py:1345:70: error: Argument 6 to "Option" has incompatible type "list[str | None]"; expected "list[str] | None"  [arg-type]
+ chess/engine.py:1346:119: error: Argument 6 to "Option" has incompatible type "list[str | None]"; expected "list[str] | None"  [arg-type]
- chess/engine.py:1323:17: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- chess/engine.py:1323:30: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- chess/engine.py:1324:24: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- chess/engine.py:1324:24: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- chess/engine.py:1324:24: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- chess/engine.py:1324:43: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- chess/engine.py:1324:86: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- chess/engine.py:1325:45: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- chess/engine.py:1326:26: error: Expression type contains "Any" (has type "str | Any | None")  [no-any-expr]
- chess/engine.py:1326:26: error: Expression type contains "Any" (has type "bool | Any")  [no-any-expr]
- chess/engine.py:1327:25: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- chess/engine.py:1327:36: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- chess/engine.py:1328:26: error: Expression type contains "Any" (has type "str | Any | None")  [no-any-expr]
- chess/engine.py:1329:38: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- chess/engine.py:1329:59: error: Expression type contains "Any" (has type "str | Any")  [no-any-expr]
- chess/engine.py:1345:70: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- chess/engine.py:1346:119: error: Expression type contains "Any" (has type "list[str | Any]")  [no-any-expr]
- chess/pgn.py: note: In member "arrows" of class "GameNode":
- chess/pgn.py:508:26: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- chess/pgn.py: note: In member "clock" of class "GameNode":
- chess/pgn.py:553:20: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- chess/pgn.py:553:55: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- chess/pgn.py:553:92: error: Argument 1 to "float" has incompatible type "str | None"; expected "SupportsFloat | SupportsIndex | str | Buffer"  [arg-type]
- chess/pgn.py: note: In member "emt" of class "GameNode":
- chess/pgn.py:587:20: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- chess/pgn.py:587:55: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- chess/pgn.py:587:92: error: Argument 1 to "float" has incompatible type "str | None"; expected "SupportsFloat | SupportsIndex | str | Buffer"  [arg-type]
- chess/pgn.py:1599:39: error: Invalid index type "str | None" for "Headers"; expected type "str"  [index]
- chess/pgn.py:1599:39: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-index for more info
- chess/pgn.py:1599:61: error: Incompatible types in assignment (expression has type "str | None", target has type "str")  [assignment]

ignite (https://github.com/pytorch/ignite)
+ ignite/distributed/comp_models/native.py:511:43: error: Argument 2 to "search" has incompatible type "str | tuple[str | None, ...] | None"; expected "str"  [arg-type]
- ignite/distributed/comp_models/native.py:508:9: error: Expression has type "Any"  [no-any-expr]
- ignite/distributed/comp_models/native.py:508:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- ignite/distributed/comp_models/native.py:511:43: error: Expression has type "Any"  [no-any-expr]
- ignite/distributed/comp_models/native.py:514:20: error: Expression has type "Any"  [no-any-expr]
- ignite/distributed/comp_models/native.py:515:21: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- ignite/distributed/comp_models/native.py:515:44: error: Expression has type "Any"  [no-any-expr]
+ ignite/distributed/comp_models/native.py:552:16: error: Incompatible return value type (got "list[str | tuple[str | None, ...]]", expected "list[str]")  [return-value]
- ignite/distributed/comp_models/native.py:550:17: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- ignite/distributed/comp_models/native.py:552:16: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]

pip (https://github.com/pypa/pip)
+ src/pip/_vendor/distlib/wheel.py:208: error: INTERNAL ERROR -- Please try using mypy 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.3.0+dev.06df2750e6ac65c246e1ec0d458fa311f5298072
+ src/pip/_vendor/distlib/wheel.py:208: : note: use --pdb to drop into pdb
- src/pip/_internal/utils/encoding.py: note: In function "auto_decode":
- src/pip/_internal/utils/encoding.py:32:24: error: Item "None" of "bytes | None" has no attribute "decode"  [union-attr]
- src/pip/_internal/utils/encoding.py:32:24: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-union-attr for more info
- src/pip/_internal/utils/compatibility_tags.py: note: In function "_mac_platforms":
- src/pip/_internal/utils/compatibility_tags.py:30:28: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
- src/pip/_internal/utils/compatibility_tags.py:30:40: error: Argument 1 to "int" has incompatible type "str | None"; expected "str | Buffer | SupportsInt | SupportsIndex | SupportsTrunc"  [arg-type]
+ 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 102, in main
+     res, messages, blockers = run_build(sources, options, fscache, t0, stdout, stderr)
+   File "/main.py", line 206, in run_build
+     res = build.build(sources, options, None, flush_errors, fscache, stdout, stderr)
+   File "/build.py", line 194, in build
+     result = _build(
+   File "/build.py", line 270, in _build
+     graph = dispatch(sources, manager, stdout)
+   File "/build.py", line 3072, in dispatch
+     process_graph(graph, manager)
+   File "/build.py", line 3472, in process_graph
+     process_stale_scc(graph, scc, manager)
+   File "/build.py", line 3573, in process_stale_scc
+     graph[id].type_check_first_pass()
+   File "/build.py", line 2439, in type_check_first_pass
+     self.type_checker().check_first_pass()
+   File "/checker.py", line 487, in check_first_pass
+     self.accept(d)
+   File "/checker.py", line 597, in accept
+     stmt.accept(self)
+   File "/nodes.py", line 1147, in accept
+     return visitor.visit_class_def(self)
+   File "/checker.py", line 2513, in visit_class_def
+     self.accept(defn.defs)
+   File "/checker.py", line 597, in accept
+     stmt.accept(self)
+   File "/nodes.py", line 1228, in accept
+     return visitor.visit_block(self)
+   File "/checker.py", line 2969, in visit_block
+     self.accept(s)
+   File "/checker.py", line 597, in accept
+     stmt.accept(self)
+   File "/nodes.py", line 792, in accept
+     return visitor.visit_func_def(self)
+   File "/checker.py", line 1106, in visit_func_def
+     self._visit_func_def(defn)
+   File "/checker.py", line 1110, in _visit_func_def
+     self.check_func_item(defn, name=defn.name)
+   File "/checker.py", line 1183, in check_func_item
+     self.check_func_def(defn, typ, name, allow_empty)
+   File "/checker.py", line 1497, in check_func_def
+     self.accept(item.body)
+   File "/checker.py", line 597, in accept
+     stmt.accept(self)
+   File "/nodes.py", line 1228, in accept
+     return visitor.visit_block(self)
+   File "/checker.py", line 2969, in visit_block
+     self.accept(s)
+   File "/checker.py", line 597, in accept
+     stmt.accept(self)
+   File "/nodes.py", line 1496, in accept
+     return visitor.visit_if_stmt(self)
+   File "/checker.py", line 4720, in visit_if_stmt
+     self.accept(s.else_body)
+   File "/checker.py", line 597, in accept
+     stmt.accept(self)
+   File "/nodes.py", line 1228, in accept
+     return visitor.visit_block(self)
+   File "/checker.py", line 2969, in visit_block
+     self.accept(s)
+   File "/checker.py", line 597, in accept
+     stmt.accept(self)
+   File "/nodes.py", line 1496, in accept
+     return visitor.visit_if_stmt(self)
+   File "/checker.py", line 4720, in visit_if_stmt
+     self.accept(s.else_body)
+   File "/checker.py", line 597, in accept
+     stmt.accept(self)
+   File "/nodes.py", line 1228, in accept
+     return visitor.visit_block(self)
+   File "/checker.py", line 2969, in visit_block
+     self.accept(s)
+   File "/checker.py", line 597, in accept
+     stmt.accept(self)
+   File "/nodes.py", line 1315, in accept
+     return visitor.visit_assignment_stmt(self)
+   File "/checker.py", line 3032, in visit_assignment_stmt
+     self.check_assignment(
+   File "/checker.py", line 3220, in check_assignment
+     rvalue_type = self.check_simple_assignment(lvalue_type, rvalue, context=rvalue)
+   File "/checker.py", line 4307, in check_simple_assignment
+     rvalue_type = self.expr_checker.accept(
+   File "/checkexpr.py", line 5606, in accept
+     typ = node.accept(self)
+   File "/nodes.py", line 1911, in accept
+     return visitor.visit_call_expr(self)
+   File "/checkexpr.py", line 463, in visit_call_expr
+     return self.visit_call_expr_inner(e, allow_none_return=allow_none_return)
+   File "/checkexpr.py", line 668, in visit_call_expr_inner
+     ret_type = self.check_call_expr_with_callee_type(
+   File "/checkexpr.py", line 1511, in check_call_expr_with_callee_type
+     ret_type, callee_type = self.check_call(
+   File "/checkexpr.py", line 1616, in check_call
+     return self.check_overload_call(
+   File "/checkexpr.py", line 2703, in check_overload_call
+     inferred_result = self.infer_overload_return_type(
+   File "/checkexpr.py", line 2864, in infer_overload_return_type
+     ret_type, infer_type = self.check_call(
+   File "/checkexpr.py", line 1605, in check_call
+     return self.check_callable_call(
+   File "/checkexpr.py", line 1760, in check_callable_call
+     callee = self.infer_function_type_arguments_using_context(callee, context)
+   File "/checkexpr.py", line 2044, in infer_function_type_arguments_using_context
+     args = infer_type_arguments(callable.variables, ret_type, erased_ctx)
+   File "/infer.py", line 70, in infer_type_arguments
+     constraints = infer_constraints(template, actual, SUPERTYPE_OF if is_supertype else SUBTYPE_OF)
+   File "/constraints.py", line 295, in infer_constraints
+     res = _infer_constraints(template, actual, direction, skip_neg_op)
+   File "/constraints.py", line 416, in _infer_constraints
+     return template.accept(ConstraintBuilderVisitor(actual, direction, skip_neg_op))
+   File "/types.py", line 1589, in accept
+     return visitor.visit_instance(self)
+   File "/constraints.py", line 773, in visit_instance
+     actual = actual.as_anonymous().fallback
+   File "/types.py", line 2716, in as_anonymous
+     assert self.fallback.type.typeddict_type is not None
+ AssertionError: 
- src/pip/_internal/exceptions.py: note: In member "__repr__" of class "DiagnosticPipError":
- src/pip/_internal/exceptions.py:104:5: error: Method "__repr__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/exceptions.py: note: In member "__str__" of class "NoneMetadataError":
- src/pip/_internal/exceptions.py:247:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/exceptions.py: note: In member "__str__" of class "UserInstallationInvalid":
- src/pip/_internal/exceptions.py:256:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/exceptions.py: note: In member "__str__" of class "InvalidSchemeCombination":
- src/pip/_internal/exceptions.py:261:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/exceptions.py:262:27: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/exceptions.py:262:32: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/exceptions.py:262:44: error: Expression type contains "Any" (has type "tuple[Any, ...]")  [no-any-expr]
- src/pip/_internal/exceptions.py:263:16: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/exceptions.py:263:43: error: Expression type contains "Any" (has type "tuple[Any, ...]")  [no-any-expr]
- src/pip/_internal/exceptions.py: note: In member "__str__" of class "NetworkConnectionError":
- src/pip/_internal/exceptions.py:315:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/exceptions.py: note: In member "__str__" of class "InvalidWheel":
- src/pip/_internal/exceptions.py:334:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/exceptions.py: note: In member "__str__" of class "MetadataInconsistent":
- src/pip/_internal/exceptions.py:354:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/exceptions.py: note: In member "__str__" of class "InstallationSubprocessError":
- src/pip/_internal/exceptions.py:398:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/exceptions.py: note: In member "__str__" of class "MetadataGenerationFailed":
- src/pip/_internal/exceptions.py:417:5: error: Method "__str__" is not using @override but is overriding a method in class "pip._internal.exceptions.InstallationSubprocessError"  [explicit-override]
- src/pip/_internal/exceptions.py: note: In member "__str__" of class "HashErrors":
- src/pip/_internal/exceptions.py:430:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/exceptions.py: note: In member "__str__" of class "HashError":
- src/pip/_internal/exceptions.py:477:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/exceptions.py: note: In member "body" of class "HashMissing":
- src/pip/_internal/exceptions.py:533:5: error: Method "body" is not using @override but is overriding a method in class "pip._internal.exceptions.HashError"  [explicit-override]
- src/pip/_internal/exceptions.py:543:17: error: Expression type contains "Any" (has type "Link | None | Any")  [no-any-expr]
- src/pip/_internal/exceptions.py:547:22: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- src/pip/_internal/exceptions.py:550:13: error: Expression type contains "Any" (has type "Link | None | Any")  [no-any-expr]
- src/pip/_internal/exceptions.py:550:13: error: Expression type contains "Any" (has type "Link | Any | str")  [no-any-expr]
- src/pip/_internal/exceptions.py: note: In member "body" of class "HashMismatch":
- src/pip/_internal/exceptions.py:593:5: error: Method "body" is not using @override but is overriding a method in class "pip._internal.exceptions.HashError"  [explicit-override]
- src/pip/_internal/exceptions.py: note: In member "__str__" of class "ConfigurationFileCouldNotBeLoaded":
- src/pip/_internal/exceptions.py:642:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/utils/wheel.py: note: In function "wheel_version":
- src/pip/_internal/utils/wheel.py:105:15: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/wheel.py:108:31: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/wheel.py:110:32: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/deprecation.py:20:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/deprecation.py: note: In function "_showwarning":
- src/pip/_internal/utils/deprecation.py:33:12: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/deprecation.py: note: In function "install_warning_logger":
- src/pip/_internal/utils/deprecation.py:50:8: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/models/wheel.py: note: In member "__init__" of class "Wheel":
- src/pip/_internal/models/wheel.py:30:21: error: Item "None" of "str | None" has no attribute "replace"  [union-attr]
- src/pip/_internal/models/wheel.py:33:24: error: Item "None" of "str | None" has no attribute "replace"  [union-attr]
- src/pip/_internal/models/wheel.py:35:27: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- src/pip/_internal/models/wheel.py:36:21: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- src/pip/_internal/models/wheel.py:37:22: error: Item "None" of "str | None" has no attribute "split"  [union-attr]
- src/pip/_internal/models/format_control.py: note: In member "__eq__" of class "FormatControl":
- src/pip/_internal/models/format_control.py:26:5: error: Method "__eq__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/models/format_control.py:33:20: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/models/format_control.py:33:40: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/models/format_control.py: note: In member "__repr__" of class "FormatControl":
- src/pip/_internal/models/format_control.py:35:5: error: Method "__repr__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/locations/base.py:79:2: error: Expression type contains "Any" (has type "[_T] ((...) -> _T) -> _lru_cache_wrapper[_T]")  [no-any-expr]
- src/pip/_internal/locations/base.py: note: In function "is_osx_framework":
- src/pip/_internal/locations/base.py:81:17: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_sysconfig.py:26:25: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- src/pip/_internal/locations/_sysconfig.py: note: In function "_infer_prefix":
- src/pip/_internal/locations/_sysconfig.py:69:8: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- src/pip/_internal/locations/_sysconfig.py:70:16: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_sysconfig.py: note: In function "_infer_user":
- src/pip/_internal/locations/_sysconfig.py:88:8: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- src/pip/_internal/locations/_sysconfig.py:89:16: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_sysconfig.py: note: In function "_infer_home":
- src/pip/_internal/locations/_sysconfig.py:103:8: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- src/pip/_internal/locations/_sysconfig.py:104:16: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_sysconfig.py: note: At top level:
- src/pip/_internal/locations/_sysconfig.py:120:4: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_sysconfig.py: note: In function "get_scheme":
- src/pip/_internal/locations/_sysconfig.py:196:39: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_distutils.py: note: In function "distutils_scheme":
- src/pip/_internal/locations/_distutils.py:59:21: error: "find_config_files" of "Distribution" does not return a value  [func-returns-value]
- src/pip/_internal/locations/_distutils.py:62:56: error: "None" has no attribute "__iter__" (not iterable)  [attr-defined]
- src/pip/_internal/locations/_distutils.py:83:9: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:83:23: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:91:9: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:91:23: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:97:22: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:100:9: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:109:29: error: Expression type contains "Any" (has type "(Any, Any)")  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:109:29: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:109:48: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:109:64: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:109:64: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:110:13: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:110:52: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/_distutils.py:112:12: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: In function "_should_use_sysconfig":
- src/pip/_internal/locations/__init__.py:57:17: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: In function "_looks_like_bpo_44860":
- src/pip/_internal/locations/__init__.py:84:29: error: Expression type contains "Any" (has type "dict[str, dict[Any, Any]]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py:84:29: error: Expression type contains "Any" (has type "dict[Any, Any]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py:84:29: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py:87:12: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: At top level:
- src/pip/_internal/locations/__init__.py:100:2: error: Expression type contains "Any" (has type "[_T] ((...) -> _T) -> _lru_cache_wrapper[_T]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: In function "_looks_like_red_hat_lib":
- src/pip/_internal/locations/__init__.py:109:14: error: Expression type contains "Any" (has type "dict[str, dict[Any, Any]]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py:110:57: error: Expression type contains "Any" (has type "dict[str, dict[Any, Any]]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py:110:57: error: Expression type contains "Any" (has type "dict[Any, Any]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: At top level:
- src/pip/_internal/locations/__init__.py:115:2: error: Expression type contains "Any" (has type "[_T] ((...) -> _T) -> _lru_cache_wrapper[_T]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: In function "_looks_like_debian_scheme":
- src/pip/_internal/locations/__init__.py:120:28: error: Expression type contains "Any" (has type "dict[str, dict[Any, Any]]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py:120:64: error: Expression type contains "Any" (has type "dict[str, dict[Any, Any]]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: At top level:
- src/pip/_internal/locations/__init__.py:123:2: error: Expression type contains "Any" (has type "[_T] ((...) -> _T) -> _lru_cache_wrapper[_T]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: In function "_looks_like_red_hat_scheme":
- src/pip/_internal/locations/__init__.py:135:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/locations/__init__.py:136:5: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py:138:9: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py:139:13: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: At top level:
- src/pip/_internal/locations/__init__.py:143:2: error: Expression type contains "Any" (has type "[_T] ((...) -> _T) -> _lru_cache_wrapper[_T]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py:159:2: error: Expression type contains "Any" (has type "[_T] ((...) -> _T) -> _lru_cache_wrapper[_T]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: In function "_fix_abiflags":
- src/pip/_internal/locations/__init__.py:178:17: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py:179:16: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- src/pip/_internal/locations/__init__.py:182:12: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py:182:29: error: Expression type contains "Any" (has type "Any | None")  [no-any-expr]
- src/pip/_internal/locations/__init__.py:182:45: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py:182:64: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py:188:26: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py:189:36: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: At top level:
- src/pip/_internal/locations/__init__.py:193:2: error: Expression type contains "Any" (has type "[_T] ((...) -> _T) -> _lru_cache_wrapper[_T]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py:211:2: error: Expression type contains "Any" (has type "[_T] ((...) -> _T) -> _lru_cache_wrapper[_T]")  [no-any-expr]
- src/pip/_internal/locations/__init__.py: note: In function "get_scheme":
- src/pip/_internal/locations/__init__.py:260:30: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py:261:30: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py:387:12: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/locations/__init__.py:387:30: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:72:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py:73:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py:126:2: error: Expression type contains "Any" (has type "[WrappedFn: (...) -> Any] (WrappedFn) -> WrappedFn")  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In function "rmtree":
- src/pip/_internal/utils/misc.py:140:15: error: Expression type contains "Any" (has type "(*_args: Any) -> None | (FunctionType, Path, BaseException) -> Any")  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: At top level:
- src/pip/_internal/utils/misc.py:146: error: "type: ignore" comment without error code (consider "type: ignore[no-any-expr]" instead)  [ignore-without-code]
- src/pip/_internal/utils/misc.py: note: In function "_onerror_ignore":
- src/pip/_internal/utils/misc.py:149:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py: note: In function "_onerror_reraise":
- src/pip/_internal/utils/misc.py:153:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py: note: In function "tabulate":
- src/pip/_internal/utils/misc.py:287:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py:295:12: error: Expression type contains "Any" (has type "Iterable[Any]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:295:28: error: Expression type contains "Any" (has type "Iterable[Any]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:295:45: error: Expression type contains "Any" (has type "Iterable[Iterable[Any]]")  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In function "write_output":
- src/pip/_internal/utils/misc.py:382:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py:383:17: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:383:23: error: Expression type contains "Any" (has type "tuple[Any, ...]")  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: At top level:
- src/pip/_internal/utils/misc.py:398: error: "type: ignore" comment without error code (consider "type: ignore[explicit-override, override]" instead)  [ignore-without-code]
- src/pip/_internal/utils/misc.py: note: In function "captured_output":
- src/pip/_internal/utils/misc.py:409:19: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:410:57: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:412:15: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:414:35: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In function "enum":
- src/pip/_internal/utils/misc.py:437:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py:438:18: error: Expression type contains "Any" (has type "zip[(str, int | Any)]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:438:22: error: Expression type contains "Any" (has type "tuple[Any, ...]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:438:44: error: Expression type contains "Any" (has type "tuple[Any, ...]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:438:61: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:439:15: error: Expression type contains "Any" (has type "dict[Any, Any]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:440:32: error: Expression type contains "Any" (has type "dict[Any, Any]")  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In function "_transform_url":
- src/pip/_internal/utils/misc.py:524:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py:537:20: error: Expression type contains "Any" (has type "tuple[Any, ...]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:539:18: error: Expression type contains "Any" (has type "(str, Any, str, str, str)")  [no-any-expr]
- src/pip/_internal/utils/misc.py:539:32: error: Expression type contains "Any" (has type "tuple[Any, ...]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:539:32: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:540:36: error: Expression type contains "Any" (has type "(str, Any, str, str, str)")  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In member "__repr__" of class "HiddenText":
- src/pip/_internal/utils/misc.py:588:5: error: Method "__repr__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/utils/misc.py: note: In member "__str__" of class "HiddenText":
- src/pip/_internal/utils/misc.py:591:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/utils/misc.py: note: In member "__eq__" of class "HiddenText":
- src/pip/_internal/utils/misc.py:595:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py:595:5: error: Method "__eq__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/utils/misc.py:596:26: error: Expression type contains "Any" (has type "type[Any]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:596:31: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:601:16: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:601:31: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In function "is_console_interactive":
- src/pip/_internal/utils/misc.py:656:12: error: Left operand of "and" is always true  [redundant-expr]
- src/pip/_internal/utils/misc.py:656:12: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-redundant-expr for more info
- src/pip/_internal/utils/misc.py: note: In function "hash_file":
- src/pip/_internal/utils/misc.py:659:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py: note: In function "pairwise":
- src/pip/_internal/utils/misc.py:671:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py:678:16: error: Expression type contains "Any" (has type "Iterator[Any]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:678:21: error: Expression type contains "Any" (has type "Iterable[Any]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:679:12: error: Expression type contains "Any" (has type "zip_longest[(Any, Any)]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:679:24: error: Expression type contains "Any" (has type "Iterator[Any]")  [no-any-expr]
- src/pip/_internal/utils/misc.py:679:34: error: Expression type contains "Any" (has type "Iterator[Any]")  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In member "__init__" of class "ConfiguredBuildBackendHookCaller":
- src/pip/_internal/utils/misc.py:697:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/misc.py:707:54: error: Expression type contains "Any" (has type "(...) -> None | None")  [no-any-expr]
- src/pip/_internal/utils/misc.py:709:30: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In member "build_wheel" of class "ConfiguredBuildBackendHookCaller":
- src/pip/_internal/utils/misc.py:711:5: error: Return type "str" of "build_wheel" incompatible with return type "None" in supertype "BuildBackendHookCaller"  [override]
- src/pip/_internal/utils/misc.py:711:5: error: Method "build_wheel" is not using @override but is overriding a method in class "pip._vendor.pyproject_hooks._impl.BuildBackendHookCaller"  [explicit-override]
- src/pip/_internal/utils/misc.py:717:14: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:718:16: error: "build_wheel" of "BuildBackendHookCaller" does not return a value  [func-returns-value]
- src/pip/_internal/utils/misc.py:718:16: error: Incompatible return value type (got "None", expected "str")  [return-value]
- src/pip/_internal/utils/misc.py:719:46: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In member "build_sdist" of class "ConfiguredBuildBackendHookCaller":
- src/pip/_internal/utils/misc.py:722:5: error: Return type "str" of "build_sdist" incompatible with return type "None" in supertype "BuildBackendHookCaller"  [override]
- src/pip/_internal/utils/misc.py:722:5: error: Method "build_sdist" is not using @override but is overriding a method in class "pip._vendor.pyproject_hooks._impl.BuildBackendHookCaller"  [explicit-override]
- src/pip/_internal/utils/misc.py:727:14: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:728:16: error: "build_sdist" of "BuildBackendHookCaller" does not return a value  [func-returns-value]
- src/pip/_internal/utils/misc.py:728:16: error: Incompatible return value type (got "None", expected "str")  [return-value]
- src/pip/_internal/utils/misc.py:728:69: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In member "build_editable" of class "ConfiguredBuildBackendHookCaller":
- src/pip/_internal/utils/misc.py:730:5: error: Return type "str" of "build_editable" incompatible with return type "None" in supertype "BuildBackendHookCaller"  [override]
- src/pip/_internal/utils/misc.py:730:5: error: Method "build_editable" is not using @override but is overriding a method in class "pip._vendor.pyproject_hooks._impl.BuildBackendHookCaller"  [explicit-override]
- src/pip/_internal/utils/misc.py:736:14: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:737:16: error: "build_editable" of "BuildBackendHookCaller" does not return a value  [func-returns-value]
- src/pip/_internal/utils/misc.py:737:16: error: Incompatible return value type (got "None", expected "str")  [return-value]
- src/pip/_internal/utils/misc.py:738:46: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In member "get_requires_for_build_wheel" of class "ConfiguredBuildBackendHookCaller":
- src/pip/_internal/utils/misc.py:741:5: error: Return type "list[str]" of "get_requires_for_build_wheel" incompatible with return type "None" in supertype "BuildBackendHookCaller"  [override]
- src/pip/_internal/utils/misc.py:741:5: error: Method "get_requires_for_build_wheel" is not using @override but is overriding a method in class "pip._vendor.pyproject_hooks._impl.BuildBackendHookCaller"  [explicit-override]
- src/pip/_internal/utils/misc.py:744:14: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:745:16: error: "get_requires_for_build_wheel" of "BuildBackendHookCaller" does not return a value  [func-returns-value]
- src/pip/_internal/utils/misc.py:745:16: error: Incompatible return value type (got "None", expected "list[str]")  [return-value]
- src/pip/_internal/utils/misc.py:745:69: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In member "get_requires_for_build_sdist" of class "ConfiguredBuildBackendHookCaller":
- src/pip/_internal/utils/misc.py:747:5: error: Return type "list[str]" of "get_requires_for_build_sdist" incompatible with return type "None" in supertype "BuildBackendHookCaller"  [override]
- src/pip/_internal/utils/misc.py:747:5: error: Method "get_requires_for_build_sdist" is not using @override but is overriding a method in class "pip._vendor.pyproject_hooks._impl.BuildBackendHookCaller"  [explicit-override]
- src/pip/_internal/utils/misc.py:750:14: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:751:16: error: "get_requires_for_build_sdist" of "BuildBackendHookCaller" does not return a value  [func-returns-value]
- src/pip/_internal/utils/misc.py:751:16: error: Incompatible return value type (got "None", expected "list[str]")  [return-value]
- src/pip/_internal/utils/misc.py:751:69: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In member "get_requires_for_build_editable" of class "ConfiguredBuildBackendHookCaller":
- src/pip/_internal/utils/misc.py:753:5: error: Return type "list[str]" of "get_requires_for_build_editable" incompatible with return type "None" in supertype "BuildBackendHookCaller"  [override]
- src/pip/_internal/utils/misc.py:753:5: error: Method "get_requires_for_build_editable" is not using @override but is overriding a method in class "pip._vendor.pyproject_hooks._impl.BuildBackendHookCaller"  [explicit-override]
- src/pip/_internal/utils/misc.py:756:14: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:757:16: error: "get_requires_for_build_editable" of "BuildBackendHookCaller" does not return a value  [func-returns-value]
- src/pip/_internal/utils/misc.py:757:16: error: Incompatible return value type (got "None", expected "list[str]")  [return-value]
- src/pip/_internal/utils/misc.py:757:72: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In member "prepare_metadata_for_build_wheel" of class "ConfiguredBuildBackendHookCaller":
- src/pip/_internal/utils/misc.py:759:5: error: Return type "str" of "prepare_metadata_for_build_wheel" incompatible with return type "None" in supertype "BuildBackendHookCaller"  [override]
- src/pip/_internal/utils/misc.py:759:5: error: Method "prepare_metadata_for_build_wheel" is not using @override but is overriding a method in class "pip._vendor.pyproject_hooks._impl.BuildBackendHookCaller"  [explicit-override]
- src/pip/_internal/utils/misc.py:765:14: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:766:16: error: "prepare_metadata_for_build_wheel" of "BuildBackendHookCaller" does not return a value  [func-returns-value]
- src/pip/_internal/utils/misc.py:766:16: error: Incompatible return value type (got "None", expected "str")  [return-value]
- src/pip/_internal/utils/misc.py:768:29: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py: note: In member "prepare_metadata_for_build_editable" of class "ConfiguredBuildBackendHookCaller":
- src/pip/_internal/utils/misc.py:772:5: error: Return type "str" of "prepare_metadata_for_build_editable" incompatible with return type "None" in supertype "BuildBackendHookCaller"  [override]
- src/pip/_internal/utils/misc.py:772:5: error: Method "prepare_metadata_for_build_editable" is not using @override but is overriding a method in class "pip._vendor.pyproject_hooks._impl.BuildBackendHookCaller"  [explicit-override]
- src/pip/_internal/utils/misc.py:778:14: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/misc.py:779:16: error: "prepare_metadata_for_build_editable" of "BuildBackendHookCaller" does not return a value  [func-returns-value]
- src/pip/_internal/utils/misc.py:779:16: error: Incompatible return value type (got "None", expected "str")  [return-value]
- src/pip/_internal/utils/misc.py:781:29: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/temp_dir.py:29:17: error: Expression type contains "Any" (has type "type[Any]")  [no-any-expr]
- src/pip/_internal/utils/temp_dir.py: note: In member "__repr__" of class "TempDirectory":
- src/pip/_internal/utils/temp_dir.py:154:5: error: Method "__repr__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/utils/temp_dir.py: note: In member "__exit__" of class "TempDirectory":
- src/pip/_internal/utils/temp_dir.py:160:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/temp_dir.py: note: In function "cleanup":
- src/pip/_internal/utils/temp_dir.py:189:9: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/temp_dir.py:199:16: error: Expression type contains "Any" (has type "(...) -> Any")  [no-any-expr]
- src/pip/_internal/utils/temp_dir.py:206:52: error: Expression type contains "Any" (has type "(...) -> Any")  [no-any-expr]
- src/pip/_internal/utils/temp_dir.py: note: In member "cleanup" of class "TempDirectory":
- src/pip/_internal/utils/temp_dir.py:215:42: error: Expression type contains "Any" (has type "(func: (...) -> Any, path: Path, exc_val: BaseException) -> None")  [no-any-expr]
- src/pip/_internal/utils/temp_dir.py: note: In member "_create" of class "AdjacentTempDirectory":
- src/pip/_internal/utils/temp_dir.py:278:5: error: Method "_create" is not using @override but is overriding a method in class "pip._internal.utils.temp_dir.TempDirectory"  [explicit-override]
- src/pip/_internal/utils/temp_dir.py: note: At top level:
- src/pip/_internal/utils/temp_dir.py:295:57: error: Name "path" may be undefined  [possibly-undefined]
- src/pip/_internal/utils/temp_dir.py:295:57: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-possibly-undefined for more info
- src/pip/_internal/utils/logging.py: note: In function "get_indentation":
- src/pip/_internal/utils/logging.py:70:12: error: Expression type contains "Any" (has type "Any | int")  [no-any-expr]
- src/pip/_internal/utils/logging.py: note: In member "__init__" of class "IndentingFormatter":
- src/pip/_internal/utils/logging.py:76:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/logging.py:89:27: error: Expression type contains "Any" (has type "tuple[Any, ...]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:89:35: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py: note: In member "format" of class "IndentingFormatter":
- src/pip/_internal/utils/logging.py:107:5: error: Method "format" is not using @override but is overriding a method in class "logging.Formatter"  [explicit-override]
- src/pip/_internal/utils/logging.py: note: In member "emit" of class "RichPipStreamHandler":
- src/pip/_internal/utils/logging.py:153:5: error: Method "emit" is not using @override but is overriding a method in class "pip._vendor.rich.logging.RichHandler"  [explicit-override]
- src/pip/_internal/utils/logging.py:158:12: error: Expression type contains "Any" (has type "Any | bool")  [no-any-expr]
- src/pip/_internal/utils/logging.py:170:16: error: Condition is always true  [redundant-expr]
- src/pip/_internal/utils/logging.py: note: In member "handleError" of class "RichPipStreamHandler":
- src/pip/_internal/utils/logging.py:181:5: error: Method "handleError" is not using @override but is overriding a method in class "logging.Handler"  [explicit-override]
- src/pip/_internal/utils/logging.py: note: In member "_open" of class "BetterRotatingFileHandler":
- src/pip/_internal/utils/logging.py:201:5: error: Method "_open" is not using @override but is overriding a method in class "logging.FileHandler"  [explicit-override]
- src/pip/_internal/utils/logging.py: note: In member "filter" of class "MaxLevelFilter":
- src/pip/_internal/utils/logging.py:210:5: error: Method "filter" is not using @override but is overriding a method in class "logging.Filter"  [explicit-override]
- src/pip/_internal/utils/logging.py: note: In member "filter" of class "ExcludeLoggerFilter":
- src/pip/_internal/utils/logging.py:220:5: error: Method "filter" is not using @override but is overriding a method in class "logging.Filter"  [explicit-override]
- src/pip/_internal/utils/logging.py: note: In function "setup_logging":
- src/pip/_internal/utils/logging.py:246:13: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/logging.py:256:22: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/logging.py:260:39: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/logging.py:280:17: error: Expression type contains "Any" (has type "(str, dict[str, Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:280:37: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:284:17: error: Expression type contains "Any" (has type "(str, dict[str, Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:284:43: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:288:17: error: Expression type contains "Any" (has type "(str, dict[str, Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:288:39: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:294:17: error: Expression type contains "Any" (has type "(str, dict[str, Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:294:27: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:298:17: error: Expression type contains "Any" (has type "(str, dict[str, Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:298:42: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:305:17: error: Expression type contains "Any" (has type "(str, dict[str, Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:305:28: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:306:21: error: Expression type contains "Any" (has type "(str, Any)")  [no-any-expr]
- src/pip/_internal/utils/logging.py:306:30: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/logging.py:310:21: error: Expression type contains "Any" (has type "(str, list[Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:310:32: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:313:17: error: Expression type contains "Any" (has type "(str, dict[str, Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:313:35: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:318:21: error: Expression type contains "Any" (has type "(str, list[Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:318:32: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:323:17: error: Expression type contains "Any" (has type "(str, dict[str, Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:323:39: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:324:21: error: Expression type contains "Any" (has type "(str, Any)")  [no-any-expr]
- src/pip/_internal/utils/logging.py:324:30: error: Expression has type "Any"  [no-any-expr]
- src/pip/_internal/utils/logging.py:328:21: error: Expression type contains "Any" (has type "(str, list[Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:328:32: error: Expression type contains "Any" (has type "list[Any]")  [no-any-expr]
- src/pip/_internal/utils/logging.py:331:17: error: Expression type contains "Any" (has type "(str, dict[str, Any])")  [no-any-expr]
- src/pip/_internal/utils/logging.py:331:29: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/hashes.py: note: In member "__and__" of class "Hashes":
- src/pip/_internal/utils/hashes.py:44:12: error: Condition is always false  [redundant-expr]
- src/pip/_internal/utils/hashes.py:45:13: error: Statement is unreachable  [unreachable]
- src/pip/_internal/utils/hashes.py:45:13: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-unreachable for more info
- src/pip/_internal/utils/hashes.py: note: In member "__eq__" of class "Hashes":
- src/pip/_internal/utils/hashes.py:119:5: error: Method "__eq__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/utils/hashes.py: note: In member "__hash__" of class "Hashes":
- src/pip/_internal/utils/hashes.py:124:5: error: Method "__hash__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/utils/hashes.py: note: In member "_raise" of class "MissingHashes":
- src/pip/_internal/utils/hashes.py:150:5: error: Method "_raise" is not using @override but is overriding a method in class "pip._internal.utils.hashes.Hashes"  [explicit-override]
- src/pip/_internal/utils/filesystem.py:43:2: error: Expression type contains "Any" (has type "(path: str, **kwargs: Any) -> Generator[BinaryIO, None, None]")  [no-any-expr]
- src/pip/_internal/utils/filesystem.py: note: In function "adjacent_tmp_file":
- src/pip/_internal/utils/filesystem.py:44:1: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/utils/filesystem.py: note: At top level:
- src/pip/_internal/utils/filesystem.py:44:1: error: Type of decorated function contains type "Any" ("(path: str, **kwargs: Any) -> _GeneratorContextManager[BinaryIO]")  [no-any-decorated]
- src/pip/_internal/utils/filesystem.py: note: In function "adjacent_tmp_file":
- src/pip/_internal/utils/filesystem.py:58:11: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/utils/filesystem.py:60:18: error: Conversion of type "tempfile._TemporaryFileWrapper[Any]" to type "typing.BinaryIO" may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to "object" first.  [bad-cast]
- src/pip/_internal/utils/filesystem.py:60:18: note: See https://kotlinisland.github.io/basedmypy/_refs.html#code-bad-cast for more info
- src/pip/_internal/utils/filesystem.py: note: At top level:
- src/pip/_internal/utils/filesystem.py:69:18: error: Expression type contains "Any" (has type "[WrappedFn: (...) -> Any] (WrappedFn) -> WrappedFn")  [no-any-expr]
- src/pip/_internal/metadata/base.py: note: In member "__repr__" of class "BaseDistribution":
- src/pip/_internal/metadata/base.py:147:5: error: Method "__repr__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/metadata/base.py: note: In member "__str__" of class "BaseDistribution":
- src/pip/_internal/metadata/base.py:150:5: error: Method "__str__" is not using @override but is overriding a method in class "builtins.object"  [explicit-override]
- src/pip/_internal/metadata/base.py: note: In class "BaseDistribution":
- src/pip/_internal/metadata/base.py:388:6: error: Expression type contains "Any" (has type "[_T] ((...) -> _T) -> _lru_cache_wrapper[_T]")  [no-any-expr]
- src/pip/_internal/metadata/base.py: note: In member "metadata_dict" of class "BaseDistribution":
- src/pip/_internal/metadata/base.py:408:5: error: Explicit "Any" is not allowed  [no-any-explicit]
- src/pip/_internal/metadata/base.py: note: In class "BaseDistribution":
- src/pip/_internal/metadata/base.py:408:5: error: Type of decorated function contains type "Any" ("(self: BaseDistribution) -> dict[str, Any]")  [no-any-decorated]
- src/pip/_internal/metadata/base.py: note: In member "metadata_dict" of class "BaseDistribution":
- src/pip/_internal/metadata/base.py:416:16: error: Expression type contains "Any" (has type "dict[str, Any]")  [no-any-expr]
- src/pip/_internal/metadata/base.py: note: In member "as_zipfile" of class "FilesystemWheel":
- src/pip/_internal/metadata/base.py:692:5: error: Method "as_zipfile" is not using @override but is overriding a method in class "pip._internal.metadata.base.Wheel"  [explicit-override]
- src/pip/_internal/metadata/base.py: note: In member "as_zipfile" of class "MemoryWheel":
- src/pip/_internal/metadata/base.py:701:5: error: Method "as_zipfile" is not using @override but is overriding a method in class "pip._internal.metadata.base.Wheel"  [explicit-override]
- src/pip/_internal/configuration.py:36:9: error: Expression type contains "Any" (has type "type[Any]")  [no-any-expr]```</details>

... (truncated 2823 lines) ...

@KotlinIsland KotlinIsland merged commit 37f3fd0 into master Nov 18, 2023
@KotlinIsland KotlinIsland deleted the feat/based-regex branch November 20, 2023 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

special case the groups of literal patterns in regexp operations Remove more Any from re (split)
2 participants