Repository navigation
fix(binding): treat object.__setattr__/setattr as instance init - #5423
Open
mangeshraut712 wants to merge 1 commit into
Open
mangeshraut712 wants to merge 1 commit into
mangeshraut712 wants to merge 1 commit into
Conversation
Frozen dataclasses often initialize fields with object.__setattr__ in __init__. Count those (and setattr with a literal name) the same as self.attr = value for uninitialized-instance-variable. Fixes meta#5326
Contributor
|
This pull request has been imported. If you are a Meta employee, you can view this in D127975133. (Because this pull request was imported automatically, there will not be any future comments.) |
|
Diff from mypy_primer, showing the effect of this PR on open source code: ============================================================
SUMMARY
============================================================
Total: +301 new errors, -338 fixed errors
By preset: +1/-17 (default), +1/-17 (strict)
Projects with changes (24):
pip: +6 -7
mongo-python-driver: +8 -72
altair: +53 -49
jax: +0 -12
spark: +5 -6
scikit-learn: +2 -0
prefect: +13 -18
setuptools: +6 -7
manticore: +62 -38
asynq: +7 -0
streamlit: +0 -5
pandera: +6 -15
ibis: +11 -11
bokeh: +1 -4
ignite: +1 -0
antidote: +0 -4
pandas: +56 -9
hydpy: +2 -0
werkzeug: +17 -9
sphinx: +0 -13
dd-trace-py: +4 -0
core: +2 -0
kornia: +39 -47
pydantic: +0 -12
============================================================
FULL DIFF DETAILS
------------------------------------------------------------
pip (https://github.com/pypa/pip)
- ERROR src/pip/_vendor/packaging/direct_url.py:159:5-8: Instance attribute `vcs` is declared but never initialized [uninitialized-instance-variable]
- ERROR src/pip/_vendor/packaging/direct_url.py:160:5-14: Instance attribute `commit_id` is declared but never initialized [uninitialized-instance-variable]
- ERROR src/pip/_vendor/packaging/direct_url.py:259:5-8: Instance attribute `url` is declared but never initialized [uninitialized-instance-variable]
- ERROR src/pip/_vendor/packaging/pylock.py:327:5-9: Instance attribute `type` is declared but never initialized [uninitialized-instance-variable]
+ ERROR src/pip/_vendor/packaging/pylock.py:331:21-41: Unused `# type: ignore` comment [unused-type-ignore]
- ERROR src/pip/_vendor/packaging/pylock.py:368:5-9: Instance attribute `path` is declared but never initialized [uninitialized-instance-variable]
+ ERROR src/pip/_vendor/packaging/pylock.py:399:32-52: Unused `# type: ignore` comment [unused-type-ignore]
+ ERROR src/pip/_vendor/packaging/pylock.py:441:32-52: Unused `# type: ignore` comment [unused-type-ignore]
+ ERROR src/pip/_vendor/packaging/pylock.py:493:32-52: Unused `# type: ignore` comment [unused-type-ignore]
- ERROR src/pip/_vendor/packaging/pylock.py:537:5-9: Instance attribute `name` is declared but never initialized [uninitialized-instance-variable]
- ERROR src/pip/_vendor/packaging/pylock.py:673:5-17: Instance attribute `lock_version` is declared but never initialized [uninitialized-instance-variable]
+ ERROR src/pip/_vendor/packaging/pylock.py:679:22-42: Unused `# type: ignore` comment [unused-type-ignore]
+ ERROR src/pip/_vendor/packaging/pylock.py:680:34-54: Unused `# type: ignore` comment [unused-type-ignore]
mongo-python-driver (https://github.com/mongodb/mongo-python-driver)
+ ERROR gridfs/asynchronous/grid_file.py:1166:43-47: The type of this attribute is an explicit `Any` [explicit-any-use]
+ ERROR gridfs/asynchronous/grid_file.py:1167:45-56: The type of this attribute is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1180:64-85: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1180:77-85: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1185:75-96: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1185:88-96: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1191:55-76: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1191:68-76: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1196:36-49: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1196:41-49: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1204:39-44: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1204:68-76: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1207:34-39: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1207:63-71: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1233:5-12: Instance attribute `_buffer` is declared but never initialized [uninitialized-instance-variable]
- ERROR gridfs/asynchronous/grid_file.py:1234:5-12: Instance attribute `_closed` is declared but never initialized [uninitialized-instance-variable]
- ERROR gridfs/asynchronous/grid_file.py:1235:5-19: Instance attribute `_buffered_docs` is declared but never initialized [uninitialized-instance-variable]
- ERROR gridfs/asynchronous/grid_file.py:1236:5-24: Instance attribute `_buffered_docs_size` is declared but never initialized [uninitialized-instance-variable]
- ERROR gridfs/asynchronous/grid_file.py:1241:27-32: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1242:25-30: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1254:18-23: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
+ ERROR gridfs/asynchronous/grid_file.py:1254:32-37: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1258:46-51: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1266:14-19: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
+ ERROR gridfs/asynchronous/grid_file.py:1266:28-33: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1269:38-43: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1278:35-40: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1278:59-72: The type of attribute `_chunk_number` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1290:82-90: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1296:54-59: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1305:9-27: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1305:14-27: The type of attribute `_chunk_number` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1306:9-23: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1306:14-23: The type of attribute `_position` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1319:18-23: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1319:42-56: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1319:47-56: The type of attribute `_position` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1320:18-23: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1322:59-64: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/asynchronous/grid_file.py:1322:79-87: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
+ ERROR gridfs/synchronous/grid_file.py:1158:43-47: The type of this attribute is an explicit `Any` [explicit-any-use]
+ ERROR gridfs/synchronous/grid_file.py:1159:45-56: The type of this attribute is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1170:58-79: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1170:71-79: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1175:63-84: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1175:76-84: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1180:75-96: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1180:88-96: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1184:36-49: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1184:41-49: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1192:39-44: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1192:68-76: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1194:58-63: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1194:87-95: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1219:5-12: Instance attribute `_buffer` is declared but never initialized [uninitialized-instance-variable]
- ERROR gridfs/synchronous/grid_file.py:1220:5-12: Instance attribute `_closed` is declared but never initialized [uninitialized-instance-variable]
- ERROR gridfs/synchronous/grid_file.py:1221:5-19: Instance attribute `_buffered_docs` is declared but never initialized [uninitialized-instance-variable]
- ERROR gridfs/synchronous/grid_file.py:1222:5-24: Instance attribute `_buffered_docs_size` is declared but never initialized [uninitialized-instance-variable]
- ERROR gridfs/synchronous/grid_file.py:1227:27-32: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1228:25-30: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1240:18-23: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
+ ERROR gridfs/synchronous/grid_file.py:1240:32-37: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1244:46-51: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1252:14-19: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
+ ERROR gridfs/synchronous/grid_file.py:1252:28-33: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1255:38-43: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1264:35-40: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1264:59-72: The type of attribute `_chunk_number` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1276:76-84: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1282:54-59: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1291:9-27: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1291:14-27: The type of attribute `_chunk_number` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1292:9-23: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1292:14-23: The type of attribute `_position` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1305:18-23: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1305:42-56: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1305:47-56: The type of attribute `_position` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1306:18-23: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1308:53-58: The type of attribute `_file` is an explicit `Any` [explicit-any-use]
- ERROR gridfs/synchronous/grid_file.py:1308:73-81: The type of attribute `_session` is an explicit `Any` [explicit-any-use]
altair (https://github.com/vega/altair)
- ERROR altair/datasets/_constraints.py:41:5-14: Instance attribute `_requires` is declared but never initialized [uninitialized-instance-variable]
- ERROR altair/datasets/_readimpl.py:104:5-7: Instance attribute `fn` is declared but never initialized [uninitialized-instance-variable]
- ERROR altair/datasets/_readimpl.py:107:5-12: Instance attribute `include` is declared but never initialized [uninitialized-instance-variable]
- ERROR altair/datasets/_readimpl.py:110:5-12: Instance attribute `exclude` is declared but never initialized [uninitialized-instance-variable]
- ERROR altair/utils/schemapi.py:1106:22-25: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1106:42-47: The type of attribute `_args` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1107:26-27: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1107:32-33: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1107:72-77: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/utils/schemapi.py:1106:22-25: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR altair/utils/schemapi.py:1106:31-34: The type of `arg` is an explicit `Any` [explicit-any-use]
+ ERROR altair/utils/schemapi.py:1107:16-86: The type of `kwds` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR altair/utils/schemapi.py:1107:26-27: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR altair/utils/schemapi.py:1107:63-64: The type of `v` is an explicit `Any` [explicit-any-use]
+ ERROR altair/utils/schemapi.py:1109:41-47: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR altair/utils/schemapi.py:1175:41-46: The type of attribute `_args` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1175:55-60: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/utils/schemapi.py:1178:44-59: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR altair/utils/schemapi.py:1183:21-26: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/utils/schemapi.py:1183:16-47: The type of `attr` is an explicit `Any` [explicit-any-use]
+ ERROR altair/utils/schemapi.py:1183:31-35: The type of this argument is unknown [unknown-argument-type]
+ ERROR altair/utils/schemapi.py:1186:16-20: The type of the returned value is an explicit `Any` [explicit-any-use]
- ERROR altair/utils/schemapi.py:1192:25-30: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1193:25-30: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/utils/schemapi.py:1192:12-16: The type of this argument is unknown [unknown-argument-type]
+ ERROR altair/utils/schemapi.py:1193:20-36: The type of the returned value is an explicit `Any` [explicit-any-use]
- ERROR altair/utils/schemapi.py:1202:14-19: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/utils/schemapi.py:1202:20-24: The type of this argument is unknown [unknown-argument-type]
+ ERROR altair/utils/schemapi.py:1202:28-31: The type of this argument is unknown [unknown-argument-type]
- ERROR altair/utils/schemapi.py:1205:21-26: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/utils/schemapi.py:1205:16-32: The type of the returned value is an explicit `Any` [explicit-any-use]
+ ERROR altair/utils/schemapi.py:1205:27-31: The type of this argument is unknown [unknown-argument-type]
- ERROR altair/utils/schemapi.py:1208:14-19: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1212:25-30: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1213:52-64: The type of this argument is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/utils/schemapi.py:1208:20-24: The type of this argument is unknown [unknown-argument-type]
- ERROR altair/utils/schemapi.py:1218:35-40: The type of attribute `_args` is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/utils/schemapi.py:1208:28-31: The type of this argument is unknown [unknown-argument-type]
+ ERROR altair/utils/schemapi.py:1212:12-30: Implicit conversion of `dict[str, Any]` to `bool` is not allowed [implicit-bool]
+ ERROR altair/utils/schemapi.py:1213:40-41: The type of `v` is an explicit `Any` [explicit-any-use]
- ERROR altair/utils/schemapi.py:1260:17-22: The type of attribute `_args` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1260:36-41: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1261:25-30: The type of attribute `_args` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1262:23-28: The type of attribute `_args` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1263:25-30: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/utils/schemapi.py:1260:12-22: Implicit conversion of `tuple[Any, ...]` to `bool` is not allowed [implicit-bool]
+ ERROR altair/utils/schemapi.py:1260:12-41: Implicit conversion of `bool | tuple[Any, ...]` to `bool` is not allowed [implicit-bool]
+ ERROR altair/utils/schemapi.py:1260:31-41: Implicit conversion of `dict[str, Any]` to `bool` is not allowed [implicit-bool]
+ ERROR altair/utils/schemapi.py:1261:20-33: The type of `kwds` is an explicit `Any` [explicit-any-use]
+ ERROR altair/utils/schemapi.py:1262:18-28: Implicit conversion of `tuple[Any, ...]` to `bool` is not allowed [implicit-bool]
+ ERROR altair/utils/schemapi.py:1267:33-34: The type of `v` is an explicit `Any` [explicit-any-use]
- ERROR altair/utils/schemapi.py:1266:58-62: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1267:38-50: The type of `v` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1267:54-55: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR altair/utils/schemapi.py:1268:16-68: Implicit conversion of `bool | Unknown | None` to `bool` is not allowed [implicit-bool]
+ ERROR altair/utils/schemapi.py:1268:16-68: Implicit conversion of `bool | Any | None` to `bool` is not allowed [implicit-bool]
- ERROR altair/utils/schemapi.py:1268:17-41: Implicit conversion of `Unknown | None` to `bool` is not allowed [implicit-bool]
+ ERROR altair/utils/schemapi.py:1268:17-41: Implicit conversion of `Any | None` to `bool` is not allowed [implicit-bool]
- ERROR altair/utils/schemapi.py:1426:53-58: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/vegalite/v6/api.py:4090:28-33: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/vegalite/v6/api.py:4092:20-31: Returning Any from function declared to return "str" [no-any-return-explicit]
+ ERROR altair/vegalite/v6/api.py:4933:16-38: The type of `encoding` is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/api.py:4934:27-35: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR altair/vegalite/v6/api.py:4938:15-32: The type of `val` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/vegalite/v6/api.py:4940:21-24: The type of this argument is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/vegalite/v6/api.py:4938:15-32: The type of `val` is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/api.py:4938:24-28: The type of attribute `_get` is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/api.py:4940:21-24: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/api.py:4977:20-42: The type of `encoding` is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/api.py:4978:35-43: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR altair/vegalite/v6/api.py:5372:39-48: The type of `v` is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/vegalite/v6/api.py:5372:34-35: The type of `v` is an explicit `Any` [explicit-any-use]
- ERROR altair/vegalite/v6/api.py:5457:27-34: The type of `val` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/vegalite/v6/api.py:5459:39-42: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR altair/vegalite/v6/api.py:5464:46-56: The type of `v` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/vegalite/v6/api.py:5465:37-46: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR altair/vegalite/v6/api.py:5475:33-44: The type of this argument is unknown because it comes from an error [unknown-from-error]
+ ERROR altair/vegalite/v6/api.py:5457:27-34: The type of `val` is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/api.py:5459:39-42: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/api.py:5464:41-42: The type of `v` is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/api.py:5465:37-46: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/api.py:5475:33-44: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/schema/channels.py:234:21-54: The type of `condition` is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/schema/channels.py:240:40-58: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/schema/channels.py:242:35-41: The type of attribute `update` is an explicit `Any` [explicit-any-use]
- ERROR altair/vegalite/v6/schema/channels.py:239:18-38: `in` is not supported between `Literal['field']` and `UndefinedType` [not-iterable]
- ERROR altair/vegalite/v6/schema/channels.py:239:43-66: `not in` is not supported between `Literal['type']` and `UndefinedType` [not-iterable]
- ERROR altair/vegalite/v6/schema/channels.py:240:40-58: Cannot index into `UndefinedType` [bad-index]
+ ERROR altair/vegalite/v6/schema/channels.py:259:17-46: The type of `datum` is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/schema/channels.py:22297:20-45: The type of `encoding` is an explicit `Any` [explicit-any-use]
- ERROR altair/vegalite/v6/schema/channels.py:22299:51-56: The type of attribute `_kwds` is unknown because it comes from an error [unknown-from-error]
- ERROR altair/vegalite/v6/schema/channels.py:22301:9-24: Object of class `UndefinedType` has no attribute `update` [missing-attribute]
- ERROR altair/vegalite/v6/schema/channels.py:22302:48-56: Expected argument after ** to be a mapping, got: UndefinedType | dict[Unknown, Unknown] | Unknown in function `altair.vegalite.v6.schema.core.FacetedEncoding.__init__` [bad-unpacking]
+ ERROR altair/vegalite/v6/schema/channels.py:22299:37-38: The type of `v` is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/schema/channels.py:22301:18-24: The type of attribute `update` is an explicit `Any` [explicit-any-use]
+ ERROR altair/vegalite/v6/schema/channels.py:22302:46-56: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR tests/vegalite/v6/test_api.py:1519:17-42: The type of this argument is unknown because it comes from an error [unknown-from-error]
+ ERROR tests/vegalite/v6/test_api.py:1519:17-42: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR tests/vegalite/v6/test_api.py:1519:36-40: The type of attribute `keys` is an explicit `Any` [explicit-any-use]
+ ERROR tests/vegalite/v6/test_api.py:1811:20-47: The type of `encoding` is unknown because it comes from an error [unknown-from-error]
- ERROR tests/vegalite/v6/test_api.py:1813:20-33: Object of class `UndefinedType` has no attribute `_get` [missing-attribute]
- ERROR tests/vegalite/v6/test_api.py:1886:16-48: Object of class `UndefinedType` has no attribute `_get` [missing-attribute]
jax (https://github.com/google/jax)
- ERROR jax/_src/core.py:3923:3-8: Instance attribute `shape` is declared but never initialized [uninitialized-instance-variable]
- ERROR jax/_src/core.py:3924:3-8: Instance attribute `dtype` is declared but never initialized [uninitialized-instance-variable]
- ERROR jax/_src/core.py:3925:3-12: Instance attribute `_sharding` is declared but never initialized [uninitialized-instance-variable]
- ERROR jax/_src/core.py:3926:3-7: Instance attribute `_dll` is declared but never initialized [uninitialized-instance-variable]
- ERROR jax/_src/core.py:3927:3-12: Instance attribute `weak_type` is declared but never initialized [uninitialized-instance-variable]
- ERROR jax/_src/core.py:3928:3-19: Instance attribute `manual_axis_type` is declared but never initialized [uninitialized-instance-variable]
- ERROR jax/_src/core.py:3929:3-9: Instance attribute `is_ref` is declared but never initialized [uninitialized-instance-variable]
- ERROR jax/_src/core.py:3930:3-16: Instance attribute `_memory_space` is declared but never initialized [uninitialized-instance-variable]
- ERROR jax/_src/pallas/mosaic_gpu/interpret/jaxpr_interpret.py:50:3-15: Instance attribute `axis_indices` is declared but never initialized [uninitialized-instance-variable]
- ERROR jax/_src/pallas/mosaic_gpu/interpret/jaxpr_interpret.py:52:3-13: Instance attribute `axis_sizes` is declared but never initialized [uninitialized-instance-variable]
- ERROR jax/experimental/mosaic/gpu/fragmented_array.py:1149:3-9: Instance attribute `layout` is declared but never initialized [uninitialized-instance-variable]
- ERROR jax/experimental/mosaic/gpu/fragmented_array.py:1150:3-12: Instance attribute `is_signed` is declared but never initialized [uninitialized-instance-variable]
spark (https://github.com/apache/spark)
+ ERROR python/pyspark/pandas/frame.py:643:17-28: Attribute `_psseries` is implicitly defined by assignment in method `_pssers`, which is not a constructor [implicitly-defined-attribute]
- ERROR python/pyspark/pandas/frame.py:654:22-31: Attribute `_psseries` is implicitly defined by assignment in method `_pssers`, which is not a constructor [implicitly-defined-attribute]
- ERROR python/pyspark/pandas/frame.py:724:14-29: Attribute `_internal_frame` is implicitly defined by assignment in method `_update_internal_frame`, which is not a constructor [implicitly-defined-attribute]
- ERROR python/pyspark/pandas/frame.py:724:32-40: The type of this attribute is unknown because it comes from an error [unknown-from-error]
+ ERROR python/pyspark/pandas/frame.py:12989:42-49: Attribute `_data` is implicitly defined by assignment in method `info`, which is not a constructor [implicitly-defined-attribute]
+ ERROR python/pyspark/pandas/frame.py:14124:23-43: Attribute `_repr_pandas_cache` is implicitly defined by assignment in method `_get_or_create_repr_pandas_cache`, which is not a constructor [implicitly-defined-attribute]
- ERROR python/pyspark/pandas/frame.py:14122:69-87: The type of attribute `_repr_pandas_cache` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR python/pyspark/pandas/frame.py:14126:16-42: Returning implicit Any from function declared to return "DataFrame | Series" [no-any-return-implicit]
- ERROR python/pyspark/pandas/frame.py:14126:21-39: The type of attribute `_repr_pandas_cache` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR python/pyspark/pandas/frame.py:14502:49-77: The type of this attribute is unknown because it comes from an error [unknown-from-error]
+ ERROR python/pyspark/pandas/frame.py:14504:49-92: The type of this attribute is unknown because it comes from an error [unknown-from-error]
scikit-learn (https://github.com/scikit-learn/scikit-learn)
+ ERROR sklearn/utils/_repr_html/base.py:95:23-44: Attribute `__doc_link_template` is implicitly defined by assignment in method `_doc_link_template`, which is not a constructor [implicitly-defined-attribute]
+ ERROR sklearn/utils/_repr_html/base.py:95:46-51: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
prefect (https://github.com/PrefectHQ/prefect)
- ERROR src/prefect/server/database/dependencies.py:220:16-26: Object of class `_FuncWrapper` has no attribute `_func` [missing-attribute]
+ ERROR src/prefect/server/database/dependencies.py:215:43-47: The type of this attribute is unknown because it comes from an error [unknown-from-error]
+ ERROR src/prefect/server/database/dependencies.py:220:21-26: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
- ERROR src/prefect/server/database/dependencies.py:265:16-51: The type of `func` is unknown because it comes from an error [unknown-from-error]
+ ERROR src/prefect/server/database/dependencies.py:265:45-50: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
- ERROR src/prefect/server/database/dependencies.py:265:45-50: The type of attribute `_func` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/prefect/server/database/dependencies.py:289:44-72: The type of this argument is unknown [unknown-argument-type]
- ERROR src/prefect/server/database/dependencies.py:289:49-54: The type of attribute `_func` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/prefect/server/database/dependencies.py:289:49-54: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
- ERROR src/prefect/server/database/dependencies.py:289:55-62: The type of attribute `__get__` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/prefect/server/database/dependencies.py:292:36-41: The type of attribute `_func` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/prefect/server/database/dependencies.py:292:36-41: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
- ERROR src/prefect/server/database/dependencies.py:292:42-54: The type of attribute `__qualname__` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR src/prefect/server/database/dependencies.py:298:24-34: The type of this argument is unknown [unknown-argument-type]
- ERROR src/prefect/server/database/dependencies.py:298:29-34: The type of attribute `_func` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/prefect/server/database/dependencies.py:298:29-34: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
- ERROR src/prefect/server/database/dependencies.py:302:14-19: The type of attribute `_func` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/prefect/server/database/dependencies.py:302:14-19: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
- ERROR src/prefect/server/database/dependencies.py:306:14-19: The type of attribute `_func` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR src/prefect/server/database/dependencies.py:306:14-19: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
- ERROR src/prefect/server/database/dependencies.py:312:5-11: Instance attribute `_owner` is declared but never initialized [uninitialized-instance-variable]
- ERROR src/prefect/server/database/dependencies.py:320:40-50: Object of class `_DBInjectorMethod` has no attribute `_func` [missing-attribute]
- ERROR src/prefect/server/database/dependencies.py:328:44-54: Object of class `_DBInjectorMethod` has no attribute `_func` [missing-attribute]
- ERROR src/prefect/server/database/dependencies.py:334:24-34: Object of class `_DBInjectorMethod` has no attribute `_func` [missing-attribute]
- ERROR src/prefect/server/database/dependencies.py:338:9-19: Object of class `_DBInjectorMethod` has no attribute `_func` [missing-attribute]
+ ERROR src/prefect/server/database/dependencies.py:320:45-50: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
+ ERROR src/prefect/server/database/dependencies.py:328:49-54: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
+ ERROR src/prefect/server/database/dependencies.py:334:29-34: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
+ ERROR src/prefect/server/database/dependencies.py:338:14-19: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
- ERROR src/prefect/server/database/dependencies.py:342:9-19: Object of class `_DBInjectorMethod` has no attribute `_func` [missing-attribute]
+ ERROR src/prefect/server/database/dependencies.py:342:14-19: The type of attribute `_func` is unknown because it comes from an error [unknown-from-error]
setuptools (https://github.com/pypa/setuptools)
- ERROR setuptools/_vendor/packaging/direct_url.py:159:5-8: Instance attribute `vcs` is declared but never initialized [uninitialized-instance-variable]
- ERROR setuptools/_vendor/packaging/direct_url.py:160:5-14: Instance attribute `commit_id` is declared but never initialized [uninitialized-instance-variable]
- ERROR setuptools/_vendor/packaging/direct_url.py:259:5-8: Instance attribute `url` is declared but never initialized [uninitialized-instance-variable]
- ERROR setuptools/_vendor/packaging/pylock.py:327:5-9: Instance attribute `type` is declared but never initialized [uninitialized-instance-variable]
+ ERROR setuptools/_vendor/packaging/pylock.py:331:21-41: Unused `# type: ignore` comment [unused-type-ignore]
- ERROR setuptools/_vendor/packaging/pylock.py:368:5-9: Instance attribute `path` is declared but never initialized [uninitialized-instance-variable]
+ ERROR setuptools/_vendor/packaging/pylock.py:399:32-52: Unused `# type: ignore` comment [unused-type-ignore]
+ ERROR setuptools/_vendor/packaging/pylock.py:441:32-52: Unused `# type: ignore` comment [unused-type-ignore]
+ ERROR setuptools/_vendor/packaging/pylock.py:493:32-52: Unused `# type: ignore` comment [unused-type-ignore]
- ERROR setuptools/_vendor/packaging/pylock.py:537:5-9: Instance attribute `name` is declared but never initialized [uninitialized-instance-variable]
- ERROR setuptools/_vendor/packaging/pylock.py:673:5-17: Instance attribute `lock_version` is declared but never initialized [uninitialized-instance-variable]
+ ERROR setuptools/_vendor/packaging/pylock.py:679:22-42: Unused `# type: ignore` comment [unused-type-ignore]
+ ERROR setuptools/_vendor/packaging/pylock.py:680:34-54: Unused `# type: ignore` comment [unused-type-ignore]
manticore (https://github.com/trailofbits/manticore)
- ERROR manticore/utils/config.py:93:16-26: Returning implicit Any from function declared to return "str" [no-any-return-implicit]
- ERROR manticore/utils/config.py:93:21-26: The type of attribute `_name` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:105:12-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:105:25-30: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:105:25-30: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:107:24-40: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:107:29-34: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:107:29-34: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:107:35-39: The type of this argument is unknown [unknown-argument-type]
+ ERROR manticore/utils/config.py:116:9-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:116:14-19: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:116:14-19: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:124:12-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:124:25-30: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:124:25-30: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:125:42-58: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:125:47-52: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:125:47-52: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:125:53-57: The type of this argument is unknown [unknown-argument-type]
+ ERROR manticore/utils/config.py:126:34-50: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:126:39-44: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:126:39-44: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:126:45-49: The type of this argument is unknown [unknown-argument-type]
+ ERROR manticore/utils/config.py:132:9-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:132:14-19: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:132:14-19: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:138:12-34: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:138:29-34: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:138:29-34: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:141:16-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:141:21-26: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:141:21-26: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:141:27-31: The type of this argument is unknown [unknown-argument-type]
- ERROR manticore/utils/config.py:147:44-63: The type of this argument is unknown [unknown-argument-type]
+ ERROR manticore/utils/config.py:147:44-63: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:147:49-54: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:147:49-54: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:147:55-61: The type of attribute `values` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:147:55-61: The type of attribute `values` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:147:61-63: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:150:16-32: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:150:21-26: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:150:21-26: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:154:20-36: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:154:25-30: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:154:25-30: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:154:31-35: The type of this argument is unknown [unknown-argument-type]
+ ERROR manticore/utils/config.py:159:9-25: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:159:14-19: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:159:14-19: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:159:20-24: The type of this argument is unknown [unknown-argument-type]
- ERROR manticore/utils/config.py:162:16-32: The type of the returned value is unknown; it is inferred as an implicit `Any` [unknown-return-type]
+ ERROR manticore/utils/config.py:162:16-32: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:162:21-31: The type of this argument is unknown [unknown-argument-type]
+ ERROR manticore/utils/config.py:162:21-31: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:162:26-31: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:162:26-31: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:165:16-19: The type of this argument is unknown [unknown-argument-type]
+ ERROR manticore/utils/config.py:165:16-33: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:165:28-33: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:165:28-33: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:186:44-88: This expression's type is partially unknown; it contains an implicit `Any`. Please provide an explicit type annotation. [partially-unknown-type]
- ERROR manticore/utils/config.py:186:74-79: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:186:74-79: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:186:80-85: The type of attribute `items` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR manticore/utils/config.py:186:80-85: The type of attribute `items` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:186:85-87: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:192:17-25: The type of attribute `_entered` is an explicit `Any` [explicit-any-use]
+ ERROR manticore/utils/config.py:192:30-33: The type of this argument is unknown [unknown-argument-type]
+ ERROR manticore/utils/config.py:192:30-52: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:192:46-52: The type of attribute `_saved` is an explicit `Any` [explicit-any-use]
+ ERROR manticore/utils/config.py:192:46-52: The type of attribute `_saved` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:193:13-29: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:193:18-24: The type of attribute `_saved` is an explicit `Any` [explicit-any-use]
+ ERROR manticore/utils/config.py:193:18-24: The type of attribute `_saved` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:193:25-28: The type of this argument is unknown [unknown-argument-type]
- ERROR manticore/utils/config.py:193:40-51: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR manticore/utils/config.py:193:32-63: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR manticore/utils/config.py:193:45-51: The type of attribute `_group` is an explicit `Any` [explicit-any-use]
- ERROR manticore/utils/config.py:196:17-25: The type of attribute `_entered` is an explicit `Any` [explicit-any-use]
- ERROR manticore/utils/config.py:202:13-14: The type of `k` is an explicit `Any` [explicit-any-use]
+ ERROR manticore/utils/config.py:202:13-14: The type of `k` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR manticore/utils/config.py:202:23-29: The type of attribute `_saved` is an explicit `Any` [explicit-any-use]
+ ERROR manticore/utils/config.py:202:23-29: The type of attribute `_saved` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:203:21-32: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR manticore/utils/config.py:203:26-32: The type of attribute `_group` is an explicit `Any` [explicit-any-use]
- ERROR manticore/utils/config.py:203:34-35: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR manticore/utils/config.py:203:34-35: The type of this argument is unknown [unknown-argument-type]
+ ERROR manticore/utils/config.py:203:37-51: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR manticore/utils/config.py:203:37-51: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR manticore/utils/config.py:203:37-51: The type of this argument is unknown [unknown-argument-type]
- ERROR manticore/utils/config.py:203:42-48: The type of attribute `_saved` is an explicit `Any` [explicit-any-use]
+ ERROR manticore/utils/config.py:203:42-48: The type of attribute `_saved` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR manticore/utils/config.py:203:49-50: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/other/utils/test_config.py:41:26-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/other/utils/test_config.py:41:28-33: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/other/utils/test_config.py:41:28-33: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/other/utils/test_config.py:42:25-40: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/other/utils/test_config.py:42:27-32: The type of attribute `_vars` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/other/utils/test_config.py:42:27-32: The type of attribute `_vars` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
asynq (https://github.com/quora/asynq)
+ ERROR asynq/mock_.py:197:46-53: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR asynq/mock_.py:200:16-59: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR asynq/mock_.py:200:28-58: The type of this argument is unknown [unknown-argument-type]
+ ERROR asynq/mock_.py:200:33-41: The type of attribute `_mock_fn` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR asynq/mock_.py:223:46-53: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR asynq/mock_.py:227:20-50: The type of the returned value is unknown; it is inferred as an implicit `Any` [unknown-return-type]
+ ERROR asynq/mock_.py:227:25-33: The type of attribute `_mock_fn` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
streamlit (https://github.com/streamlit/streamlit)
- ERROR lib/streamlit/elements/bottom.py:38:5-15: Instance attribute `_bottom_dg` is declared but never initialized [uninitialized-instance-variable]
- ERROR lib/streamlit/runtime/state/safe_session_state.py:41:5-11: Instance attribute `_state` is declared but never initialized [uninitialized-instance-variable]
- ERROR lib/streamlit/runtime/state/safe_session_state.py:42:5-10: Instance attribute `_lock` is declared but never initialized [uninitialized-instance-variable]
- ERROR lib/streamlit/runtime/state/safe_session_state.py:43:5-20: Instance attribute `_yield_callback` is declared but never initialized [uninitialized-instance-variable]
- ERROR lib/streamlit/testing/v1/app_test.py:259:5-11: Instance attribute `_state` is declared but never initialized [uninitialized-instance-variable]
pandera (https://github.com/pandera-dev/pandera)
- ERROR pandera/config.py:152:16-34: Returning Any from function declared to return "PanderaConfig" [no-any-return-explicit]
- ERROR pandera/config.py:152:21-28: The type of attribute `_config` is an explicit `Any` [explicit-any-use]
- ERROR pandera/config.py:152:29-32: The type of attribute `get` is an explicit `Any` [explicit-any-use]
- ERROR pandera/config.py:155:16-40: The type of the returned value is an explicit `Any` [explicit-any-use]
- ERROR pandera/config.py:155:21-28: The type of attribute `_config` is an explicit `Any` [explicit-any-use]
- ERROR pandera/config.py:155:29-32: The type of attribute `set` is an explicit `Any` [explicit-any-use]
+ ERROR pandera/config.py:158:28-33: The type of this argument is unknown [unknown-argument-type]
- ERROR pandera/config.py:158:14-21: The type of attribute `_config` is an explicit `Any` [explicit-any-use]
- ERROR pandera/config.py:158:22-27: The type of attribute `reset` is an explicit `Any` [explicit-any-use]
- ERROR pandera/config.py:260:13-48: The type of `token` is an explicit `Any` [explicit-any-use]
- ERROR pandera/config.py:264:31-36: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR pandera/config.py:270:5-54: Result of call expression is of type `Token[PanderaConfig]` and is not used; assign to `_` if this is intentional [unused-call-result]
- ERROR pandera/engines/ibis_engine.py:330:5-9: Instance attribute `type` is declared but never initialized [uninitialized-instance-variable]
- ERROR pandera/engines/ibis_engine.py:436:5-9: Instance attribute `type` is declared but never initialized [uninitialized-instance-variable]
- ERROR pandera/engines/ibis_engine.py:489:5-9: Instance attribute `type` is declared but never initialized [uninitialized-instance-variable]
- ERROR pandera/engines/ibis_engine.py:516:5-9: Instance attribute `type` is declared but never initialized [uninitialized-instance-variable]
- ERROR pandera/engines/polars_engine.py:936:5-15: Instance attribute `categories` is declared but never initialized [uninitialized-instance-variable]
+ ERROR pandera/engines/pyspark_engine.py:477:49-60: The type of this attribute is an explicit `Any` [explicit-any-use]
+ ERROR pandera/engines/pyspark_engine.py:537:45-52: The type of this attribute is an explicit `Any` [explicit-any-use]
+ ERROR pandera/engines/pyspark_engine.py:538:47-56: The type of this attribute is an explicit `Any` [explicit-any-use]
+ ERROR tests/strategies/test_synthesis.py:121:13-37: Result of call expression is of type `Token[PanderaConfig]` and is not used; assign to `_` if this is intentional [unused-call-result]
ibis (https://github.com/ibis-project/ibis)
- ERROR ibis/common/bases.py:233:5-25: Instance attribute `__precomputed_hash__` is declared but never initialized [uninitialized-instance-variable]
- ERROR ibis/common/collections.py:283:5-25: Instance attribute `__precomputed_hash__` is declared but never initialized [uninitialized-instance-variable]
- ERROR ibis/common/grounds.py:221:16-41: Object of class `Concrete` has no attribute `__precomputed_hash__` [missing-attribute]
+ ERROR ibis/common/tests/test_bases.py:66:43-44: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
- ERROR ibis/common/tests/test_bases.py:70:12-17: Object of class `Foo` has no attribute `a` [missing-attribute]
- ERROR ibis/common/tests/test_bases.py:71:12-17: Object of class `Foo` has no attribute `b` [missing-attribute]
+ ERROR ibis/common/tests/test_bases.py:67:43-44: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR ibis/common/tests/test_bases.py:70:16-17: The type of attribute `a` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR ibis/common/tests/test_bases.py:71:16-17: The type of attribute `b` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR ibis/expr/types/core.py:43:5-9: Instance attribute `_arg` is declared but never initialized [uninitialized-instance-variable]
+ ERROR ibis/expr/types/joins.py:218:49-68: This expression's type is partially unknown; it contains an implicit `Any`. Please provide an explicit type annotation. [partially-unknown-type]
+ ERROR ibis/expr/types/joins.py:219:49-76: This expression's type is partially unknown; it contains an implicit `Any`. Please provide an explicit type annotation. [partially-unknown-type]
+ ERROR ibis/expr/types/joins.py:223:12-28: Implicit conversion of `set[Unknown] | Unknown` to `bool` is not allowed [implicit-bool]
- ERROR ibis/expr/types/joins.py:223:17-28: The type of attribute `_collisions` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR ibis/expr/types/joins.py:223:17-28: The type of attribute `_collisions` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR ibis/expr/types/joins.py:224:59-70: The type of attribute `_collisions` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR ibis/expr/types/joins.py:224:59-70: The type of attribute `_collisions` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR ibis/expr/types/joins.py:269:13-40: The type of this argument is unknown [unknown-argument-type]
+ ERROR ibis/expr/types/joins.py:269:13-40: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR ibis/expr/types/joins.py:269:29-40: The type of attribute `_equalities` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR ibis/expr/types/joins.py:269:29-40: The type of attribute `_equalities` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR ibis/tests/expr/test_value_exprs.py:1387:12-35: Object of class `Node` has no attribute `__precomputed_hash__` [missing-attribute]
bokeh (https://github.com/bokeh/bokeh)
+ ERROR src/bokeh/core/has_props.py:774:27-46: Attribute `__themed_values__` is implicitly defined by assignment in method `apply_theme`, which is not a constructor [implicitly-defined-attribute]
- ERROR src/bokeh/embed/result.py:121:5-10: Instance attribute `roots` is declared but never initialized [uninitialized-instance-variable]
- ERROR src/bokeh/embed/result.py:122:5-13: Instance attribute `requires` is declared but never initialized [uninitialized-instance-variable]
- ERROR src/bokeh/embed/result.py:123:5-18: Instance attribute `bokeh_version` is declared but never initialized [uninitialized-instance-variable]
- ERROR src/bokeh/embed/result.py:124:5-11: Instance attribute `schema` is declared but never initialized [uninitialized-instance-variable]
ignite (https://github.com/pytorch/ignite)
+ ERROR ignite/handlers/clearml_logger.py:182:22-31: Attribute `_bypass` is implicitly defined by assignment in method `set_bypass_mode`, which is not a constructor [implicitly-defined-attribute]
antidote (https://github.com/Finistere/antidote)
- ERROR src/antidote/core/_inject.py:62:5-11: Instance attribute `method` is declared but never initialized [uninitialized-instance-variable]
- ERROR src/antidote/core/_scope.py:22:5-9: Instance attribute `name` is declared but never initialized [uninitialized-instance-variable]
- ERROR src/antidote/core/_scope.py:23:5-15: Instance attribute `catalog_id` is declared but never initialized [uninitialized-instance-variable]
- ERROR src/antidote/core/provider.py:147:5-13: Instance attribute `_catalog` is declared but never initialized [uninitialized-instance-variable]
pandas (https://github.com/pandas-dev/pandas)
- ERROR pandas/_config/config.py:424:5-6: Instance attribute `d` is declared but never initialized [uninitialized-instance-variable]
+ ERROR pandas/core/arrays/base.py:3508:22-31: Attribute `__add__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3508:33-76: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3509:22-32: Attribute `__radd__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3509:34-79: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3510:22-31: Attribute `__sub__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3510:33-76: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3511:22-32: Attribute `__rsub__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3511:34-79: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3512:22-31: Attribute `__mul__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3512:33-76: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3513:22-32: Attribute `__rmul__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3513:34-79: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3514:22-31: Attribute `__pow__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3514:33-76: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3515:22-32: Attribute `__rpow__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3515:34-79: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3516:22-31: Attribute `__mod__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3516:33-76: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3517:22-32: Attribute `__rmod__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3517:34-79: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3518:22-36: Attribute `__floordiv__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3518:38-86: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3520:18-33: Attribute `__rfloordiv__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3520:35-85: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3522:22-35: Attribute `__truediv__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3522:37-84: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3523:22-36: Attribute `__rtruediv__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3523:38-87: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3524:22-34: Attribute `__divmod__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3524:36-73: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3525:22-35: Attribute `__rdivmod__` is implicitly defined by assignment in method `_add_arithmetic_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3525:37-85: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3533:22-30: Attribute `__eq__` is implicitly defined by assignment in method `_add_comparison_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3534:22-30: Attribute `__ne__` is implicitly defined by assignment in method `_add_comparison_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3535:22-30: Attribute `__lt__` is implicitly defined by assignment in method `_add_comparison_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3535:32-74: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3536:22-30: Attribute `__gt__` is implicitly defined by assignment in method `_add_comparison_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3536:32-74: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3537:22-30: Attribute `__le__` is implicitly defined by assignment in method `_add_comparison_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3537:32-74: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3538:22-30: Attribute `__ge__` is implicitly defined by assignment in method `_add_comparison_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3538:32-74: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3546:22-31: Attribute `__and__` is implicitly defined by assignment in method `_add_logical_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3546:33-74: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3547:22-32: Attribute `__rand__` is implicitly defined by assignment in method `_add_logical_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3547:34-77: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3548:22-30: Attribute `__or__` is implicitly defined by assignment in method `_add_logical_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3548:32-72: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3549:22-31: Attribute `__ror__` is implicitly defined by assignment in method `_add_logical_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3549:33-75: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3550:22-31: Attribute `__xor__` is implicitly defined by assignment in method `_add_logical_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3550:33-73: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/arrays/base.py:3551:22-32: Attribute `__rxor__` is implicitly defined by assignment in method `_add_logical_ops`, which is not a constructor [implicitly-defined-attribute]
+ ERROR pandas/core/arrays/base.py:3551:34-76: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR pandas/core/base.py:155:34-44: Attribute `__frozen` is implicitly defined by assignment in method `_freeze`, which is not a constructor [implicitly-defined-attribute]
- ERROR pandas/core/generic.py:287:5-9: Instance attribute `_mgr` is declared but never initialized [uninitialized-instance-variable]
- ERROR pandas/core/generic.py:288:5-11: Instance attribute `_attrs` is declared but never initialized [uninitialized-instance-variable]
- ERROR pandas/core/generic.py:444:16-27: Returning implicit Any from function declared to return "Flags" [no-any-return-implicit]
- ERROR pandas/core/generic.py:444:21-27: The type of attribute `_flags` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR pandas/core/generic.py:6441:26-32: The type of attribute `_flags` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR pandas/core/generic.py:6441:33-57: The type of attribute `_allows_duplicate_labels` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR pandas/core/groupby/ops.py:1481:26-32: The type of attribute `_flags` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
- ERROR pandas/core/groupby/ops.py:1481:33-57: The type of attribute `_allows_duplicate_labels` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR pandas/tests/io/test_pickle.py:711:49-69: Instance-only attribute `_metadata` of class `_DynMetadataSeries` is not visible on the class [missing-attribute]
hydpy (https://github.com/hydpy-dev/hydpy)
+ ERROR hydpy/models/arma/arma_control.py:233:27-35: Attribute `th_0_0` is implicitly defined by assignment in method `__call__`, which is not a constructor [implicitly-defined-attribute]
+ ERROR hydpy/models/arma/arma_control.py:233:37-44: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
werkzeug (https://github.com/pallets/werkzeug)
- ERROR tests/test_local.py:525:20-41: The type of the returned value is unknown; it is inferred as an implicit `Any` [unknown-return-type]
+ ERROR tests/test_local.py:525:20-41: The type of the returned value is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_local.py:525:25-31: The type of attribute `values` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_local.py:525:25-31: The type of attribute `values` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_local.py:525:32-35: The type of attribute `get` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_local.py:525:32-35: The type of attribute `get` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_local.py:525:35-41: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_local.py:525:36-40: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_local.py:528:13-30: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_local.py:528:18-24: The type of attribute `values` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_local.py:528:18-24: The type of attribute `values` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_local.py:528:25-29: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_local.py:528:33-38: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_local.py:531:17-34: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_local.py:531:22-28: The type of attribute `values` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_local.py:531:22-28: The type of attribute `values` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_local.py:531:29-33: The type of this argument is unknown [unknown-argument-type]
- ERROR tests/test_local.py:534:27-45: The type of this argument is unknown [unknown-argument-type]
+ ERROR tests/test_local.py:534:27-45: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_local.py:534:32-38: The type of attribute `values` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_local.py:534:32-38: The type of attribute `values` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR tests/test_local.py:534:39-43: The type of attribute `keys` is unknown; it is inferred as an implicit `Any` [unknown-attribute-access]
+ ERROR tests/test_local.py:534:39-43: The type of attribute `keys` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR tests/test_local.py:534:43-45: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR src/werkzeug/local.py:465:5-24: Instance attribute `_get_current_object` is declared but never initialized [uninitialized-instance-variable]
+ ERROR src/werkzeug/local.py:535:59-87: Unused `# type: ignore` comment [unused-type-ignore]
sphinx (https://github.com/sphinx-doc/sphinx)
- ERROR sphinx/builders/html/_assets.py:16:5-13: Instance attribute `filename` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/builders/html/_assets.py:17:5-13: Instance attribute `priority` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/builders/html/_assets.py:18:5-15: Instance attribute `attributes` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/builders/html/_assets.py:64:5-13: Instance attribute `filename` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/builders/html/_assets.py:65:5-13: Instance attribute `priority` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/builders/html/_assets.py:66:5-15: Instance attribute `attributes` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/ext/intersphinx/_shared.py:45:5-9: Instance attribute `name` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/ext/intersphinx/_shared.py:46:5-15: Instance attribute `target_uri` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/ext/intersphinx/_shared.py:47:5-14: Instance attribute `locations` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/util/inventory.py:248:5-17: Instance attribute `project_name` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/util/inventory.py:249:5-20: Instance attribute `project_version` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/util/inventory.py:250:5-8: Instance attribute `uri` is declared but never initialized [uninitialized-instance-variable]
- ERROR sphinx/util/inventory.py:251:5-17: Instance attribute `display_name` is declared but never initialized [uninitialized-instance-variable]
dd-trace-py (https://github.com/DataDog/dd-trace-py)
+ ERROR ddtrace/internal/settings/integration.py:48:51-64: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR ddtrace/internal/settings/integration.py:49:54-58: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR ddtrace/internal/settings/integration.py:50:42-54: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
+ ERROR ddtrace/internal/settings/integration.py:66:13-97: This expression is implicitly inferred to be `Any`. Please provide an explicit type annotation. [unknown-attribute-type]
core (https://github.com/home-assistant/core)
+ ERROR homeassistant/components/unifiprotect/sensor.py:86:57-75: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR homeassistant/components/unifiprotect/sensor.py:86:62-75: The type of attribute `get_ufp_value` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
kornia (https://github.com/kornia/kornia)
+ ERROR kornia/core/tensor_wrapper.py:70:37-42: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
- ERROR kornia/core/tensor_wrapper.py:70:37-42: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:70:43-47: The type of attribute `ndim` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:136:14-19: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:220:25-30: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:136:14-19: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
+ ERROR kornia/core/tensor_wrapper.py:220:25-30: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
+ ERROR kornia/core/tensor_wrapper.py:222:43-47: The type of this attribute is unknown because it comes from an error [unknown-from-error]
- ERROR kornia/core/tensor_wrapper.py:233:21-26: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:233:21-26: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
- ERROR kornia/core/tensor_wrapper.py:244:27-32: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:244:27-32: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
- ERROR kornia/core/tensor_wrapper.py:245:31-46: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:245:31-46: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR kornia/core/tensor_wrapper.py:245:36-46: The type of attribute `used_attrs` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:245:36-46: The type of attribute `used_attrs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR kornia/core/tensor_wrapper.py:246:37-41: The type of `func` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:246:37-41: The type of `func` is unknown; it is inferred as an implicit `Any` [unknown-variable-type]
- ERROR kornia/core/tensor_wrapper.py:246:50-60: The type of attribute `used_calls` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:246:50-60: The type of attribute `used_calls` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR kornia/core/tensor_wrapper.py:246:78-82: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:246:78-82: The type of this argument is unknown [unknown-argument-type]
- ERROR kornia/core/tensor_wrapper.py:257:50-55: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:257:50-55: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
- ERROR kornia/core/tensor_wrapper.py:265:14-24: The type of attribute `used_attrs` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:265:14-24: The type of attribute `used_attrs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR kornia/core/tensor_wrapper.py:265:25-28: The type of attribute `add` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:265:25-28: The type of attribute `add` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR kornia/core/tensor_wrapper.py:265:28-34: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR kornia/core/tensor_wrapper.py:268:28-33: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
- ERROR kornia/core/tensor_wrapper.py:268:23-33: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:268:28-33: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:286:18-28: The type of attribute `used_attrs` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:286:18-28: The type of attribute `used_attrs` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR kornia/core/tensor_wrapper.py:286:29-32: The type of attribute `add` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:286:29-32: The type of attribute `add` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR kornia/core/tensor_wrapper.py:287:21-31: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:287:26-31: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:286:32-38: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR kornia/core/tensor_wrapper.py:287:26-31: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
- ERROR kornia/core/tensor_wrapper.py:294:14-19: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:294:14-19: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
+ ERROR kornia/core/tensor_wrapper.py:298:20-25: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
- ERROR kornia/core/tensor_wrapper.py:298:15-30: The type of `out` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:298:20-25: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:300:57-62: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
+ ERROR kornia/core/tensor_wrapper.py:301:35-38: The type of this argument is unknown because it comes from an error [unknown-from-error]
- ERROR kornia/core/tensor_wrapper.py:300:52-67: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:300:57-62: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:300:63-67: The type of attribute `ndim` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:300:77-81: The type of attribute `ndim` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:300:95-100: The type of attribute `shape` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:301:35-38: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:321:19-29: The type of attribute `used_calls` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:321:19-29: The type of attribute `used_calls` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR kornia/core/tensor_wrapper.py:321:30-33: The type of attribute `add` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR kornia/core/tensor_wrapper.py:321:33-39: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR kornia/core/tensor_wrapper.py:321:30-33: The type of attribute `add` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:321:34-38: The type of this argument is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:512:26-31: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
+ ERROR kornia/core/tensor_wrapper.py:516:25-30: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
+ ERROR kornia/core/tensor_wrapper.py:520:27-32: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
+ ERROR kornia/core/tensor_wrapper.py:524:29-34: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
+ ERROR kornia/core/tensor_wrapper.py:528:21-26: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
- ERROR kornia/core/tensor_wrapper.py:512:21-31: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:512:26-31: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:516:20-30: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:516:25-30: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:520:22-32: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:520:27-32: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:524:24-34: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:524:29-34: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:528:16-38: Returning Any from function declared to return "int" [no-any-return-explicit]
- ERROR kornia/core/tensor_wrapper.py:528:21-26: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:528:27-36: The type of attribute `__index__` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:548:25-30: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
- ERROR kornia/core/tensor_wrapper.py:548:20-30: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:548:25-30: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:574:14-24: The type of attribute `used_calls` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:574:14-24: The type of attribute `used_calls` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR kornia/core/tensor_wrapper.py:574:25-28: The type of attribute `add` is partially unknown; it contains an implicit `Any` [partially-unknown-type]
+ ERROR kornia/core/tensor_wrapper.py:574:28-34: The type of this argument is partially unknown; it contains an implicit `Any` [partially-unknown-type]
- ERROR kornia/core/tensor_wrapper.py:574:25-28: The type of attribute `add` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:574:29-33: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR kornia/core/tensor_wrapper.py:575:19-24: The type of attribute `_data` is an explicit `Any` [explicit-any-use]
+ ERROR kornia/core/tensor_wrapper.py:575:19-24: The type of attribute `_data` is unknown because it comes from an error [unknown-from-error]
pydantic (https://github.com/pydantic/pydantic)
- ERROR pydantic/v1/dataclasses.py:258:29-47: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR pydantic/v1/dataclasses.py:258:34-47: The type of attribute `__dataclass__` is an explicit `Any` [explicit-any-use]
- ERROR pydantic/v1/dataclasses.py:259:25-38: The type of attribute `__dataclass__` is an explicit `Any` [explicit-any-use]
- ERROR pydantic/v1/dataclasses.py:262:24-42: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR pydantic/v1/dataclasses.py:262:29-42: The type of attribute `__dataclass__` is an explicit `Any` [explicit-any-use]
- ERROR pydantic/v1/dataclasses.py:265:24-42: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR pydantic/v1/dataclasses.py:265:29-42: The type of attribute `__dataclass__` is an explicit `Any` [explicit-any-use]
- ERROR pydantic/v1/dataclasses.py:268:42-55: The type of attribute `__dataclass__` is an explicit `Any` [explicit-any-use]
- ERROR pydantic/v1/dataclasses.py:271:41-59: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR pydantic/v1/dataclasses.py:271:46-59: The type of attribute `__dataclass__` is an explicit `Any` [explicit-any-use]
- ERROR pydantic/v1/dataclasses.py:274:45-63: The type of this argument is an explicit `Any` [explicit-any-use]
- ERROR pydantic/v1/dataclasses.py:274:50-63: The type of attribute `__dataclass__` is an explicit `Any` [explicit-any-use] |
Contributor
Author
|
Green on CI (incl. evaluate + mypy_primer). Imported via codesync. Available for review when you get to it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #5326.
Why
Frozen dataclasses often initialize fields with
object.__setattr__(self, "attr", value)in__init__because direct assignment is rejected at runtime. Pyrefly only countedself.attr = value, so those fields were reported as uninitialized.What changed
object.__setattr__(self, "literal", value)andsetattr(self, "literal", value)as instance attribute initialization in the binder.Scope
__setattr__itself.Blast Radius
Affects
uninitialized-instance-variablefor constructors that use these patterns. False negatives need a literal name onselfin a method, matching ordinaryself.x =tracking.Verification
cargo test -p pyrefly --lib test_uninitialized_instance_variable— 11 passed (includes newtest_uninitialized_instance_variable_frozen_dataclass_setattr).