Repository navigation
fix support pytest.mark.parametrize type infer #3715 - #4053
asukaminato0721 wants to merge 2 commits into
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
This pull request has been imported. If you are a Meta employee, you can view this in D114357175. (Because this pull request was imported automatically, there will not be any future comments.) |
Merging this PR will not alter performance
Comparing Footnotes
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Diff from mypy_primer, showing the effect of this PR on open source code: ============================================================
SUMMARY
============================================================
Total: +10781 new errors, -35230 fixed errors
By preset: +3261/-74 (default), +4631/-83 (strict)
Projects with changes (34):
downforeveryone: +2 -2
psycopg: +76 -241
pycryptodome: +33 -141
apprise: +16 -176
openlibrary: +96 -288
rotki: +185 -3165
egglog-python: +5 -8
graphql-core: +0 -21
pytest: +26 -135
flake8: +59 -90
altair: +91 -87
cryptography: +121 -634
scikit-learn: +2699 -7533
prefect: +62 -102
scikit-build-core: +30 -59
setuptools: +39 -125
materialize: +2 -11
ppb-vector: +1 -4
streamlit: +0 -2
mitmproxy: +62 -162
cloud-init: +282 -379
pandera: +335 -982
stone: +0 -4
aiohttp-devtools: +1 -4
ibis: +535 -1057
static-frame: +3 -11
sockeye: +87 -274
pyodide: +19 -53
pandas: +4591 -15077
werkzeug: +20 -61
spack: +411 -1331
xarray: +797 -2382
scrapy: +36 -125
cvxpy: +59 -504
============================================================
FULL DIFF DETAILS
------------------------------------------------------------
downforeveryone (https://github.com/rpdelaney/downforeveryone)
+ ERROR tests/test_isup/test_handle_response.py:15:10-12: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_isup/test_handle_response.py:19:34-42: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_isup/test_handle_response.py:19:34-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_isup/test_handle_response.py:63:59-72: The type of this argument is unknown [unknown-argument-type]
psycopg (https://github.com/psycopg/psycopg)
- ERROR tests/crdb/test_copy.py:34:54-60: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/crdb/test_copy.py:34:54-60: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR tests/crdb/test_copy.py:35:30-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/crdb/test_copy_async.py:33:60-66: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/crdb/test_copy_async.py:33:60-66: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR tests/crdb/test_copy_async.py:34:36-42: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/crdb/test_typing.py:41:30-34: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/pool/test_pool.py:42:16-76: Implicit conversion of `int | Unknown` to `bool` is not allowed [implicit-bool]
- ERROR tests/pool/test_pool.py:444:59-69: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/pool/test_pool.py:448:14-18: The type of `want` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/pool/test_pool.py:448:33-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/pool/test_pool.py:449:37-41: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/pool/test_pool.py:545:37-45: Implicit conversion of `ParameterSet | bool` to `bool` is not allowed [implicit-bool]
+ ERROR tests/pool/test_pool_async.py:41:16-76: Implicit conversion of `int | Unknown` to `bool` is not allowed [implicit-bool]
- ERROR tests/pool/test_pool_async.py:446:59-69: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/pool/test_pool_async.py:450:14-18: The type of `want` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/pool/test_pool_async.py:450:33-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/pool/test_pool_async.py:451:37-41: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/pool/test_pool_async.py:547:37-45: Implicit conversion of `ParameterSet | bool` to `bool` is not allowed [implicit-bool]
- ERROR tests/pool/test_pool_common.py:617:26-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/pool/test_pool_common_async.py:628:32-42: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/pool/test_pool_null.py:155:37-45: Implicit conversion of `ParameterSet | bool` to `bool` is not allowed [implicit-bool]
+ ERROR tests/pool/test_pool_null_async.py:154:37-45: Implicit conversion of `ParameterSet | bool` to `bool` is not allowed [implicit-bool]
- ERROR tests/pq/test_copy.py:145:63-67: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/pq/test_escaping.py:131:16-19: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR tests/pq/test_escaping.py:152:29-54: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/pq/test_escaping.py:152:45-46: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/pq/test_escaping.py:181:29-54: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/pq/test_escaping.py:181:45-46: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/pq/test_pgresult.py:19:49-55: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/pq/test_pgresult.py:20:12-18: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_concurrency.py:443:38-48: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_concurrency.py:444:35-42: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_concurrency_async.py:390:38-48: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_concurrency_async.py:391:35-42: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_connection.py:504:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_connection.py:505:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_connection.py:506:38-40: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_connection.py:513:38-42: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_connection.py:545:36-38: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_connection.py:546:20-22: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_connection.py:551:10-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_connection.py:551:24-31: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_connection.py:1026:50-60: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_connection_async.py:507:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_connection_async.py:508:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_connection_async.py:509:38-40: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_connection_async.py:516:38-42: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_connection_async.py:548:36-38: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_connection_async.py:549:20-22: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_connection_async.py:554:10-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_connection_async.py:554:24-31: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_connection_async.py:1051:50-60: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_connection_info.py:18:9-18: The type of `info_attr` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_connection_info.py:18:20-31: The type of `pgconn_attr` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_connection_info.py:25:35-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_connection_info.py:26:39-50: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_connection_info.py:31:28-37: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_conninfo.py:17:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_conninfo.py:18:24-26: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_conninfo.py:27:31-33: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_conninfo.py:34:24-26: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_conninfo.py:45:19-21: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_conninfo.py:46:28-30: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_conninfo.py:47:21-23: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_conninfo.py:49:58-60: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_conninfo.py:50:34-36: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_conninfo.py:61:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_conninfo_attempts.py:81:39-43: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_conninfo_attempts.py:127:13-15: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_conninfo_attempts.py:149:39-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_conninfo_attempts_async.py:80:39-43: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_conninfo_attempts_async.py:134:13-15: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_conninfo_attempts_async.py:156:39-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy.py:62:32-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy.py:73:32-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy.py:223:61-65: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_copy.py:224:30-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy.py:317:17-80: The type of `copy_data` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_copy.py:317:57-80: Unnecessary `bytes()` call; argument is already of type `bytes` [unnecessary-type-conversion]
- ERROR tests/test_copy.py:612:22-28: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_copy.py:647:31-45: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy.py:778:51-55: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_copy.py:781:30-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy.py:814:51-55: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_copy.py:817:30-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy.py:848:33-37: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_copy.py:895:33-37: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_copy_async.py:61:32-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy_async.py:74:32-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy_async.py:232:67-71: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_copy_async.py:233:36-42: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy_async.py:326:17-80: The type of `copy_data` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_copy_async.py:326:57-80: Unnecessary `bytes()` call; argument is already of type `bytes` [unnecessary-type-conversion]
- ERROR tests/test_copy_async.py:625:22-28: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_copy_async.py:660:37-51: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy_async.py:795:51-55: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_copy_async.py:799:36-42: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy_async.py:833:51-55: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_copy_async.py:836:36-42: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_copy_async.py:867:33-37: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_copy_async.py:914:33-37: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_cursor.py:76:33-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_async.py:75:33-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_client.py:86:33-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_client_async.py:85:33-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common.py:493:33-38: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common.py:721:25-30: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common.py:979:79-84: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common.py:982:69-74: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common.py:991:34-39: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common.py:996:73-78: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common_async.py:495:39-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common_async.py:724:31-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common_async.py:987:78-83: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common_async.py:990:69-74: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common_async.py:999:34-39: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_common_async.py:1004:73-78: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_raw.py:83:33-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_cursor_raw_async.py:80:33-44: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_cursor_server.py:522:37-39: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_cursor_server.py:548:58-69: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_cursor_server_async.py:528:37-39: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_cursor_server_async.py:554:59-70: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_dns_srv.py:124:16-37: The type of the returned value is unknown; it is inferred as an implicit `Any` [unknown-return-type]
+ ERROR tests/test_dns_srv.py:124:26-31: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_dns_srv.py:130:33-34: The type of `t` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_encodings.py:26:47-53: The type of attribute `encode` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_encodings.py:38:37-43: The type of attribute `encode` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_encodings.py:44:34-40: The type of attribute `encode` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_errors.py:331:23-28: The type of attribute `strip` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_errors.py:346:23-28: The type of attribute `split` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_errors.py:346:40-45: The type of attribute `strip` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_module.py:10:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_psycopg_dbapi20.py:68:34-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_psycopg_dbapi20.py:88:33-37: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_psycopg_dbapi20.py:102:33-37: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_psycopg_dbapi20.py:112:33-37: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_psycopg_dbapi20.py:119:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_psycopg_dbapi20.py:120:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_psycopg_dbapi20.py:121:38-40: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_psycopg_dbapi20.py:128:38-42: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_psycopg_dbapi20.py:150:36-38: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_psycopg_dbapi20.py:151:20-22: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_psycopg_dbapi20.py:156:10-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_psycopg_dbapi20.py:156:24-31: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_query.py:72:15-17: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_query.py:72:24-26: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_query.py:72:28-30: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_query.py:73:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_query.py:73:27-29: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_query.py:73:31-33: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_query.py:102:15-17: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_query.py:102:24-26: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_query.py:102:28-30: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_query.py:103:45-47: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_query.py:103:49-51: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_query.py:149:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_sql.py:368:69-77: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_sql.py:368:69-77: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_sql.py:506:12-20: Implicit conversion of `str | Unknown` to `bool` is not allowed [implicit-bool]
- ERROR tests/test_sql.py:511:34-42: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_sql.py:511:34-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_sql.py:587:59-67: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_sql.py:587:59-67: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_transaction.py:234:17-27: The type of attribute `autocommit` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_transaction.py:830:35-45: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_transaction.py:833:35-45: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_transaction.py:847:35-45: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_transaction.py:850:35-45: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_transaction.py:863:35-45: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_transaction.py:866:35-45: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_transaction_async.py:234:18-28: The type of attribute `autocommit` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_transaction_async.py:837:42-52: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_transaction_async.py:840:42-52: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_transaction_async.py:854:42-52: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_transaction_async.py:857:42-52: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_transaction_async.py:870:42-52: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_transaction_async.py:873:42-52: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_typeinfo.py:24:8-14: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR tests/test_typeinfo.py:25:50-56: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_typeinfo.py:55:8-14: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR tests/test_typeinfo.py:56:50-56: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_typeinfo.py:181:8-11: Implicit conversion of `int` to `bool` is not allowed [implicit-bool]
+ ERROR tests/test_typeinfo.py:183:8-12: Implicit conversion of `int` to `bool` is not allowed [implicit-bool]
- ERROR tests/test_typing.py:15:46-54: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_typing.py:68:25-29: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_typing.py:154:25-29: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_typing.py:230:25-29: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_typing.py:284:25-50: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_typing.py:284:33-39: The type of attribute `format` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_waiting.py:86:34-39: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_waiting.py:87:36-41: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_waiting.py:115:35-48: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_waiting.py:141:36-41: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_waiting.py:142:13-25: The type of `delay` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_waiting.py:149:15-20: The type of this argument is unknown [unknown-argument-type]
... (truncated 120 lines) ...
pycryptodome (https://github.com/Legrandin/pycryptodome)
- ERROR lib/Crypto/SelfTest/Cipher/test_CTR.py:429:29-52: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_CTR.py:431:13-17: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_ChaCha20.py:520:29-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_ChaCha20.py:536:29-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_ChaCha20.py:583:29-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_OCB.py:789:31-50: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_OCB.py:798:48-67: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_OCB.py:807:48-67: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_OCB.py:820:29-36: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_OCB.py:882:33-40: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_OCB.py:883:33-40: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:368:43-59: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:368:47-58: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:374:13-17: The type of `size` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:375:37-59: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:484:24-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:488:56-65: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:495:17-45: The type of `start` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:497:50-73: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:497:90-101: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:499:18-31: The type of `to_end` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:512:28-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:515:36-46: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:558:29-36: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_Salsa20.py:559:55-62: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:72:29-35: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:74:25-31: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:76:29-35: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:96:25-31: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:98:29-35: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:117:25-31: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:119:29-35: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:165:29-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:174:29-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:175:48-58: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:175:95-105: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:180:32-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:181:32-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:186:33-39: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:187:32-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:192:29-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:199:78-88: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:206:25-31: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:208:29-35: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_message_too_long.py:212:29-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_shared_objects.py:121:30-41: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_shared_objects.py:121:44-49: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Cipher/test_shared_objects.py:121:51-60: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Hash/common.py:163:18-30: The type of `mv` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Hash/common.py:167:23-31: The type of attribute `readonly` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/Hash/common.py:172:18-30: The type of `mv` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Hash/common.py:178:23-31: The type of attribute `readonly` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/Hash/test_keccak.py:230:29-46: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Hash/test_keccak.py:236:35-43: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Hash/test_keccak.py:236:45-51: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PBES.py:234:57-66: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PBES.py:329:39-44: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PBES.py:348:39-40: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PBES.py:348:42-45: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PBES.py:348:47-50: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PBES.py:376:43-64: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PBES.py:386:43-64: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PBES.py:409:49-54: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PKCS8.py:575:34-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PKCS8.py:575:45-48: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PKCS8.py:592:34-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PKCS8.py:592:45-48: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PKCS8.py:639:34-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PKCS8.py:639:45-48: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PKCS8.py:652:34-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PKCS8.py:664:34-38: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/IO/test_PKCS8.py:664:45-48: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:83:13-48: The type of `h` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:83:13-48: The type of `h` is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:83:21-24: The type of attribute `new` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:84:24-33: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:85:17-40: The type of `h` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:85:17-40: The type of `h` is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:85:25-28: The type of attribute `new` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:85:31-37: The type of attribute `digest` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:87:38-49: The type of attribute `digest_size` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:88:79-85: The type of attribute `digest` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:146:20-24: The type of `password` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:147:20-24: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:148:19-23: The type of `out_len` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:149:17-21: The type of `iters` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:150:20-24: The type of `hash_mod` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:151:24-28: The type of this argument is unknown [unknown-argument-type]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:146:20-24: `*Unknown` is not subscriptable [unsupported-operation]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:147:20-24: `*Unknown` is not subscriptable [unsupported-operation]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:148:19-23: `*Unknown` is not subscriptable [unsupported-operation]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:149:17-21: `*Unknown` is not subscriptable [unsupported-operation]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:150:20-24: `*Unknown` is not subscriptable [unsupported-operation]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:151:24-28: `*Unknown` is not subscriptable [unsupported-operation]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:235:18-45: The type of `dk_len` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:235:26-37: The type of attribute `digest_size` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:235:26-37: The type of attribute `digest_size` is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:297:43-71: The type of this argument is unknown [unknown-argument-type]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:558:20-25: `*Unknown` is not subscriptable [unsupported-operation]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:559:16-21: `*Unknown` is not subscriptable [unsupported-operation]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:560:19-26: `*Unknown` is not subscriptable [unsupported-operation]
+ ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:561:24-29: `*Unknown` is not subscriptable [unsupported-operation]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:558:20-43: The type of `password` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:558:26-32: The type of attribute `encode` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:559:16-39: The type of `salt` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:559:22-28: The type of attribute `encode` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:560:9-10: The type of `N` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:560:12-13: The type of `r` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:560:15-16: The type of `p` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:561:24-29: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:647:29-37: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Protocol/test_KDF.py:648:54-62: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/PublicKey/test_ECC_NIST.py:1462:9-15: The type of `length` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR lib/Crypto/SelfTest/PublicKey/test_MLDSA.py:467:55-102: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2346:60-66: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_ECC.py:2348:60-66: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLDSA.py:190:22-69: The type of `kwargs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLDSA.py:189:12-22: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLDSA.py:213:18-87: The type of `kwargs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLDSA.py:213:69-79: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLDSA.py:448:24-71: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLDSA.py:523:18-87: The type of `kwargs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLDSA.py:523:69-79: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:190:22-69: The type of `kwargs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:189:12-22: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:213:18-87: The type of `kwargs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:213:69-79: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:453:24-72: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:463:16-69: The type of `base` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:463:16-69: The type of `base` is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:463:49-54: The type of attribute `value` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:463:55-60: The type of attribute `split` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:465:33-53: The type of this argument is unknown [unknown-argument-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:465:33-53: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:468:44-61: The type of this argument is unknown [unknown-argument-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:468:44-61: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:470:19-84: The type of `key_enc` is unknown because it comes from an error [unknown-from-error]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:470:46-70: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:470:46-70: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:473:40-64: The type of this argument is unknown [unknown-argument-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:473:40-64: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:475:32-51: The type of this argument is unknown [unknown-argument-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:475:32-51: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:484:46-69: The type of this argument is unknown [unknown-argument-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:484:46-69: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:485:49-75: The type of this argument is unknown [unknown-argument-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:485:49-75: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:529:18-87: The type of `kwargs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_MLKEM.py:529:69-79: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_passphrase.py:168:39-80: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_passphrase.py:168:47-80: The return type of this lambda is unknown; it is inferred as an implicit `Any` [unknown-return-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_passphrase.py:168:47-80: The return type of this lambda is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_passphrase.py:168:54-64: The type of attribute `import_key` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_passphrase.py:169:39-97: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_passphrase.py:169:47-97: The return type of this lambda is unknown; it is inferred as an implicit `Any` [unknown-return-type]
+ ERROR lib/Crypto/SelfTest/PublicKey/test_import_passphrase.py:169:47-97: The return type of this lambda is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/PublicKey/test_import_passphrase.py:169:54-64: The type of attribute `import_key` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/Signature/test_mldsa.py:323:64-78: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR lib/Crypto/SelfTest/Signature/test_mldsa.py:323:64-71: Implicit conversion of `bytes | None` to `bool` is not allowed [implicit-bool]
- ERROR lib/Crypto/SelfTest/Util/test_cpu_features.py:60:20-26: The type of this argument is unknown [unknown-argument-type]
+ ERROR lib/Crypto/SelfTest/Util/test_cpu_features.py:60:20-26: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/Util/test_cpu_features.py:60:28-32: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Util/test_cpu_features.py:61:20-26: The type of this argument is unknown [unknown-argument-type]
+ ERROR lib/Crypto/SelfTest/Util/test_cpu_features.py:61:20-26: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/Util/test_cpu_features.py:61:28-36: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Util/test_cpu_features.py:61:49-55: The type of this argument is unknown [unknown-argument-type]
+ ERROR lib/Crypto/SelfTest/Util/test_cpu_features.py:61:49-55: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR lib/Crypto/SelfTest/Util/test_cpu_features.py:61:57-61: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Util/test_raw_api.py:86:25-29: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Util/test_raw_api.py:107:66-70: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Util/test_raw_api.py:267:62-66: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Util/test_raw_api.py:268:50-64: The type of this argument is unknown [unknown-argument-type]
- ERROR lib/Crypto/SelfTest/Util/test_raw_api.py:405:23-33: The type of attribute `startswith` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR lib/Crypto/SelfTest/Util/test_raw_api.py:408:34-55: The type of this argument is unknown [unknown-argument-type]
apprise (https://github.com/caronc/apprise)
- ERROR tests/test_apprise_cli.py:1959:1-1967:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_apprise_template.py:116:22-71: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template.py:116:65-70: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template.py:121:1-131:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_apprise_template.py:134:18-65: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template.py:134:61-64: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template.py:259:1-268:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_apprise_template.py:923:22-71: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template.py:923:65-70: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template.py:997:5-9: The type of `user` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_apprise_template.py:997:11-20: The type of `separator` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_apprise_template.py:997:22-30: The type of `password` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_apprise_template.py:997:45-54: The type of attribute `partition` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_apprise_template.py:999:45-54: Implicit conversion of `str` to `bool` is not allowed [implicit-bool]
- ERROR tests/test_apprise_template.py:1396:1-1421:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_apprise_template.py:1425:48-55: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template.py:1472:1-68: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_apprise_template.py:1476:9-72: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template.py:1826:1-68: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_apprise_template.py:1832:25-42: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_apprise_template.py:1832:25-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_apprise_template.py:1832:34-42: Argument `int | list[str] | str | tuple[str, str]` is not assignable to parameter `template` with type `dict[Unknown, Unknown] | None` in function `apprise.apprise.Apprise.find` [bad-argument-type]
- ERROR tests/test_apprise_template.py:1945:31-48: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_apprise_template.py:1945:31-48: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_apprise_template.py:1945:40-48: Argument `MappingProxyType[str, str] | UserDict[str, str]` is not assignable to parameter `template` with type `dict[Unknown, Unknown] | None` in function `apprise.apprise.Apprise.find` [bad-argument-type]
- ERROR tests/test_apprise_template.py:2157:1-2179:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_apprise_template.py:2187:26-34: The type of attribute `endswith` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_apprise_template.py:2188:22-70: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template_placement.py:90:18-67: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template_placement.py:90:61-66: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template_placement.py:184:1-190:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_apprise_template_placement.py:199:9-61: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_apprise_template_placement.py:199:52-60: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_config_base.py:2036:1-2044:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_config_base.py:2051:51-54: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_conversion.py:4310:1-4312:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_conversion.py:4320:14-23: The type of `shared` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_conversion.py:4321:19-25: The type of attribute `reduce` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_conversion.py:4321:46-52: The type of attribute `reduce` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_conversion.py:4322:19-25: The type of attribute `reduce` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_conversion.py:4322:47-53: The type of attribute `reduce` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_conversion.py:4323:19-25: The type of attribute `reduce` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_conversion.py:4323:46-52: The type of attribute `reduce` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_decorator_notify.py:923:23-26: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_decorator_notify.py:928:30-33: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_decorator_notify.py:932:23-52: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_decorator_notify.py:932:48-51: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_decorator_notify.py:1150:13-23: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_decorator_notify.py:1196:12-22: The type of attribute `startswith` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_decorator_notify.py:1198:34-37: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_decorator_notify.py:1202:26-29: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_delivery_tracking.py:302:1-317:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:324:33-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_delivery_tracking.py:325:28-31: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_delivery_tracking.py:326:33-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_delivery_tracking.py:378:1-387:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:394:28-34: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_delivery_tracking.py:396:33-39: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_delivery_tracking.py:397:33-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_delivery_tracking.py:419:1-69: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:423:11-57: The type of `obj` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_delivery_tracking.py:429:13-16: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_delivery_tracking.py:434:21-25: The type of attribute `send` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_delivery_tracking.py:434:21-25: The type of attribute `send` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:443:13-16: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_delivery_tracking.py:448:21-25: The type of attribute `send` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_delivery_tracking.py:448:21-25: The type of attribute `send` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:456:20-25: The type of attribute `store` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_delivery_tracking.py:456:20-25: The type of attribute `store` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_delivery_tracking.py:456:26-29: The type of attribute `get` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_delivery_tracking.py:456:26-29: The type of attribute `get` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_logger.py:764:1-52: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_persistent_store.py:1816:60-75: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_persistent_store.py:1858:40-47: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_persistent_store.py:1859:16-54: The type of `file_key` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_persistent_store.py:1866:25-28: `str` is not assignable to dict key `key` with type `bool` [bad-assignment]
- ERROR tests/test_persistent_store.py:1864:14-34: The type of `kwargs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_persistent_store.py:1867:23-31: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_africas_talking.py:420:43-50: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_amqp.py:320:57-70: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_plugin_amqp.py:320:65-70: Argument `float | str` is not assignable to parameter `version` with type `str | None` in function `apprise.plugins.amqp.base.NotifyAMQP.__init__` [bad-argument-type]
- ERROR tests/test_plugin_amqp.py:340:55-68: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_amqp.py:827:1-15: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_amqp.py:828:1-838:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_amqp.py:843:16-21: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_bark.py:370:9-27: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_bark.py:381:1-389:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_bark.py:399:13-31: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_base_formatting.py:3949:1-3961:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_base_formatting.py:3977:42-65: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_discord.py:2028:1-2082:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_discord.py:2088:32-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_discord.py:2092:32-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_discord.py:2096:32-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_discord.py:2099:1-2112:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_discord.py:2121:12-34: The type of `text` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_plugin_discord.py:2127:25-29: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_email.py:4830:1-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_email.py:4831:1-4845:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_email.py:4850:9-12: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_email.py:4850:38-47: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_email.py:4853:12-51: The type of `addr` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_plugin_email.py:4853:22-28: The type of attribute `rsplit` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_plugin_email.py:4853:40-46: The type of attribute `rstrip` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_plugin_gorush.py:275:39-46: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_macosx.py:429:13-57: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_macosx.py:429:45-56: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_macosx.py:468:59-74: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_macosx.py:539:13-33: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_matrix.py:5138:1-80: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_matrix.py:5139:1-55: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_matrix.py:5160:54-78: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_matrix.py:8057:1-53: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_matrix.py:8058:1-64: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_matrix.py:8059:1-58: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_matrix.py:8060:1-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_matrix.py:8111:18-74: The type of `kwargs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_plugin_matrix.py:8121:41-46: Implicit conversion of `str` to `bool` is not allowed [implicit-bool]
+ ERROR tests/test_plugin_matrix.py:8148:41-46: Implicit conversion of `str` to `bool` is not allowed [implicit-bool]
- ERROR tests/test_plugin_nextcloudtalk.py:326:21-30: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_nextcloudtalk.py:326:32-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_onebot.py:369:39-48: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_rsyslog.py:204:41-64: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_signal.py:561:1-611:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_signal.py:614:50-58: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_signal.py:680:1-694:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_signal.py:697:50-58: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_twilio.py:507:24-33: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_twilio.py:570:9-571:60: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_twilio.py:571:51-59: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_vapid.py:1020:39-50: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_plugin_vapid.py:1020:39-50: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR tests/test_plugin_vapid.py:1153:1-1155:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_vapid.py:1156:1-1188:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_vapid.py:1192:27-35: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_vapid.py:1194:45-53: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_vapid.py:1196:37-42: The type of attribute `strip` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_plugin_vapid.py:1199:1-1201:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_vapid.py:1202:1-1239:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_plugin_vapid.py:1243:27-35: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_plugin_vapid.py:1243:27-35: Argument `int | list[str] | str | None` is not assignable to parameter `endpoint` with type `str | None` in function `apprise.plugins.vapid.subscription.webpush_origin` [bad-argument-type]
- ERROR tests/test_plugin_vapid.py:1247:43-51: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_vapid.py:1250:35-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_vapid.py:1257:35-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_workflows.py:930:34-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_plugin_workflows.py:934:1-54: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_retry_wait.py:110:5-124:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_retry_wait.py:126:25-35: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_retry_wait.py:127:41-49: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_retry_wait.py:134:5-146:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_retry_wait.py:156:25-39: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_retry_wait.py:182:5-190:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_retry_wait.py:192:25-36: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_retry_wait.py:199:5-61: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_retry_wait.py:202:25-34: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_secure_logging.py:224:29-35: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:93:1-96:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_template.py:100:19-23: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:109:1-60: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_template.py:113:30-37: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:128:1-138:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_template.py:142:35-39: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:173:1-177:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_template.py:181:32-38: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:348:1-351:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_template.py:355:34-39: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:364:1-63: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_template.py:368:34-39: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:371:1-374:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_template.py:377:37-42: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:380:1-399:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_template.py:414:9-22: Result of call expression is of type `list[Any] | Any` and is not used; assign to `_` if this is intentional [unused-call-result]
+ ERROR tests/test_template.py:414:9-22: Result of call expression is of type `list[Unknown] | Any` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tests/test_template.py:414:14-21: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:475:1-52: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_template.py:479:32-37: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:480:33-38: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:481:36-41: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_template.py:589:1-65: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_template.py:651:1-661:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_template.py:665:54-57: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_utils_http.py:70:1-79:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_utils_http.py:82:37-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_utils_http.py:516:1-523:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_utils_http.py:531:10-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_utils_http.py:531:24-32: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_utils_pgp.py:432:9-28: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_utils_yaml.py:76:1-90:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_utils_yaml.py:93:31-34: The type of this argument is unknown [unknown-argument-type]
... (truncated 3 lines) ...
openlibrary (https://github.com/internetarchive/openlibrary)
- ERROR openlibrary/bookworm/tests/test_cli.py:522:5-64: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/bookworm/tests/test_cli.py:524:72-85: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/bookworm/tests/test_opds.py:137:1-144:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/bookworm/tests/test_opds.py:153:65-92: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:499:31-47: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:502:33-45: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1539:1-1619:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1591:84-86: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1605:77-79: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1613:28-30: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1621:8-13: Implicit conversion of `type[IndependentlyPublished] | type[PublicationYearTooOld] | type[PublishedInFutureYear] | type[SourceNeedsISBN] | None` to `bool` is not allowed [implicit-bool]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1622:14-34: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1623:29-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1622:28-33: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1623:29-32: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1678:1-1719:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1725:52-59: Argument `dict[str, int | list[str]] | dict[str, int] | dict[str, list[str]]` is not assignable to parameter `edition` with type `Edition` in function `openlibrary.catalog.add_book.should_overwrite_promise_item` [bad-argument-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1725:44-59: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1725:61-82: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1809:5-1817:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1820:15-1824:10: The type of `rec` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1825:33-40: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1826:18-39: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1829:5-1864:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1866:33-40: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1869:5-1987:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/catalog/add_book/tests/test_add_book.py:1994:33-40: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/coverstore/tests/test_coverstore.py:141:1-166:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/coverstore/tests/test_coverstore.py:168:39-42: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/coverstore/tests/test_coverstore.py:171:1-195:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/coverstore/tests/test_coverstore.py:197:39-42: The type of this argument is unknown [unknown-argument-type]
+ ERROR openlibrary/coverstore/tests/test_webapp.py:201:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR openlibrary/coverstore/tests/test_webapp.py:275:60-66: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR openlibrary/coverstore/tests/test_webapp.py:312:27-35: The type of this argument is unknown [unknown-argument-type]
+ ERROR openlibrary/coverstore/tests/test_webapp.py:312:27-35: Argument `str` is not assignable to parameter `category` with type `Literal['a', 'b', 'w']` in function `openlibrary.coverstore.code._query` [bad-argument-type]
- ERROR openlibrary/coverstore/tests/test_webapp.py:361:55-59: The type of this argument is unknown [unknown-argument-type]
+ ERROR openlibrary/coverstore/tests/test_webapp.py:361:55-59: Argument `str` is not assignable to parameter `size` with type `Literal['L', 'M', 'S']` in function `openlibrary.coverstore.code.get_ia_cover_url` [bad-argument-type]
+ ERROR openlibrary/coverstore/tests/test_webapp.py:371:13-15: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR openlibrary/coverstore/tests/test_webapp.py:375:44-51: The type of this argument is unknown [unknown-argument-type]
+ ERROR openlibrary/coverstore/tests/test_webapp.py:375:44-51: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/i18n/test_po_files.py:122:105-112: The type of attribute `replace` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR openlibrary/i18n/test_po_files.py:128:1-151:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/i18n/test_po_files.py:153:42-48: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/i18n/test_po_files.py:183:1-216:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/i18n/test_po_files.py:222:33-38: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/i18n/test_po_files.py:222:40-47: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/i18n/test_po_files.py:278:1-298:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/plugins/books/tests/test_readlinks.py:9:25-27: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR openlibrary/plugins/books/tests/test_readlinks.py:10:29-31: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR openlibrary/plugins/books/tests/test_readlinks.py:11:37-39: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR openlibrary/plugins/books/tests/test_readlinks.py:15:46-61: The type of this argument is unknown [unknown-argument-type]
+ ERROR openlibrary/plugins/books/tests/test_readlinks.py:15:46-61: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/books/tests/test_readlinks.py:16:61-72: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/importapi/tests/test_code.py:105:1-66: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:37:1-104: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:41:24-29: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:46:1-61: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:50:20-25: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:55:1-65: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:59:20-25: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:64:1-54: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:68:20-25: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:73:1-55: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:77:27-32: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:81:1-47: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:88:20-25: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:250:5-264:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:260:35-39: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:262:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:274:18-34: The type of `record` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:274:18-34: The type of `record` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:277:32-38: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:279:5-289:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:277:32-38: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:285:31-35: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:287:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:299:18-39: The type of `record` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:299:18-39: The type of `record` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:302:32-38: The type of this argument is unknown [unknown-argument-type]
+ ERROR openlibrary/plugins/importapi/tests/test_import_validator.py:302:32-38: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/inside/tests/test_code.py:96:1-128: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/plugins/inside/tests/test_code.py:96:44-46: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR openlibrary/plugins/inside/tests/test_code.py:96:110-112: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR openlibrary/plugins/inside/tests/test_code.py:98:26-33: The type of this argument is unknown [unknown-argument-type]
+ ERROR openlibrary/plugins/inside/tests/test_code.py:98:26-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/plugins/inside/tests/test_code.py:135:43-45: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR openlibrary/plugins/inside/tests/test_code.py:137:29-35: The type of this argument is unknown [unknown-argument-type]
+ ERROR openlibrary/plugins/inside/tests/test_code.py:137:29-35: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_likes.py:80:37-48: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_likes.py:88:37-49: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_likes.py:99:1-50: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_likes.py:105:44-49: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_lists.py:309:5-93: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_lists.py:311:69-90: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_lists.py:326:5-63: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_lists.py:333:52-56: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_partials.py:360:5-369:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_partials.py:372:31-39: The type of this argument is unknown [unknown-argument-type]
+ ERROR openlibrary/plugins/openlibrary/tests/test_partials.py:372:31-39: Unpacked keyword argument `int | str` is not assignable to parameter `work_key` with type `bytearray | bytes | str` in function `openlibrary.plugins.openlibrary.partials.NearbyBooksParams.__init__` [bad-argument-type]
+ ERROR openlibrary/plugins/openlibrary/tests/test_partials.py:372:31-39: Unpacked keyword argument `int | str` is not assignable to parameter `language` with type `bytearray | bytes | str | None` in function `openlibrary.plugins.openlibrary.partials.NearbyBooksParams.__init__` [bad-argument-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_patron_status.py:49:1-64:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/openlibrary/tests/test_patron_status.py:66:38-46: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_account.py:43:1-54:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_account.py:56:37-45: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_addbook.py:611:1-623:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_addbook.py:625:42-45: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:16:1-27:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:29:26-30: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:32:1-41:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:43:24-28: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:43:30-41: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:46:1-49:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:51:12-20: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:54:1-57:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:59:12-20: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:62:1-65:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:78:1-81:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_addtag.py:92:35-43: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_code.py:224:5-233:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_code.py:237:13-31: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_code.py:268:5-274:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_code.py:278:46-55: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_code.py:308:5-316:6: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_code.py:318:22-26: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_code.py:318:28-36: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_code.py:319:22-26: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_code.py:319:28-36: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_code.py:356:29-33: The type of this argument is unknown [unknown-argument-type]
+ ERROR openlibrary/plugins/upstream/tests/test_code.py:508:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR openlibrary/plugins/upstream/tests/test_code.py:514:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR openlibrary/plugins/upstream/tests/test_lenny.py:323:36-42: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
- ERROR openlibrary/plugins/upstream/tests/test_lenny.py:326:24-40: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_lenny.py:1425:59-65: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_lenny.py:1549:36-42: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
- ERROR openlibrary/plugins/upstream/tests/test_lenny.py:1552:24-40: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/plugins/upstream/tests/test_lenny.py:1751:42-47: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_lenny.py:1751:49-55: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_lenny.py:1783:42-47: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_lenny.py:1783:49-55: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_loan_actions.py:145:46-52: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_mybooks.py:359:76-97: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_mybooks.py:378:40-62: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/plugins/upstream/tests/test_mybooks.py:379:89-98: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/tests/catalog/test_utils.py:238:1-245:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/tests/catalog/test_utils.py:254:44-60: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/tests/catalog/test_utils.py:258:1-292:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR openlibrary/tests/catalog/test_utils.py:298:47-50: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/tests/catalog/test_utils.py:301:1-312:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR openlibrary/tests/catalog/test_utils.py:322:53-55: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR openlibrary/tests/catalog/test_utils.py:314:39-49: The type of this argument is unknown [unknown-argument-type]
- ERROR openlibrary/tests/catalog/test_utils.py:317:1-327:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
... (truncated 3187 lines) ... |
This comment has been minimized.
This comment has been minimized.
|
✅ This PR meets all requirements from our pull request checklist. Optional recommendations:
Note: this comment updates automatically after changes to the PR. Updates may take up to half an hour. |
bf97564 to
b7696ea
Compare
e4b81f3 to
9761406
Compare
This comment has been minimized.
This comment has been minimized.
stroxler
left a comment
There was a problem hiding this comment.
Thanks!
The mypy primer delta looks promising, I think trying to do better here makes sense. An initial round of AI-assisted review, though, suggests that the approach used here isn't ideal.
This cod adds a second interpretation of parametrization that disagrees with the one Pyrefly already uses.
The existing is_directly_parametrized in pyrefly/lib/state/pytest.rs checks indirect before deciding whether a parameter comes from a fixture.
The new pyrefly/lib/alt/pytest.rs reads the first two positional arguments and infers from the rows without checking indirect:
import pytest
@pytest.fixture
def value(request: pytest.FixtureRequest) -> str:
return str(request.param)
@pytest.mark.parametrize("value", [1], indirect=True)
def test_value(value) -> None:
assert value.upper() == "1"
With runtime pytest, 1 goes to request.param, and the test receives a str. The PR’s solver path instead gives value an int hint and would flag upper(); that result is from tracing the pinned PR source, not running a build of the PR.
Suggestion is to move decorator recognition, argument parsing, and direct-vs-indirect classification into one shared helper under pyrefly/lib/binding/pytest.rs. Let the IDE use that classification for fixture navigation and the solver infer types only from rows known to supply values directly. The first version can skip unsupported rows rather than guess.
|
+1 to Steven's suggestion. A few more things for the next revision:
|
9761406 to
662b78a
Compare
|
Diff from mypy_primer, showing the effect of this PR on open source code: ============================================================
SUMMARY
============================================================
Total: +11015 new errors, -36429 fixed errors
By preset: +2809/-84 (default), +4490/-93 (strict)
Projects with changes (31):
downforeveryone: +2 -2
setuptools: +56 -138
prefect: +66 -105
rotki: +190 -3268
cattrs: +33 -129
altair: +99 -177
scikit-learn: +2699 -7648
pytest: +46 -167
flake8: +59 -90
graphql-core: +1 -25
scikit-build-core: +18 -31
cryptography: +122 -639
psycopg: +80 -256
materialize: +3 -24
apprise: +21 -225
pycryptodome: +32 -181
ppb-vector: +1 -4
openlibrary: +117 -465
static-frame: +3 -11
egglog-python: +6 -8
pandera: +342 -994
cloud-init: +462 -584
stone: +0 -4
aiohttp-devtools: +1 -4
ibis: +756 -1228
spack: +419 -1355
pyodide: +19 -54
pandas: +4524 -15718
sockeye: +87 -274
scrapy: +44 -135
xarray: +707 -2486
============================================================
FULL DIFF DETAILS
------------------------------------------------------------
downforeveryone (https://github.com/rpdelaney/downforeveryone)
+ ERROR tests/test_isup/test_handle_response.py:15:10-12: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_isup/test_handle_response.py:19:34-42: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_isup/test_handle_response.py:19:34-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_isup/test_handle_response.py:63:59-72: The type of this argument is unknown [unknown-argument-type]
setuptools (https://github.com/pypa/setuptools)
- ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:234:51-57: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:282:9-38: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:336:9-38: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:533:16-22: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:533:36-42: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:539:23-29: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:641:50-52: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:642:57-59: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:648:46-53: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:651:59-63: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:712:46-53: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/config/test_apply_pyprojecttoml.py:713:35-79: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/config/test_expand.py:120:17-123:10: The type of `files` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/config/test_expand.py:124:21-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/config/test_expand.py:139:17-142:10: The type of `files` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/config/test_expand.py:143:21-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/config/test_expand.py:174:10-12: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR setuptools/tests/config/test_expand.py:175:10-12: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR setuptools/tests/config/test_expand.py:180:13-83: The type of `files` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/config/test_expand.py:181:17-22: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/config/test_expand.py:182:52-63: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/config/test_expand.py:182:52-63: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/config/test_expand.py:192:10-12: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR setuptools/tests/config/test_expand.py:205:33-38: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/config/test_expand.py:206:37-45: Unpacked keyword argument `bool | dict[Unknown, Unknown] | list[str] | Unknown` is not assignable to parameter `fill_package_dir` with type `dict[str, str] | None` in function `setuptools.config.expand.find_packages` [bad-argument-type]
- ERROR setuptools/tests/config/test_expand.py:206:37-45: Unpacked keyword argument `dict[Unknown, Unknown] | Unknown` is not assignable to parameter `root_dir` with type `PathLike[str] | str | None` in function `setuptools.config.expand.find_packages` [bad-argument-type]
+ ERROR setuptools/tests/config/test_expand.py:206:37-45: Unpacked keyword argument `bool | dict[Unknown, Unknown] | list[str] | Unknown` is not assignable to parameter `root_dir` with type `PathLike[str] | str | None` in function `setuptools.config.expand.find_packages` [bad-argument-type]
- ERROR setuptools/tests/config/test_expand.py:207:9-12: The type of `pkg` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/config/test_expand.py:208:38-41: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_expand.py:213:13-37: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/config/test_expand.py:213:13-37: The type of this argument is unknown because it comes from an error [unknown-from-error]
+ ERROR setuptools/tests/config/test_expand.py:214:18-42: Type `bool` is not iterable [not-iterable]
- ERROR setuptools/tests/config/test_expand.py:213:28-35: The type of attribute `resolve` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR setuptools/tests/config/test_expand.py:214:13-14: The type of `p` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/config/test_expand.py:214:23-26: The type of attribute `pop` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR setuptools/tests/config/test_expand.py:214:23-26: The type of attribute `pop` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/config/test_expand.py:214:26-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/config/test_expand.py:217:50-56: Unpacked keyword argument `bool | list[str]` is not assignable to parameter `fill_package_dir` with type `dict[str, str] | None` in function `setuptools.config.expand.find_packages` [bad-argument-type]
+ ERROR setuptools/tests/config/test_expand.py:217:50-56: Unpacked keyword argument `bool | list[str]` is not assignable to parameter `root_dir` with type `PathLike[str] | str | None` in function `setuptools.config.expand.find_packages` [bad-argument-type]
- ERROR setuptools/tests/config/test_expand.py:217:50-56: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/config/test_expand.py:217:50-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/config/test_expand.py:223:56-58: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR setuptools/tests/config/test_expand.py:224:59-61: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR setuptools/tests/config/test_expand.py:240:17-39: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/config/test_expand.py:240:28-29: The type of `k` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/config/test_expand.py:243:33-44: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_expand.py:244:40-68: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/config/test_expand.py:244:40-68: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/config/test_expand.py:244:61-66: The type of attribute `items` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR setuptools/tests/config/test_expand.py:244:61-66: The type of attribute `items` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/config/test_expand.py:244:66-68: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/config/test_pyprojecttoml.py:155:15-17: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR setuptools/tests/config/test_pyprojecttoml.py:156:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR setuptools/tests/config/test_pyprojecttoml.py:161:30-38: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_pyprojecttoml.py:172:38-46: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_pyprojecttoml.py:328:35-42: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_pyprojecttoml.py:350:35-42: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_setupcfg.py:461:26-32: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_setupcfg.py:462:57-83: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_setupcfg.py:462:73-82: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_setupcfg.py:467:13-18: The type of `field` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/config/test_setupcfg.py:467:20-25: The type of `value` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/config/test_setupcfg.py:467:37-42: The type of attribute `items` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR setuptools/tests/config/test_setupcfg.py:468:20-51: The type of `attr` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/config/test_setupcfg.py:468:26-33: The type of attribute `replace` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR setuptools/tests/config/test_setupcfg.py:468:44-49: The type of attribute `lower` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR setuptools/tests/config/test_setupcfg.py:469:43-47: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_setupcfg.py:710:26-32: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_setupcfg.py:730:26-32: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/config/test_setupcfg.py:758:26-32: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_bdist_wheel.py:550:13-34: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_bdist_wheel.py:621:56-77: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_bdist_wheel.py:688:25-30: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_bdist_wheel.py:710:31-36: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_bdist_wheel.py:766:32-46: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_bdist_wheel.py:769:14-779:6: The type of `config` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_bdist_wheel.py:770:38-52: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_bdist_wheel.py:774:32-45: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_bdist_wheel.py:780:31-36: The type of attribute `items` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_bdist_wheel.py:780:36-38: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/test_bdist_wheel.py:787:26-37: `bool | str` is not assignable to attribute `py_limited_api` with type `Literal[False] | str` [bad-assignment]
- ERROR setuptools/tests/test_bdist_wheel.py:790:55-72: The return type of this lambda is unknown; it is inferred as an implicit `Any` [unknown-return-type]
- ERROR setuptools/tests/test_bdist_wheel.py:804:12-41: The type of `impl` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/test_bdist_wheel.py:798:8-19: Implicit conversion of `bool | str` to `bool` is not allowed [implicit-bool]
+ ERROR setuptools/tests/test_bdist_wheel.py:798:8-66: Implicit conversion of `Literal[''] | bool` to `bool` is not allowed [implicit-bool]
+ ERROR setuptools/tests/test_bdist_wheel.py:804:12-23: Implicit conversion of `bool | str` to `bool` is not allowed [implicit-bool]
+ ERROR setuptools/tests/test_bdist_wheel.py:807:12-23: Implicit conversion of `bool | str` to `bool` is not allowed [implicit-bool]
- ERROR setuptools/tests/test_bdist_wheel.py:828:32-45: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_bdist_wheel.py:857:14-50: The type of `config` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_bdist_wheel.py:858:61-64: The type of attribute `get` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/test_bdist_wheel.py:882:8-16: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR setuptools/tests/test_bdist_wheel.py:898:14-69: The type of `config` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_bdist_wheel.py:899:61-64: The type of attribute `get` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_bdist_wheel.py:975:60-68: The return type of this lambda is unknown; it is inferred as an implicit `Any` [unknown-return-type]
+ ERROR setuptools/tests/test_build_ext.py:27:10-12: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR setuptools/tests/test_build_ext.py:76:25-29: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR setuptools/tests/test_build_ext.py:89:24-30: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/test_build_ext.py:89:24-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_build_ext.py:141:72-81: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_meta.py:294:20-64: The type of `dist_dir` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/test_build_meta.py:294:36-63: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_meta.py:297:47-68: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_meta.py:311:31-67: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_meta.py:311:44-52: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_meta.py:315:14-51: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_meta.py:315:27-35: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_meta.py:318:32-68: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_meta.py:318:45-53: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/test_build_meta.py:385:12-24: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR setuptools/tests/test_build_meta.py:783:22-49: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_meta.py:802:20-40: The type of `expected` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_build_meta.py:802:27-39: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_meta.py:919:36-46: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_py.py:426:47-56: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_build_py.py:440:47-56: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_config_discovery.py:170:30-53: The type of `template_param` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/test_config_discovery.py:170:36-43: The type of attribute `replace` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR setuptools/tests/test_config_discovery.py:175:30-35: The type of `template_param` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/test_config_discovery.py:177:41-52: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_config_discovery.py:183:30-35: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/test_config_discovery.py:283:21-23: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR setuptools/tests/test_config_discovery.py:289:48-52: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/test_config_discovery.py:289:48-52: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_config_discovery.py:485:58-66: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_core_metadata.py:37:1-66:2: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/test_core_metadata.py:68:13-19: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR setuptools/tests/test_core_metadata.py:481:13-17: The type of `attr` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/test_core_metadata.py:481:19-24: The type of `value` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/test_core_metadata.py:481:35-41: The type of attribute `values` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR setuptools/tests/test_core_metadata.py:485:27-31: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_core_metadata.py:485:33-38: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_core_metadata.py:486:36-40: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_core_metadata.py:486:42-47: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_core_metadata.py:490:56-62: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_dist.py:177:13-80: The type of `attrs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_dist.py:179:25-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_dist.py:216:28-41: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_dist.py:222:13-227:6: The type of `attrs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_dist.py:229:25-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_dist.py:233:38-46: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_dist.py:266:28-41: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_dist_info.py:63:33-46: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_dist_info.py:114:39-48: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_dist_info.py:114:50-65: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_distutils_adoption.py:130:11-59: The type of `env` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_distutils_adoption.py:131:14-87: The type of `script` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/test_distutils_adoption.py:131:55-86: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_distutils_adoption.py:132:11-35: The type of `cmd` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_distutils_adoption.py:133:39-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_distutils_adoption.py:156:11-59: The type of `env` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_distutils_adoption.py:158:39-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_distutils_adoption.py:189:11-59: The type of `env` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_distutils_adoption.py:190:11-196:6: The type of `cmd` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_distutils_adoption.py:194:13-44: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_distutils_adoption.py:197:39-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_editable_install.py:287:76-85: The type of this argument is unknown [unknown-argument-type]
- ERROR setuptools/tests/test_editable_install.py:288:76-85: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/test_egg_info.py:646:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR setuptools/tests/test_egg_info.py:660:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR setuptools/tests/test_egg_info.py:688:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR setuptools/tests/test_egg_info.py:729:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR setuptools/tests/test_egg_info.py:743:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR setuptools/tests/test_egg_info.py:761:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR setuptools/tests/test_egg_info.py:815:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR setuptools/tests/test_egg_info.py:851:13-15: The type of `lf` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/test_egg_info.py:852:40-42: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/test_egg_info.py:852:40-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR setuptools/tests/test_egg_info.py:854:13-15: The type of `lf` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR setuptools/tests/test_egg_info.py:855:40-42: The type of this argument is unknown [unknown-argument-type]
+ ERROR setuptools/tests/test_egg_info.py:855:40-42: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR setuptools/tests/test_egg_info.py:872:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
... (truncated 23 lines) ...
prefect (https://github.com/PrefectHQ/prefect)
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:52:39-49: The type of attribute `get_client` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:77:17-27: The type of attribute `get_client` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:78:17-27: The type of attribute `get_client` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:79:17-27: The type of attribute `get_client` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:172:19-52: The type of `credentials` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR src/integrations/prefect-aws/tests/test_credentials.py:172:5-16: The type of `credentials` is unknown because it comes from an error [unknown-from-error]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:173:25-36: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-aws/tests/test_credentials.py:173:25-36: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:175:13-24: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-aws/tests/test_credentials.py:175:13-24: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:175:26-51: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:175:26-51: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:175:31-47: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:175:41-45: The type of attribute `keys` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:175:53-80: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:175:53-80: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:175:58-76: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:175:68-74: The type of attribute `values` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-aws/tests/test_credentials.py:176:21-32: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-aws/tests/test_credentials.py:176:21-32: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR src/integrations/prefect-aws/tests/workers/test_ecs_worker.py:614:9-20: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-aws/tests/workers/test_ecs_worker.py:647:9-12: The type of `key` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-aws/tests/workers/test_ecs_worker.py:647:26-30: The type of attribute `keys` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-aws/tests/workers/test_ecs_worker.py:648:38-41: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-aws/tests/workers/test_ecs_worker.py:753:9-22: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-aws/tests/workers/test_ecs_worker.py:774:13-16: The type of `key` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-aws/tests/workers/test_ecs_worker.py:774:18-23: The type of `value` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-aws/tests/workers/test_ecs_worker.py:774:41-46: The type of attribute `items` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-aws/tests/workers/test_ecs_worker.py:3268:25-32: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-azure/tests/test_aci_worker.py:480:21-483:6: The type of `job_overrides` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-azure/tests/test_aci_worker.py:486:43-56: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-azure/tests/test_aci_worker.py:714:9-30: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-azure/tests/test_aci_worker.py:834:51-72: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-azure/tests/test_aci_worker.py:1319:12-64: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-azure/tests/test_aci_worker.py:1319:78-83: The type of attribute `lower` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-bitbucket/tests/test_credentials.py:46:23-40: The type of `client_type` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR src/integrations/prefect-bitbucket/tests/test_credentials.py:46:9-20: The type of `client_type` is unknown because it comes from an error [unknown-from-error]
- ERROR src/integrations/prefect-bitbucket/tests/test_credentials.py:46:35-40: The type of attribute `value` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-bitbucket/tests/test_credentials.py:48:20-25: The type of attribute `lower` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-dbt/tests/core/test_executor.py:238:9-13: The type of `node` is unknown because it comes from an error [unknown-from-error]
+ ERROR src/integrations/prefect-dbt/tests/core/test_executor.py:238:59-86: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR src/integrations/prefect-dbt/tests/core/test_executor.py:238:27-46: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_executor.py:238:48-57: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_executor.py:238:59-86: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_executor.py:246:16-20: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_orchestrator_per_wave.py:1528:16-24: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_orchestrator_per_wave.py:1660:16-38: The type of `flag` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_orchestrator_per_wave.py:1660:22-27: The type of attribute `split` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-dbt/tests/core/test_orchestrator_per_wave.py:1681:16-38: The type of `flag` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_orchestrator_per_wave.py:1681:22-27: The type of attribute `split` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-dbt/tests/core/test_orchestrator_per_wave.py:1685:16-24: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:230:13-15: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:305:9-17: The type of `flow_run` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:305:19-23: The type of `flow` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:331:54-58: The type of attribute `name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:323:12-20: Implicit conversion of `dict[str, str] | None` to `bool` is not allowed [implicit-bool]
+ ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:330:12-16: Implicit conversion of `Unknown | None` to `bool` is not allowed [implicit-bool]
- ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:418:55-66: The type of attribute `_spec_class` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:427:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:446:29-54: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:446:24-55: The type of `dependencies` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:446:48-52: The type of attribute `keys` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:446:29-54: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:446:52-54: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:446:48-52: The type of attribute `keys` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:450:13-19: The type of `dep_id` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:450:21-27: The type of `result` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:450:21-27: The type of `result` is unknown because it comes from an error [unknown-from-error]
- ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:450:50-55: The type of attribute `items` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:450:50-55: The type of attribute `items` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR src/integrations/prefect-dbt/tests/core/test_tracker.py:450:55-57: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-docker/tests/test_worker.py:201:27-42: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-docker/tests/test_worker.py:198:8-23: Implicit conversion of `int` to `bool` is not allowed [implicit-bool]
+ ERROR src/integrations/prefect-docker/tests/test_worker.py:227:28-43: Implicit conversion of `int` to `bool` is not allowed [implicit-bool]
+ ERROR src/integrations/prefect-docker/tests/test_worker.py:585:39-41: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-docker/tests/test_worker.py:597:12-20: Implicit conversion of `list[str] | list[Unknown]` to `bool` is not allowed [implicit-bool]
+ ERROR src/integrations/prefect-docker/tests/test_worker.py:600:32-43: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-docker/tests/test_worker.py:603:12-20: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-docker/tests/test_worker.py:603:12-20: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-docker/tests/test_worker.py:606:13-25: The type of `network_name` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR src/integrations/prefect-docker/tests/test_worker.py:606:29-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR src/integrations/prefect-docker/tests/test_worker.py:1226:50-66: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR src/integrations/prefect-docker/tests/test_worker.py:1577:29-35: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-docker/tests/test_worker.py:1599:29-35: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-docker/tests/test_worker.py:1615:25-31: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-email/tests/test_credentials.py:50:18-23: The type of attribute `lower` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/integrations/prefect-gcp/tests/test_bigquery.py:52:16-34: Implicit conversion of `((_: Unknown) -> tuple[str]) | None` to `bool` is not allowed [implicit-bool]
- ERROR src/integrations/prefect-gcp/tests/test_bigquery.py:84:36-47: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-gcp/tests/test_bigquery.py:112:36-47: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-gcp/tests/test_cloud_run_v2.py:97:17-19: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker.py:887:23-36: The type of `expected_call` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker.py:887:51-65: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker.py:888:40-53: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker.py:953:23-36: The type of `expected_call` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker.py:953:51-65: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker.py:954:40-53: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker.py:1014:23-36: The type of `expected_call` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker.py:1014:51-65: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker.py:1015:40-53: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker_v2.py:219:59-63: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker_v2.py:219:66-68: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker_v2.py:1207:33-46: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-gcp/tests/test_cloud_run_worker_v2.py:1272:13-15: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_storage.py:35:18-33: The type of `input_path` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR src/integrations/prefect-gcp/tests/test_cloud_storage.py:35:5-15: The type of `input_path` is unknown because it comes from an error [unknown-from-error]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_storage.py:37:26-36: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-gcp/tests/test_cloud_storage.py:37:26-36: The type of this argument is unknown because it comes from an error [unknown-from-error]
+ ERROR src/integrations/prefect-gcp/tests/test_cloud_storage.py:181:57-66: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR src/integrations/prefect-gcp/tests/test_cloud_storage.py:342:19-46: The type of `to_path` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR src/integrations/prefect-gcp/tests/test_cloud_storage.py:342:25-45: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-gcp/tests/test_credentials.py:307:34-51: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR src/integrations/prefect-gcp/tests/test_credentials.py:307:23-52: The type of `client_type` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR src/integrations/prefect-gcp/tests/test_credentials.py:307:46-51: The type of attribute `value` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/integrations/prefect-gcp/tests/test_secret_manager.py:52:15-22: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR src/integrations/prefect-gcp/tests/test_secret_manager.py:52:15-49: The type of `project` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR src/integrations/prefect-gcp/tests/test_secret_manager.py:52:15-49: The type of `project` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR src/integrations/prefect-gcp/tests/test_secret_manager.py:72:19-26: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR src/integrations/prefect-gcp/tests/test_secret_manager.py:72:19-53: The type of `project` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR src/integrations/prefect-gcp/tests/test_secret_manager.py:72:19-53: The type of `project` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:166:69-71: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:182:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:182:18-20: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:183:29-31: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:183:34-36: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:184:65-67: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:206:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:206:18-20: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:207:41-43: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:207:46-48: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:217:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:219:41-45: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:259:13-15: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:284:36-38: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR src/integrations/prefect-gcp/tests/test_utilities.py:303:14-16: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR src/integrations/prefect-github/tests/test_graphql.py:27:23-40: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-github/tests/test_graphql.py:47:40-59: The type of this argument is unknown [unknown-argument-type]
+ ERROR src/integrations/prefect-github/tests/test_graphql.py:53:8-17: Implicit conversion of `bool | str` to `bool` is not allowed [implicit-bool]
- ERROR src/integrations/prefect-kubernetes/tests/test_deployments.py:179:41-43: The type of attribute `fn` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/integrations/prefect-kubernetes/tests/test_pods.py:199:34-36: The type of attribute `fn` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/integrations/prefect-shell/tests/test_commands_windows.py:210:61-66: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
- ERROR src/integrations/prefect-shell/tests/test_commands_windows.py:230:36-42: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-shell/tests/test_commands_windows.py:235:39-45: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-shell/tests/test_commands_windows.py:245:39-45: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-shell/tests/test_commands_windows.py:252:39-45: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-shell/tests/test_commands_windows.py:257:66-72: The type of this argument is unknown [unknown-argument-type]
- ERROR src/integrations/prefect-snowflake/tests/experimental/test_spcs_worker.py:322:67-72: The type of attribute `lower` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/integrations/prefect-snowflake/tests/experimental/test_spcs_worker.py:322:12-53: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR src/integrations/prefect-snowflake/tests/experimental/test_spcs_worker.py:353:24-356:6: The type of `config_overrides` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-snowflake/tests/experimental/test_spcs_worker.py:361:53-69: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-snowflake/tests/experimental/test_spcs_worker.py:369:57-73: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/integrations/prefect-snowflake/tests/experimental/test_spcs_worker.py:844:21-35: The type of `overrides` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
... (truncated 20 lines) ...
rotki (https://github.com/rotki/rotki)
- ERROR rotkehlchen/tests/banks/test_fints.py:1061:68-79: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/banks/test_fints.py:1069:59-70: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/banks/test_qonto.py:173:7-9: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR rotkehlchen/tests/banks/test_qonto.py:174:7-9: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR rotkehlchen/tests/banks/test_qonto.py:175:6-8: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR rotkehlchen/tests/db/test_db.py:2084:9-25: The type of `enum_class_entry` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR rotkehlchen/tests/db/test_db.py:2085:53-58: The type of attribute `value` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR rotkehlchen/tests/db/test_db.py:2086:68-73: The type of attribute `value` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR rotkehlchen/tests/db/test_db_filters.py:80:9-22: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/db/test_db_upgrades.py:2093:72-93: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/db/test_db_upgrades.py:2142:54-75: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/db/test_db_upgrades.py:4537:54-75: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/db/test_db_upgrades.py:4541:50-71: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/db/test_db_upgrades.py:5497:13-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR rotkehlchen/tests/db/test_utils.py:64:17-24: Argument `int | None` is not assignable to parameter `from_ts` with type `Timestamp | None` in function `rotkehlchen.db.utils.form_query_to_filter_timestamps` [bad-argument-type]
+ ERROR rotkehlchen/tests/db/test_utils.py:65:15-20: Argument `int | None` is not assignable to parameter `to_ts` with type `Timestamp | None` in function `rotkehlchen.db.utils.form_query_to_filter_timestamps` [bad-argument-type]
- ERROR rotkehlchen/tests/db/test_utils.py:62:9-23: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/db/test_utils.py:63:9-48: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/db/test_utils.py:64:9-24: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/db/test_utils.py:65:9-20: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/db/test_utils.py:192:32-36: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/db/test_utils.py:192:38-48: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/db/test_utils.py:191:8-20: Implicit conversion of `str | None` to `bool` is not allowed [implicit-bool]
+ ERROR rotkehlchen/tests/db/test_utils.py:192:38-48: Argument `str` is not assignable to parameter `tuple_type` with type `Literal['evm_internal_transaction', 'evm_transaction', 'evm_transactions_authorization', 'margin_position', 'solana_account_key', 'solana_instruction', 'solana_instruction_account', 'solana_transaction', 'zksynclite_transaction']` in function `rotkehlchen.db.utils.db_tuple_to_str` [bad-argument-type]
+ ERROR rotkehlchen/tests/db/test_utils.py:195:35-45: Argument `str` is not assignable to parameter `tuple_type` with type `Literal['evm_internal_transaction', 'evm_transaction', 'evm_transactions_authorization', 'margin_position', 'solana_account_key', 'solana_instruction', 'solana_instruction_account', 'solana_transaction', 'zksynclite_transaction']` in function `rotkehlchen.db.utils.db_tuple_to_str` [bad-argument-type]
- ERROR rotkehlchen/tests/db/test_utils.py:195:29-33: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/db/test_utils.py:195:35-45: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_binance.py:1594:33-38: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_bitstamp.py:196:51-59: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_bitstamp.py:529:17-23: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_bitstamp.py:549:13-19: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_bitstamp.py:599:51-59: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_bitstamp.py:603:36-58: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_bitstamp.py:612:12-28: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_bitstamp.py:1040:9-1045:10: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR rotkehlchen/tests/exchanges/test_bitstamp.py:1054:32-40: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_bitstamp.py:1291:9-1296:10: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR rotkehlchen/tests/exchanges/test_bitstamp.py:1305:32-40: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/exchanges/test_iconomi.py:158:38-40: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR rotkehlchen/tests/exchanges/test_iconomi.py:158:53-55: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR rotkehlchen/tests/exchanges/test_iconomi.py:162:61-82: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/exchanges/test_iconomi.py:162:61-82: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR rotkehlchen/tests/exchanges/test_kraken.py:1452:32-38: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/exchanges/test_kraken.py:2153:10-12: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR rotkehlchen/tests/exchanges/test_kraken.py:2172:55-72: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/exchanges/test_kraken.py:2172:55-72: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR rotkehlchen/tests/exchanges/test_kraken.py:2173:56-76: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_kraken.py:2460:45-63: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR rotkehlchen/tests/exchanges/test_kucoin.py:1148:35-41: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_okx.py:1117:1-1121:3: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR rotkehlchen/tests/exchanges/test_okx.py:1123:29-35: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_poloniex.py:631:76-81: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/exchanges/test_poloniex.py:631:83-94: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:209:20-40: Argument `AssetWithNameAndType` is not assignable to parameter `from_asset` with type `AssetWithOracles` in function `rotkehlchen.externalapis.cryptocompare.Cryptocompare.query_and_store_historical_data` [bad-argument-type]
+ ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:210:18-36: Argument `AssetWithNameAndType` is not assignable to parameter `to_asset` with type `AssetWithOracles` in function `rotkehlchen.externalapis.cryptocompare.Cryptocompare.query_and_store_historical_data` [bad-argument-type]
+ ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:211:19-42: Argument `int` is not assignable to parameter `timestamp` with type `Timestamp` in function `rotkehlchen.externalapis.cryptocompare.Cryptocompare.query_and_store_historical_data` [bad-argument-type]
+ ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:217:19-28: Argument `int` is not assignable to parameter `timestamp` with type `Timestamp` in function `rotkehlchen.globaldb.handler.GlobalDBHandler.get_historical_price` [bad-argument-type]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:209:9-40: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:209:31-38: The type of attribute `resolve` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:210:9-36: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:210:27-34: The type of attribute `resolve` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:211:9-42: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:215:9-40: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:215:31-38: The type of attribute `resolve` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:216:9-36: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:216:27-34: The type of attribute `resolve` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:217:9-28: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:276:13-25: The type of `asset` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:277:23-45: The type of `expected_price1` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:278:23-45: The type of `expected_price2` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:286:26-33: The type of attribute `resolve` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:286:20-33: Object of class `FVal` has no attribute `resolve` [missing-attribute]
- ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:292:26-33: The type of attribute `resolve` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR rotkehlchen/tests/external_apis/test_cryptocompare.py:292:20-33: Object of class `FVal` has no attribute `resolve` [missing-attribute]
- ERROR rotkehlchen/tests/external_apis/test_yearn.py:456:65-71: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/external_apis/test_yearn.py:456:73-77: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/external_apis/test_yearn.py:465:36-53: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/external_apis/test_yearn.py:468:74-79: The type of attribute `value` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR rotkehlchen/tests/integration/test_eth2.py:94:82-121: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:95:82-121: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:94:101-121: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress | None` in function `rotkehlchen.chain.ethereum.modules.eth2.structures.ValidatorDetails.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:95:101-121: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress | None` in function `rotkehlchen.chain.ethereum.modules.eth2.structures.ValidatorDetails.__init__` [bad-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:103:55-82: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:103:65-82: Argument `list[str]` is not assignable to parameter `addresses` with type `Sequence[ChecksumAddress]` in function `rotkehlchen.chain.ethereum.modules.eth2.eth2.Eth2.query_services_for_validator_withdrawals` [bad-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:132:17-56: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:142:17-56: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:152:17-56: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:162:17-56: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:172:17-56: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:182:17-56: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:132:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:142:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:152:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:162:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:172:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:182:36-56: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthWithdrawalEvent.__init__` [bad-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:231:5-20: The type of `vindex1_address` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:231:22-37: The type of `vindex2_address` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:238:17-51: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:245:17-51: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:238:36-51: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress | None` in function `rotkehlchen.chain.ethereum.modules.eth2.structures.ValidatorDetails.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:245:36-51: Argument `str` is not assignable to parameter `withdrawal_address` with type `ChecksumAddress | None` in function `rotkehlchen.chain.ethereum.modules.eth2.structures.ValidatorDetails.__init__` [bad-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:285:9-38: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:301:9-38: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:309:9-38: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:317:9-38: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:325:9-38: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:333:9-38: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:349:9-38: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:357:9-38: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:373:9-38: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:285:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:301:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:309:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:317:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:325:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:333:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:349:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:357:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:373:23-38: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:662:16-28: The type of `user_address` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:668:23-35: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
+ ERROR rotkehlchen/tests/integration/test_eth2.py:677:23-35: Argument `str` is not assignable to parameter `fee_recipient` with type `ChecksumAddress` in function `rotkehlchen.history.events.structures.eth2.EthBlockEvent.__init__` [bad-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:668:9-35: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:677:9-35: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_eth2.py:693:9-36: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_premium.py:912:9-40: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_transactions.py:78:9-42: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/integration/test_transactions.py:79:9-40: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/profiling/test_profiling.py:29:9-16: The type of `account` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR rotkehlchen/tests/unit/accounting/test_basic.py:72:36-49: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/unit/accounting/test_basic.py:128:36-55: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/unit/accounting/test_prefork_assets.py:25:54-56: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR rotkehlchen/tests/unit/accounting/test_prefork_assets.py:58:44-58: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/unit/accounting/test_prefork_assets.py:58:44-58: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR rotkehlchen/tests/unit/accounting/test_prefork_assets.py:63:12-26: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/unit/accounting/test_prefork_assets.py:63:12-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR rotkehlchen/tests/unit/accounting/test_settings.py:275:36-44: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/unit/accounting/test_staking.py:76:13-58: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/unit/accounting/test_staking.py:76:23-58: Argument `int` is not assignable to parameter `timestamp` with type `TimestampMS` in function `rotkehlchen.history.events.structures.base.HistoryEvent.__init__` [bad-argument-type]
- ERROR rotkehlchen/tests/unit/accounting/test_staking.py:87:13-44: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/unit/accounting/test_staking.py:87:23-44: Argument `TimestampMS | int` is not assignable to parameter `timestamp` with type `TimestampMS` in function `rotkehlchen.history.events.structures.base.HistoryEvent.__init__` [bad-argument-type]
- ERROR rotkehlchen/tests/unit/accounting/test_staking.py:98:31-52: The type of this argument is unknown [unknown-argument-type]
- ERROR rotkehlchen/tests/unit/accounting/test_staking.py:99:29-68: The type of this argument is unknown [unknown-argument-type]
+ ERROR rotkehlchen/tests/unit/accounting/test_staking.py:98:31-52: Argument `TimestampMS | int` is not assignable to parameter `ts` with type `TimestampMS` in function `rotkehlchen.utils.misc.ts_ms_to_sec` [bad-argument-type]
+ ERROR rotkehlchen/tests/unit/accounting/test_staking.py:99:29-68: Argument `int` is not assignable to parameter `ts` with type `TimestampMS` in function `rotkehlchen.utils.misc.ts_ms_to_sec` [bad-argument-type]
- ERROR rotkehlchen/tests/unit/accounting/test_staking.py:104:50-68: Argument `Literal[0] | Unknown` is not assignable to parameter `taxable` with type `FVal` in function `rotkehlchen.accounting.pnl.PNL.__init__` [bad-argument-type]
... (truncated 3311 lines) ...
cattrs (https://github.com/python-attrs/cattrs)
- ERROR bench/test_attrs_collections.py:57:9-56: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_attrs_collections.py:60:11-22: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_attrs_collections.py:115:9-56: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_attrs_collections.py:118:11-22: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR bench/test_attrs_collections.py:150:5-8: The type of `raw` is an explicit `Any` [explicit-any-use]
- ERROR bench/test_attrs_collections.py:143:9-24: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_attrs_collections.py:150:11-30: The type of `raw` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_attrs_collections.py:150:13-24: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_attrs_collections.py:152:17-26: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_attrs_nested.py:14:9-56: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_attrs_nested.py:67:17-28: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_attrs_nested.py:75:9-56: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_attrs_nested.py:136:17-28: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_attrs_primitives.py:55:9-56: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_attrs_primitives.py:58:11-22: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR bench/test_attrs_primitives.py:136:5-8: The type of `raw` is an explicit `Any` [explicit-any-use]
- ERROR bench/test_attrs_primitives.py:101:9-56: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_attrs_primitives.py:136:11-30: The type of `raw` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_attrs_primitives.py:136:13-24: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_attrs_primitives.py:138:17-26: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_enums.py:31:9-24: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_enums.py:32:17-28: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_enums.py:38:9-24: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_enums.py:39:17-26: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_enums.py:45:9-24: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_enums.py:46:17-28: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_enums.py:52:9-24: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_enums.py:53:17-26: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_enums.py:59:9-24: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_enums.py:60:17-28: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_enums.py:66:9-24: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_enums.py:67:17-26: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_primitives.py:8:9-24: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_primitives.py:10:17-28: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_primitives.py:15:9-24: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_primitives.py:17:17-28: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_tuples.py:16:9-63: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_tuples.py:18:17-26: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_tuples.py:24:9-24: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_tuples.py:26:17-28: The type of attribute `unstructure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR bench/test_tuples.py:33:9-63: The type of `c` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR bench/test_tuples.py:35:17-26: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/preconf/test_msgspec_cpython.py:240:30-32: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/preconf/test_msgspec_cpython.py:243:13-26: The type of `value` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/preconf/test_msgspec_cpython.py:243:19-25: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/preconf/test_msgspec_cpython.py:245:28-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/preconf/test_msgspec_cpython.py:245:35-60: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/preconf/test_msgspec_cpython.py:246:37-47: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/preconf/test_msgspec_cpython.py:246:49-54: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/preconf/test_msgspec_cpython.py:243:19-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/preconf/test_msgspec_cpython.py:247:38-48: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/preconf/test_msgspec_cpython.py:244:29-35: Implicit conversion of `list[int] | list[Unknown]` to `bool` is not allowed [implicit-bool]
- ERROR tests/preconf/test_msgspec_cpython.py:254:5-21: Untyped class decorator may modify `Queue` in unexpected ways [untyped-class-decorator]
- ERROR tests/strategies/test_include_subclasses.py:361:9-38: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/strategies/test_include_subclasses.py:361:9-38: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_converter.py:166:27-46: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_converter_inheritance.py:53:13-23: Type of base class is Unknown [unknown-base-class]
+ ERROR tests/test_converter_inheritance.py:53:13-23: Invalid base class: `Hashable | Iterable[int] | Iterable[Unknown] | Reversible[Unknown]` [invalid-inheritance]
+ ERROR tests/test_converter_inheritance.py:53:13-23: Cannot determine the type parameter `_T_co` for generic class `Iterable[_T_co]` [implicit-any-type-argument]
+ ERROR tests/test_converter_inheritance.py:53:13-23: Cannot determine the type parameter `_T_co` for generic class `Reversible[_T_co]` [implicit-any-type-argument]
- ERROR tests/test_converter_inheritance.py:81:13-32: Type of base class is Unknown [unknown-base-class]
+ ERROR tests/test_converter_inheritance.py:81:13-32: Invalid base class: `Hashable | Iterable[int] | Iterable[Unknown] | Reversible[Unknown]` [invalid-inheritance]
+ ERROR tests/test_converter_inheritance.py:81:13-32: Cannot determine the type parameter `_T_co` for generic class `Iterable[_T_co]` [implicit-any-type-argument]
+ ERROR tests/test_converter_inheritance.py:81:13-32: Cannot determine the type parameter `_T_co` for generic class `Reversible[_T_co]` [implicit-any-type-argument]
- ERROR tests/test_disambiguators.py:385:5-15: Untyped class decorator may modify `A` in unexpected ways [untyped-class-decorator]
- ERROR tests/test_disambiguators.py:389:5-15: Untyped class decorator may modify `B` in unexpected ways [untyped-class-decorator]
- ERROR tests/test_disambiguators.py:394:39-52: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_disambiguators.py:405:51-52: Expected a type form, got instance of `type[test_literal_field_renaming.A]` [not-a-type]
+ ERROR tests/test_disambiguators.py:405:54-55: Expected a type form, got instance of `type[test_literal_field_renaming.B]` [not-a-type]
- ERROR tests/test_frozendicts_315.py:79:41-62: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_frozendicts_315.py:79:41-62: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR tests/test_frozendicts_315.py:84:41-62: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_frozendicts_315.py:84:41-62: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR tests/test_frozendicts_315.py:87:41-62: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_frozendicts_315.py:87:41-62: The type of this argument is unknown because it comes from an error [unknown-from-error]
+ ERROR tests/test_gen_dict.py:135:47-64: Argument `bool | str` is not assignable to parameter `omit_if_default` with type `bool` in function `cattrs.converters.Converter.__init__` [bad-argument-type]
- ERROR tests/test_gen_dict.py:125:5-14: Untyped class decorator may modify `A` in unexpected ways [untyped-class-decorator]
- ERROR tests/test_gen_dict.py:135:31-64: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_gen_dict.py:137:15-80: The type of `options` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_gen_dict.py:140:76-85: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_gen_dict.py:144:57-66: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_gen_dict.py:148:12-71: The type of `omit` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_gen_dict.py:140:76-85: Unpacked keyword argument `bool` is not assignable to parameter `**kwargs` with type `AttributeOverride` in function `cattrs.gen.make_dict_unstructure_fn_from_attrs` [bad-argument-type]
+ ERROR tests/test_gen_dict.py:140:76-85: Unpacked keyword argument `bool` is not assignable to parameter `typevar_map` with type `dict[str, Any]` in function `cattrs.gen.make_dict_unstructure_fn_from_attrs` [bad-argument-type]
+ ERROR tests/test_gen_dict.py:144:57-66: Unpacked keyword argument `bool` is not assignable to parameter `**kwargs` with type `AttributeOverride` in function `cattrs.gen.make_dict_unstructure_fn` [bad-argument-type]
- ERROR tests/test_gen_dict.py:168:27-58: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_gen_dict.py:346:62-72: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_gen_dict.py:349:60-70: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_gen_dict.py:353:32-40: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:58:11-65: The type of `res` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:58:38-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_generics.py:58:47-64: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:69:18-24: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_generics.py:70:11-72:6: The type of `res` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:70:21-60: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_generics.py:71:14-28: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_generics.py:87:28-35: Argument `list[int] | list[str]` is not assignable to parameter `b` with type `list[int | str]` in function `GenericCols.__init__` [bad-argument-type]
+ ERROR tests/test_generics.py:87:28-35: Argument `dict[str, int] | dict[str, str]` is not assignable to parameter `c` with type `dict[str, int | str]` in function `GenericCols.__init__` [bad-argument-type]
- ERROR tests/test_generics.py:87:16-36: The type of `expected` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:87:28-35: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_generics.py:89:11-67: The type of `res` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:89:41-49: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:89:52-66: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:101:16-36: The type of `expected` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:101:28-35: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_generics.py:103:11-67: The type of `res` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:103:41-49: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:103:52-66: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_generics.py:123:47-64: `int | str` is not assignable to upper bound `int` of type variable `T3` [bad-specialization]
- ERROR tests/test_generics.py:123:11-65: The type of `res` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_generics.py:123:38-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_generics.py:123:47-64: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_sentinels_315.py:28:54-56: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
+ ERROR tests/test_sentinels_315.py:28:58-60: Cannot infer type of empty container; it will be treated as containing `Any` [implicit-any-empty-container]
- ERROR tests/test_sentinels_315.py:32:29-34: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_sentinels_315.py:32:29-34: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_sentinels_315.py:38:43-49: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:39:37-43: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:40:43-49: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:41:37-43: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_sentinels_315.py:50:9-40: Result of call expression is of type `MISSING | UNSET | None` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tests/test_sentinels_315.py:47:43-49: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:48:41-47: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:50:33-39: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:56:38-44: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:57:43-49: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:58:40-46: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:59:43-49: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:65:43-58: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:66:41-56: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_sentinels_315.py:65:53-58: Explicit `Any` is not allowed [explicit-any]
+ ERROR tests/test_sentinels_315.py:66:51-56: Explicit `Any` is not allowed [explicit-any]
- ERROR tests/test_sentinels_315.py:81:5-15: Untyped class decorator may modify `Example` in unexpected ways [untyped-class-decorator]
- ERROR tests/test_sentinels_315.py:145:43-49: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_sentinels_315.py:146:41-47: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_structure_attrs.py:144:17-32: The type of `converter` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_structure_attrs.py:150:22-31: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_structure_attrs.py:158:17-32: The type of `converter` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_structure_attrs.py:164:22-31: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_structure_attrs.py:172:17-32: The type of `converter` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_structure_attrs.py:182:22-31: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_structure_attrs.py:190:17-32: The type of `converter` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_structure_attrs.py:204:22-31: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_structure_attrs.py:207:22-31: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_structure_attrs.py:211:22-31: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_structure_attrs.py:215:11-71: The type of `cwl` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_structure_attrs.py:215:21-30: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_structure_attrs.py:217:27-40: The type of attribute `literal_field` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_structure_attrs.py:230:9-68: Result of call expression is of type `test_structure_literal_error.ClassWithLiteral` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tests/test_structure_attrs.py:223:17-32: The type of `converter` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_structure_attrs.py:230:19-28: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_structure_attrs.py:243:9-68: Result of call expression is of type `test_structure_literal_multiple_error.ClassWithLiteral` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR tests/test_structure_attrs.py:236:17-32: The type of `converter` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_structure_attrs.py:243:19-28: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_structure_attrs.py:267:17-62: The type of `converter` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_structure_attrs.py:282:22-31: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_structure_attrs.py:282:68-70: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_structure_attrs.py:298:17-33: The type of `converter` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_structure_attrs.py:314:12-58: The type of `inst` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_structure_attrs.py:314:22-31: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR tests/test_structure_attrs.py:317:12-81: The type of `inst` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR tests/test_structure_attrs.py:317:22-31: The type of attribute `structure` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
altair (https://github.com/vega/altair)
- ERROR tests/test_transformed_data.py:33:1-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_transformed_data.py:34:1-26: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_transformed_data.py:35:1-83:3: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_transformed_data.py:84:1-58: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_transformed_data.py:87:65-73: The type of this argument is unknown [unknown-argument-type]
... (truncated 3033 lines) ... |
Summary
Fixes #3715
infer the type from pytest test data.
Test Plan
add test