[ty] Fix validation of writes to attributes not declared on the class body#24758
Draft
[ty] Fix validation of writes to attributes not declared on the class body#24758
Conversation
c02f9f9 to
2927d1f
Compare
Typing conformance resultsNo changes detected ✅Current numbersThe percentage of diagnostics emitted that were expected errors held steady at 87.94%. The percentage of expected errors that received a diagnostic held steady at 83.36%. The number of fully passing files held steady at 79/133. |
Memory usage reportSummary
Significant changesClick to expand detailed breakdownprefect
sphinx
trio
flake8
|
|
| Lint rule | Added | Removed | Changed |
|---|---|---|---|
possibly-missing-attribute |
9,668 | 0 | 0 |
invalid-assignment |
117 | 150 | 1 |
unused-type-ignore-comment |
0 | 18 | 0 |
| Total | 9,785 | 168 | 1 |
Showing a random sample of 390 of 9954 changes. See the HTML report for the full diff.
Raw diff sample (390 of 9954 changes)
AutoSplit (https://github.com/Toufool/AutoSplit)
+ src/AutoSplit.py:557:21 warning[possibly-missing-attribute] Attribute `split_image_number` may be missing on object of type `Self@skip_split`
PyGithub (https://github.com/PyGithub/PyGithub)
+ tests/Authentication.py:301:13 warning[possibly-missing-attribute] Attribute `time` may be missing on object of type `MagicMock`
aiohttp (https://github.com/aio-libs/aiohttp)
+ aiohttp/test_utils.py:714:9 warning[possibly-missing-attribute] Attribute `transport` may be missing on object of type `Mock`
aiortc (https://github.com/aiortc/aiortc)
+ src/aiortc/rtcdatachannel.py:69:9 warning[possibly-missing-attribute] Attribute `__send_open` may be missing on object of type `Self@__init__`
+ src/aiortc/rtcsctptransport.py:657:9 warning[possibly-missing-attribute] Attribute `_reconfig_request_seq` may be missing on object of type `Self@__init__`
+ src/aiortc/rtcsctptransport.py:1594:13 warning[possibly-missing-attribute] Attribute `_advanced_peer_ack_tsn` may be missing on object of type `Self@_update_advanced_peer_ack_point`
altair (https://github.com/vega/altair)
+ altair/jupyter/jupyter_chart.py:232:17 warning[possibly-missing-attribute] Attribute `spec` may be missing on object of type `Self@_on_change_chart`
apprise (https://github.com/caronc/apprise)
+ tests/test_plugin_dot.py:728:5 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
+ tests/test_plugin_webex_teams.py:496:5 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
- apprise/plugins/base.py:434:13 error[invalid-assignment] Object of type `None` is not assignable to attribute `__cached_url_identifier` of type `bool`
+ tests/helpers/rest.py:409:9 warning[possibly-missing-attribute] Attribute `content` may be missing on object of type `Mock`
+ tests/helpers/rest.py:421:13 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
+ tests/helpers/rest.py:426:13 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
+ tests/test_attach_file.py:165:5 warning[possibly-missing-attribute] Attribute `location` may be missing on object of type `AttachFile`
+ tests/test_persistent_store.py:427:5 warning[possibly-missing-attribute] Attribute `max_file_size` may be missing on object of type `PersistentStore`
+ tests/test_plugin_bluesky.py:281:5 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
+ tests/test_plugin_fluxer.py:482:9 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
+ tests/test_plugin_fluxer.py:484:9 warning[possibly-missing-attribute] Attribute `headers` may be missing on object of type `Mock`
+ tests/test_plugin_fluxer.py:1101:5 warning[possibly-missing-attribute] Attribute `headers` may be missing on object of type `Mock`
+ tests/test_plugin_mastodon.py:510:5 warning[possibly-missing-attribute] Attribute `content` may be missing on object of type `Mock`
+ tests/test_plugin_mastodon.py:783:5 warning[possibly-missing-attribute] Attribute `content` may be missing on object of type `Mock`
+ tests/test_plugin_matrix.py:509:5 warning[possibly-missing-attribute] Attribute `content` may be missing on object of type `Mock`
+ tests/test_plugin_nextcloud.py:357:9 warning[possibly-missing-attribute] Attribute `json` may be missing on object of type `Mock`
+ tests/test_plugin_nextcloud.py:487:9 warning[possibly-missing-attribute] Attribute `content` may be missing on object of type `Mock`
+ tests/test_plugin_nextcloud.py:622:5 warning[possibly-missing-attribute] Attribute `content` may be missing on object of type `Mock`
+ tests/test_plugin_office365.py:461:5 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
+ tests/test_plugin_slack.py:538:5 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
+ tests/test_plugin_slack.py:1028:5 warning[possibly-missing-attribute] Attribute `content` may be missing on object of type `Mock`
+ tests/test_plugin_telegram.py:441:5 warning[possibly-missing-attribute] Attribute `content` may be missing on object of type `Mock`
+ tests/test_plugin_twilio.py:252:5 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
+ tests/test_plugin_twist.py:416:13 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
+ tests/test_plugin_twist.py:498:9 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
+ tests/test_plugin_twist.py:515:13 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
+ tests/test_plugin_twist.py:526:13 warning[possibly-missing-attribute] Attribute `content` may be missing on object of type `Mock`
+ tests/test_plugin_twitter.py:422:5 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `Mock`
bokeh (https://github.com/bokeh/bokeh)
+ src/bokeh/application/handlers/notebook.py:110:17 warning[possibly-missing-attribute] Attribute `_cell_counter` may be missing on object of type `Self@__call__`
cki-lib (https://gitlab.com/cki-project/cki-lib)
+ cki_lib/gitlab.py:75:9 warning[possibly-missing-attribute] Attribute `url` may be missing on object of type `Self@__init__`
cloud-init (https://github.com/canonical/cloud-init)
- cloudinit/sources/DataSourceOpenStack.py:137:13 error[invalid-assignment] Object of type `None` is not assignable to attribute `_network_config` of type `str`
+ tests/unittests/config/test_modules.py:72:9 warning[possibly-missing-attribute] Attribute `meta` may be missing on object of type `Mock`
core (https://github.com/home-assistant/core)
+ homeassistant/components/bluetooth/manager.py:85:9 warning[possibly-missing-attribute] Attribute `_callback_index` may be missing on object of type `Self@__init__`
+ homeassistant/components/bluetooth/manager.py:182:28 warning[possibly-missing-attribute] Attribute `_connectable_history` may be missing on object of type `Self@async_setup`
+ homeassistant/components/folder_watcher/__init__.py:77:9 warning[possibly-missing-attribute] Attribute `entry_id` may be missing on object of type `Self@__init__`
+ homeassistant/components/google_photos/api.py:40:9 warning[possibly-missing-attribute] Attribute `_token` may be missing on object of type `Self@__init__`
+ homeassistant/components/homekit/type_air_purifiers.py:147:13 warning[possibly-missing-attribute] Attribute `char_air_quality` may be missing on object of type `Self@create_services`
+ homeassistant/components/homekit/type_air_purifiers.py:153:9 warning[possibly-missing-attribute] Attribute `linked_temperature_sensor` may be missing on object of type `Self@create_services`
+ homeassistant/components/homekit/type_air_purifiers.py:167:9 warning[possibly-missing-attribute] Attribute `linked_filter_change_indicator_binary_sensor` may be missing on object of type `Self@create_services`
+ homeassistant/components/homekit/type_remotes.py:120:9 warning[possibly-missing-attribute] Attribute `char_remote_key` may be missing on object of type `Self@__init__`
+ homeassistant/components/homekit/type_thermostats.py:203:9 warning[possibly-missing-attribute] Attribute `_unit` may be missing on object of type `Self@__init__`
+ homeassistant/components/homekit/type_thermostats.py:278:9 warning[possibly-missing-attribute] Attribute `char_display_units` may be missing on object of type `Self@__init__`
+ homeassistant/components/nest/media_source.py:148:9 warning[possibly-missing-attribute] Attribute `_hass` may be missing on object of type `Self@__init__`
+ homeassistant/components/voip/assist_satellite.py:130:9 warning[possibly-missing-attribute] Attribute `_tts_done` may be missing on object of type `Self@__init__`
+ homeassistant/components/xmpp/notify.py:148:13 warning[possibly-missing-attribute] Attribute `loop` may be missing on object of type `Self@__init__`
+ homeassistant/components/zha/climate.py:101:9 warning[possibly-missing-attribute] Attribute `_attr_hvac_action` may be missing on object of type `Self@__init__`
+ homeassistant/helpers/template/__init__.py:938:9 warning[possibly-missing-attribute] Attribute `_sources` may be missing on object of type `Self@sources`
dd-trace-py (https://github.com/DataDog/dd-trace-py)
- benchmarks/bm/iast_utils.py:73:9 error[invalid-assignment] Object of type `Literal[False]` is not assignable to attribute `_iast_propagation_enabled` on type `ASMConfig | Unknown`
+ ddtrace/appsec/_api_security/api_manager.py:71:9 warning[possibly-missing-attribute] Attribute `_api_security_active` may be missing on object of type `ASMConfig`
- ddtrace/appsec/_listeners.py:112:9 error[invalid-assignment] Object of type `Literal[True]` is not assignable to attribute `_asm_enabled` of type `EnvVariable[bool]`
+ ddtrace/appsec/ai_guard/integrations/litellm.py:64:9 warning[possibly-missing-attribute] Attribute `_client` may be missing on object of type `Self@__init__`
+ ddtrace/contrib/dbapi.py:163:9 warning[possibly-missing-attribute] Attribute `_self_last_execute_operation` may be missing on object of type `Self@execute`
+ ddtrace/contrib/internal/pydantic_ai/utils.py:11:9 warning[possibly-missing-attribute] Attribute `_dd_span` may be missing on object of type `Self@__init__`
+ ddtrace/internal/openfeature/_provider.py:97:9 warning[possibly-missing-attribute] Attribute `_config_received` may be missing on object of type `Self@__init__`
+ ddtrace/llmobs/_integrations/base_stream_handler.py:136:9 warning[possibly-missing-attribute] Attribute `_self_stream_iter` may be missing on object of type `Self@__init__`
+ ddtrace/profiling/collector/pytorch.py:29:9 warning[possibly-missing-attribute] Attribute `on_trace_ready` may be missing on object of type `Self@__init__`
+ tests/appsec/ai_guard/litellm_guardrail/conftest.py:53:5 warning[possibly-missing-attribute] Attribute `content` may be missing on object of type `Mock`
+ tests/appsec/iast_packages/packages/pkg_annotated_types.py:40:9 warning[possibly-missing-attribute] Attribute `result1` may be missing on object of type `ResultResponse`
+ tests/appsec/iast_packages/packages/pkg_cffi.py:37:9 warning[possibly-missing-attribute] Attribute `result1` may be missing on object of type `ResultResponse`
+ tests/appsec/iast_packages/packages/pkg_exceptiongroup.py:79:9 warning[possibly-missing-attribute] Attribute `result1` may be missing on object of type `ResultResponse`
+ tests/appsec/iast_packages/packages/pkg_jinja2.py:60:9 warning[possibly-missing-attribute] Attribute `result1` may be missing on object of type `ResultResponse`
+ tests/appsec/iast_packages/packages/pkg_multidict.py:29:9 warning[possibly-missing-attribute] Attribute `result1` may be missing on object of type `ResultResponse`
- tests/appsec/iast_packages/packages/pkg_numpy.py:29:5 error[invalid-assignment] Object of type `float` is not assignable to attribute `result2` of type `str`
+ tests/appsec/iast_packages/packages/pkg_pycparser.py:25:9 warning[possibly-missing-attribute] Attribute `result1` may be missing on object of type `ResultResponse`
+ tests/appsec/iast_packages/packages/pkg_tomli.py:33:9 warning[possibly-missing-attribute] Attribute `result1` may be missing on object of type `ResultResponse`
+ tests/appsec/iast_packages/packages/pkg_urllib3.py:21:5 warning[possibly-missing-attribute] Attribute `result1` may be missing on object of type `ResultResponse`
- tests/appsec/iast_tdd_propagation/flask_orm_app.py:69:9 error[invalid-assignment] Object of type `str | None` is not assignable to attribute `sources` of type `str`
+ tests/appsec/iast_tdd_propagation/flask_taint_sinks_views.py:56:13 warning[possibly-missing-attribute] Attribute `vulnerabilities` may be missing on object of type `ResultResponse`
+ tests/appsec/sca/test_instrumenter.py:268:9 warning[possibly-missing-attribute] Attribute `attach_dependency_metadata` may be missing on object of type `MagicMock`
+ tests/ci_visibility/api_client/_util.py:38:5 warning[possibly-missing-attribute] Attribute `request` may be missing on object of type `Mock`
+ tests/ci_visibility/test_ci_visibility.py:595:5 warning[possibly-missing-attribute] Attribute `status` may be missing on object of type `MagicMock`
+ tests/ci_visibility/test_ci_visibility.py:683:13 warning[possibly-missing-attribute] Attribute `close` may be missing on object of type `Mock`
+ tests/conftest.py:191:5 warning[possibly-missing-attribute] Attribute `repository_url` may be missing on object of type `GitMetadataConfig`
+ tests/debugging/exploration/debugger.py:210:9 warning[possibly-missing-attribute] Attribute `global_rate_limit` may be missing on object of type `DynamicInstrumentationConfig`
+ tests/testing/internal/test_http.py:159:9 warning[possibly-missing-attribute] Attribute `headers` may be missing on object of type `Mock`
+ tests/testing/internal/test_http.py:756:9 warning[possibly-missing-attribute] Attribute `status` may be missing on object of type `Mock`
+ tests/testing/internal/test_http.py:815:9 warning[possibly-missing-attribute] Attribute `headers` may be missing on object of type `Mock`
+ tests/testing/mocks.py:198:13 warning[possibly-missing-attribute] Attribute `configuration_errors` may be missing on object of type `Mock`
dedupe (https://github.com/dedupeio/dedupe)
+ dedupe/canopy_index.py:86:13 warning[possibly-missing-attribute] Attribute `wordCount` may be missing on object of type `Self@sourceToWordIds`
django-stubs (https://github.com/typeddjango/django-stubs)
+ tests/assert_type/http/test_response.py:22:1 warning[possibly-missing-attribute] Attribute `streaming_content` may be missing on object of type `StreamingHttpResponse`
dragonchain (https://github.com/dragonchain/dragonchain)
+ dragonchain/broadcast_processor/broadcast_processor_utest.py:151:9 warning[possibly-missing-attribute] Attribute `post` may be missing on object of type `MagicMock`
+ dragonchain/transaction_processor/level_1_actions_utest.py:105:9 warning[possibly-missing-attribute] Attribute `invoker` may be missing on object of type `MagicMock`
+ dragonchain/transaction_processor/level_3_actions_utest.py:150:9 warning[possibly-missing-attribute] Attribute `block_id` may be missing on object of type `MagicMock`
dulwich (https://github.com/dulwich/dulwich)
+ dulwich/notes.py:753:9 warning[possibly-missing-attribute] Attribute `commit_timezone` may be missing on object of type `Commit`
+ dulwich/porcelain/tag.py:156:13 warning[possibly-missing-attribute] Attribute `tag_time` may be missing on object of type `Tag`
+ dulwich/rebase.py:750:9 warning[possibly-missing-attribute] Attribute `author_timezone` may be missing on object of type `Commit`
+ dulwich/rebase.py:1138:17 warning[possibly-missing-attribute] Attribute `author_time` may be missing on object of type `Commit`
+ dulwich/fastexport.py:285:9 warning[possibly-missing-attribute] Attribute `author_time` may be missing on object of type `Commit`
+ dulwich/porcelain/__init__.py:6724:5 warning[possibly-missing-attribute] Attribute `parents` may be missing on object of type `Commit`
+ dulwich/porcelain/__init__.py:7470:17 warning[possibly-missing-attribute] Attribute `commit_time` may be missing on object of type `Commit`
+ dulwich/porcelain/lfs.py:366:13 warning[possibly-missing-attribute] Attribute `data` may be missing on object of type `Blob`
+ dulwich/worktree.py:619:21 warning[possibly-missing-attribute] Attribute `message` may be missing on object of type `Commit`
freqtrade (https://github.com/freqtrade/freqtrade)
+ freqtrade/optimize/space/decimalspace.py:28:9 warning[possibly-missing-attribute] Attribute `step` may be missing on object of type `Self@__init__`
hydpy (https://github.com/hydpy-dev/hydpy)
+ hydpy/core/testtools.py:653:17 warning[possibly-missing-attribute] Attribute `dates` may be missing on object of type `Timegrid`
ibis (https://github.com/ibis-project/ibis)
+ ibis/common/tests/test_grounds.py:391:9 warning[possibly-missing-attribute] Attribute `value` may be missing on object of type `AnnImm`
ignite (https://github.com/pytorch/ignite)
+ examples/notebooks/EfficientNet_Cifar100_finetuning.ipynb:cell 13:4:9 warning[possibly-missing-attribute] Attribute `reduce_expand` may be missing on object of type `Self@__init__`
+ examples/cifar10_qat/utils.py:164:9 warning[possibly-missing-attribute] Attribute `relu` may be missing on object of type `Self@__init__`
+ examples/cifar10_raytune/utils.py:13:9 warning[possibly-missing-attribute] Attribute `conv1` may be missing on object of type `Self@__init__`
+ examples/fast_neural_style/transformer_net.py:65:9 warning[possibly-missing-attribute] Attribute `conv1` may be missing on object of type `Self@__init__`
+ examples/mnist/mnist_save_resume_engine.py:38:9 warning[possibly-missing-attribute] Attribute `conv2_drop` may be missing on object of type `Self@__init__`
+ examples/mnist/mnist_with_tqdm_logger.py:22:9 warning[possibly-missing-attribute] Attribute `conv2_drop` may be missing on object of type `Self@__init__`
+ examples/notebooks/EfficientNet_Cifar100_finetuning.ipynb:cell 15:20:9 warning[possibly-missing-attribute] Attribute `depthwise_conv` may be missing on object of type `Self@__init__`
+ examples/notebooks/EfficientNet_Cifar100_finetuning.ipynb:cell 15:36:9 warning[possibly-missing-attribute] Attribute `project_conv` may be missing on object of type `Self@__init__`
+ examples/references/segmentation/pascal_voc2012/dataflow.py:18:9 warning[possibly-missing-attribute] Attribute `ds` may be missing on object of type `Self@__init__`
+ examples/reinforcement_learning/reinforce.py:29:9 warning[possibly-missing-attribute] Attribute `saved_log_probs` may be missing on object of type `Self@__init__`
+ examples/siamese_network/siamese_network.py:91:9 warning[possibly-missing-attribute] Attribute `data` may be missing on object of type `Self@__init__`
+ examples/super_resolution/main.py:56:9 warning[possibly-missing-attribute] Attribute `crop_size` may be missing on object of type `Self@__init__`
+ examples/super_resolution/model.py:9:9 warning[possibly-missing-attribute] Attribute `relu` may be missing on object of type `Self@__init__`
+ ignite/handlers/lr_finder.py:540:9 warning[possibly-missing-attribute] Attribute `num_iter` may be missing on object of type `Self@__init__`
+ tests/ignite/handlers/test_checkpoint.py:25:9 warning[possibly-missing-attribute] Attribute `net` may be missing on object of type `Self@__init__`
+ tests/ignite/handlers/test_clearml_logger.py:214:5 warning[possibly-missing-attribute] Attribute `clearml_logger` may be missing on object of type `MagicMock`
+ tests/ignite/handlers/test_mlflow_logger.py:90:5 warning[possibly-missing-attribute] Attribute `log_metrics` may be missing on object of type `MagicMock`
+ tests/ignite/handlers/test_mlflow_logger.py:251:5 warning[possibly-missing-attribute] Attribute `log_metrics` may be missing on object of type `MagicMock`
+ tests/ignite/handlers/test_polyaxon_logger.py:71:5 warning[possibly-missing-attribute] Attribute `log_metrics` may be missing on object of type `MagicMock`
+ tests/ignite/handlers/test_polyaxon_logger.py:207:5 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `MagicMock`
+ tests/ignite/handlers/test_tensorboard_logger.py:91:5 warning[possibly-missing-attribute] Attribute `writer` may be missing on object of type `MagicMock`
+ tests/ignite/handlers/test_tensorboard_logger.py:118:5 warning[possibly-missing-attribute] Attribute `writer` may be missing on object of type `MagicMock`
+ tests/ignite/handlers/test_tensorboard_logger.py:284:5 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `MagicMock`
+ tests/ignite/handlers/test_visdom_logger.py:124:5 warning[possibly-missing-attribute] Attribute `vis` may be missing on object of type `MagicMock`
+ tests/ignite/handlers/test_visdom_logger.py:610:5 warning[possibly-missing-attribute] Attribute `executor` may be missing on object of type `MagicMock`
+ tests/ignite/handlers/test_wandb_logger.py:93:5 warning[possibly-missing-attribute] Attribute `log` may be missing on object of type `MagicMock`
+ tests/ignite/handlers/test_wandb_logger.py:129:5 warning[possibly-missing-attribute] Attribute `log` may be missing on object of type `MagicMock`
jax (https://github.com/google/jax)
+ jax/experimental/jax2tf/tests/flax_models/bilstm_classifier.py:232:5 warning[possibly-missing-attribute] Attribute `output_layer` may be missing on object of type `Self@setup`
+ jax/experimental/jax2tf/tests/sharding_test.py:91:5 warning[possibly-missing-attribute] Attribute `devices` may be missing on object of type `Self@setUp`
mitmproxy (https://github.com/mitmproxy/mitmproxy)
+ mitmproxy/contrib/kaitaistruct/dtls_client_hello.py:100:13 warning[possibly-missing-attribute] Attribute `_parent` may be missing on object of type `Self@__init__`
+ mitmproxy/contrib/kaitaistruct/dtls_client_hello.py:146:13 warning[possibly-missing-attribute] Attribute `_parent` may be missing on object of type `Self@__init__`
+ mitmproxy/contrib/kaitaistruct/gif.py:50:13 warning[possibly-missing-attribute] Attribute `_raw_global_color_table` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/gif.py:54:9 warning[possibly-missing-attribute] Attribute `blocks` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/gif.py:71:13 warning[possibly-missing-attribute] Attribute `_root` may be missing on object of type `Self@__init__`
+ mitmproxy/contrib/kaitaistruct/gif.py:87:13 warning[possibly-missing-attribute] Attribute `red` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/gif.py:228:13 warning[possibly-missing-attribute] Attribute `magic` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/gif.py:241:13 warning[possibly-missing-attribute] Attribute `_parent` may be missing on object of type `Self@__init__`
+ mitmproxy/contrib/kaitaistruct/gif.py:282:13 warning[possibly-missing-attribute] Attribute `bytes` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/gif.py:340:13 warning[possibly-missing-attribute] Attribute `_parent` may be missing on object of type `Self@__init__`
+ mitmproxy/contrib/kaitaistruct/google_protobuf.py:70:13 warning[possibly-missing-attribute] Attribute `_parent` may be missing on object of type `Self@__init__`
+ mitmproxy/contrib/kaitaistruct/ico.py:52:13 warning[possibly-missing-attribute] Attribute `ofs_img` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/jpeg.py:250:13 warning[possibly-missing-attribute] Attribute `density_units` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/jpeg.py:253:13 warning[possibly-missing-attribute] Attribute `thumbnail_x` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/png.py:99:17 warning[possibly-missing-attribute] Attribute `body` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/png.py:105:17 warning[possibly-missing-attribute] Attribute `_raw_body` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/png.py:111:17 warning[possibly-missing-attribute] Attribute `body` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/png.py:194:13 warning[possibly-missing-attribute] Attribute `_root` may be missing on object of type `Self@__init__`
+ mitmproxy/contrib/kaitaistruct/png.py:213:13 warning[possibly-missing-attribute] Attribute `white_point` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/png.py:227:13 warning[possibly-missing-attribute] Attribute `_root` may be missing on object of type `Self@__init__`
+ mitmproxy/contrib/kaitaistruct/png.py:522:13 warning[possibly-missing-attribute] Attribute `hour` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/tls_client_hello.py:29:13 warning[possibly-missing-attribute] Attribute `_io` may be missing on object of type `Self@__init__`
+ mitmproxy/contrib/kaitaistruct/tls_client_hello.py:90:13 warning[possibly-missing-attribute] Attribute `cipher_suites` may be missing on object of type `Self@_read`
+ mitmproxy/contrib/kaitaistruct/tls_client_hello.py:163:13 warning[possibly-missing-attribute] Attribute `name` may be missing on object of type `Self@_read`
+ mitmproxy/tools/console/commands.py:48:9 warning[possibly-missing-attribute] Attribute `index` may be missing on object of type `Self@__init__`
+ mitmproxy/tools/console/common.py:175:9 warning[possibly-missing-attribute] Attribute `align` may be missing on object of type `Self@__init__`
+ mitmproxy/tools/console/options.py:129:9 warning[possibly-missing-attribute] Attribute `index` may be missing on object of type `Self@set_focus`
+ mitmproxy/tools/console/statusbar.py:57:9 warning[possibly-missing-attribute] Attribute `bottom` may be missing on object of type `Self@__init__`
+ mitmproxy/tools/console/statusbar.py:77:13 warning[possibly-missing-attribute] Attribute `_w` may be missing on object of type `Self@ensure_bottom_bar_is_visible`
+ mitmproxy/tools/console/statusbar.py:177:13 warning[possibly-missing-attribute] Attribute `_w` may be missing on object of type `Self@show_quickhelp`
+ mitmproxy/tools/console/window.py:273:9 warning[possibly-missing-attribute] Attribute `focus_position` may be missing on object of type `Self@sig_focus`
+ test/mitmproxy/proxy/test_mode_servers.py:459:5 warning[possibly-missing-attribute] Attribute `tun_name` may be missing on object of type `Mock`
openlibrary (https://github.com/internetarchive/openlibrary)
+ openlibrary/plugins/worksearch/subjects.py:285:13 warning[possibly-missing-attribute] Attribute `ebook_count` may be missing on object of type `Subject`
optuna (https://github.com/optuna/optuna)
+ optuna/storages/_rdb/storage.py:805:17 warning[possibly-missing-attribute] Attribute `value_json` may be missing on object of type `TrialUserAttributeModel`
+ tests/importance_tests/fanova_tests/test_tree.py:18:5 warning[possibly-missing-attribute] Attribute `children_left` may be missing on object of type `Mock`
paasta (https://github.com/yelp/paasta)
+ paasta_tools/slack.py:31:13 warning[possibly-missing-attribute] Attribute `sc` may be missing on object of type `Self@__init__`
pandas (https://github.com/pandas-dev/pandas)
+ pandas/tests/copy_view/test_copy_deprecation.py:38:9 warning[possibly-missing-attribute] Attribute `index` may be missing on object of type `DataFrame`
+ pandas/tests/indexing/interval/test_interval.py:187:9 warning[possibly-missing-attribute] Attribute `index` may be missing on object of type `DataFrame`
+ pandas/core/arrays/masked.py:1211:9 warning[possibly-missing-attribute] Attribute `_readonly` may be missing on object of type `Self@view`
+ pandas/core/groupby/generic.py:2342:13 error[invalid-assignment] Object of type `tuple[str, ...] | None` is not assignable to attribute `columns` of type `Index`
+ pandas/core/indexes/multi.py:3328:13 warning[possibly-missing-attribute] Attribute `names` may be missing on object of type `IndexT@_maybe_preserve_names`
+ pandas/tests/arrays/numpy_/test_numpy.py:163:5 warning[possibly-missing-attribute] Attribute `_readonly` may be missing on object of type `NumpyExtensionArray`
+ pandas/tests/frame/test_arithmetic.py:744:9 error[invalid-assignment] Object of type `list[str]` is not assignable to attribute `columns` of type `Index`
+ pandas/tests/frame/test_stack_unstack.py:146:9 warning[possibly-missing-attribute] Attribute `index` may be missing on object of type `DataFrame`
+ pandas/tests/indexing/multiindex/test_sorted.py:51:9 warning[possibly-missing-attribute] Attribute `index` may be missing on object of type `DataFrame`
+ pandas/tests/indexing/test_loc.py:3256:5 warning[possibly-missing-attribute] Attribute `index` may be missing on object of type `DataFrame`
+ pandas/tests/io/test_html.py:1300:9 error[invalid-assignment] Object of type `list[list[str]]` is not assignable to attribute `columns` of type `Index`
+ pandas/tests/resample/test_datetime_index.py:1402:5 warning[possibly-missing-attribute] Attribute `index` may be missing on object of type `DataFrame`
+ pandas/tests/reshape/merge/test_join.py:339:9 error[invalid-assignment] Object of type `list[str]` is not assignable to attribute `columns` of type `Index`
+ pandas/tests/reshape/merge/test_multi.py:920:9 warning[possibly-missing-attribute] Attribute `index` may be missing on object of type `DataFrame`
+ pandas/tests/reshape/test_melt.py:310:9 error[invalid-assignment] Object of type `list[str]` is not assignable to attribute `columns` of type `Index`
+ pandas/tests/reshape/test_pivot.py:2480:9 warning[possibly-missing-attribute] Attribute `index` may be missing on object of type `DataFrame`
pandera (https://github.com/pandera-dev/pandera)
+ tests/ibis/test_ibis_typing.py:189:9 warning[possibly-missing-attribute] Attribute `from_format` may be missing on object of type `MagicMock`
+ tests/ibis/test_ibis_typing.py:346:9 warning[possibly-missing-attribute] Attribute `to_format` may be missing on object of type `MagicMock`
+ tests/polars/test_polars_typing.py:203:9 warning[possibly-missing-attribute] Attribute `from_format` may be missing on object of type `MagicMock`
poetry (https://github.com/python-poetry/poetry)
+ src/poetry/console/application.py:340:9 warning[possibly-missing-attribute] Attribute `_working_directory` may be missing on object of type `Self@_configure_global_options`
+ src/poetry/console/exceptions.py:136:9 warning[possibly-missing-attribute] Attribute `exit_code` may be missing on object of type `Self@__init__`
prefect (https://github.com/PrefectHQ/prefect)
+ src/integrations/prefect-aws/infra/worker/service_stack.py:267:9 warning[possibly-missing-attribute] Attribute `auth_string_secret` may be missing on object of type `Self@__init__`
+ src/integrations/prefect-aws/tests/experimental/test_decorators.py:31:5 warning[possibly-missing-attribute] Attribute `aresult` may be missing on object of type `MagicMock`
+ src/integrations/prefect-databricks/tests/test_credentials.py:78:9 warning[possibly-missing-attribute] Attribute `__enter__` may be missing on object of type `MagicMock`
+ src/integrations/prefect-databricks/tests/test_credentials.py:204:9 warning[possibly-missing-attribute] Attribute `status_code` may be missing on object of type `MagicMock`
+ src/integrations/prefect-dbt/tests/core/test_manifest.py:1173:9 warning[possibly-missing-attribute] Attribute `success` may be missing on object of type `MagicMock`
+ src/integrations/prefect-dbt/tests/core/test_runner.py:118:5 warning[possibly-missing-attribute] Attribute `unique_id` may be missing on object of type `Mock`
+ src/integrations/prefect-dbt/tests/core/test_runner.py:783:9 warning[possibly-missing-attribute] Attribute `unique_id` may be missing on object of type `Mock`
+ src/integrations/prefect-dbt/tests/core/test_runner.py:844:9 warning[possibly-missing-attribute] Attribute `unique_id` may be missing on object of type `Mock`
+ src/integrations/prefect-dbt/tests/core/test_runner.py:867:9 warning[possibly-missing-attribute] Attribute `materialized` may be missing on object of type `Mock`
+ src/integrations/prefect-dbt/tests/core/test_runner.py:1105:9 warning[possibly-missing-attribute] Attribute `unique_id` may be missing on object of type `Mock`
+ src/integrations/prefect-docker/tests/deployments/test_steps.py:82:5 warning[possibly-missing-attribute] Attribute `base_url` may be missing on object of type `MagicMock`
+ src/integrations/prefect-email/tests/conftest.py:41:9 warning[possibly-missing-attribute] Attribute `password` may be missing on object of type `Self@login`
+ src/integrations/prefect-gcp/tests/conftest.py:77:9 warning[possibly-missing-attribute] Attribute `name` may be missing on object of type `MagicMock`
+ src/integrations/prefect-gcp/tests/test_cloud_run_worker.py:1099:9 warning[possibly-missing-attribute] Attribute `namespace` may be missing on object of type `Mock`
+ src/integrations/prefect-kubernetes/tests/experimental/test_decorator.py:31:5 warning[possibly-missing-attribute] Attribute `wait_async` may be missing on object of type `MagicMock`
+ src/integrations/prefect-kubernetes/tests/test_worker.py:2341:9 warning[possibly-missing-attribute] Attribute `reason` may be missing on object of type `MagicMock`
+ src/integrations/prefect-kubernetes/tests/test_worker.py:2524:9 warning[possibly-missing-attribute] Attribute `data` may be missing on object of type `MagicMock`
+ src/integrations/prefect-snowflake/tests/experimental/test_spcs_worker.py:87:5 warning[possibly-missing-attribute] Attribute `__getitem__` may be missing on object of type `MagicMock`
pybind11 (https://github.com/pybind/pybind11)
+ tests/test_pickling.py:109:5 warning[possibly-missing-attribute] Attribute `stored_in_dict` may be missing on object of type `SimplePyDerived`
+ tests/test_virtual_functions.py:273:13 warning[possibly-missing-attribute] Attribute `value` may be missing on object of type `Self@__init__`
pylint (https://github.com/pycqa/pylint)
+ pylint/checkers/spelling.py:171:17 warning[possibly-missing-attribute] Attribute `_offset` may be missing on object of type `Self@next`
pywin32 (https://github.com/mhammond/pywin32)
+ Pythonwin/pywin/Demos/ocx/flash.py:32:9 warning[possibly-missing-attribute] Attribute `started` may be missing on object of type `Self@__init__`
+ com/win32com/client/tlbrowse.py:110:9 warning[possibly-missing-attribute] Attribute `typeinfo` may be missing on object of type `Self@_SetupTLB`
+ com/win32com/client/tlbrowse.py:111:9 warning[possibly-missing-attribute] Attribute `attr` may be missing on object of type `Self@_SetupTLB`
+ win32/Lib/win32rcparser.py:548:13 warning[possibly-missing-attribute] Attribute `y` may be missing on object of type `ControlDef`
+ win32/Lib/win32rcparser.py:531:17 warning[possibly-missing-attribute] Attribute `subType` may be missing on object of type `ControlDef`
rotki (https://github.com/rotki/rotki)
+ rotkehlchen/api/v1/schemas.py:2551:9 warning[possibly-missing-attribute] Attribute `ethereum_inquirer` may be missing on object of type `Self@__init__`
+ rotkehlchen/tests/unit/test_ethereum_airdrops.py:213:9 warning[possibly-missing-attribute] Attribute `text` may be missing on object of type `Mock`
+ rotkehlchen/tests/unit/test_ethereum_airdrops.py:245:13 warning[possibly-missing-attribute] Attribute `text` may be missing on object of type `Mock`
scipy (https://github.com/scipy/scipy)
+ scipy/_lib/doccer.py:133:13 warning[possibly-missing-attribute] Attribute `__doc__` may be missing on object of type `_F@_doc`
+ scipy/stats/_stats_py.py:4331:9 warning[possibly-missing-attribute] Attribute `correlation` may be missing on object of type `Self@__init__`
+ scipy/stats/tests/test_distributions.py:6385:9 warning[possibly-missing-attribute] Attribute `quad_eps` may be missing on object of type `levy_stable_gen`
+ scipy/stats/tests/test_distributions.py:6406:13 warning[possibly-missing-attribute] Attribute `parameterization` may be missing on object of type `levy_stable_gen`
+ scipy/stats/tests/test_distributions.py:6412:13 warning[possibly-missing-attribute] Attribute `parameterization` may be missing on object of type `levy_stable_gen`
+ scipy/stats/tests/test_distributions.py:6427:13 warning[possibly-missing-attribute] Attribute `parameterization` may be missing on object of type `levy_stable_gen`
scrapy (https://github.com/scrapy/scrapy)
+ scrapy/core/downloader/webclient.py:202:9 warning[possibly-missing-attribute] Attribute `headers_time` may be missing on object of type `Self@gotHeaders`
+ tests/test_extension_throttle.py:251:5 warning[possibly-missing-attribute] Attribute `slots` may be missing on object of type `Mock`
sockeye (https://github.com/awslabs/sockeye)
+ sockeye/beam_search.py:336:9 warning[possibly-missing-attribute] Attribute `_bp` may be missing on object of type `Self@__init__`
+ sockeye/beam_search.py:431:9 warning[possibly-missing-attribute] Attribute `k` may be missing on object of type `Self@__init__`
+ sockeye/beam_search.py:502:9 warning[possibly-missing-attribute] Attribute `flat_structure` may be missing on object of type `Self@__init__`
+ sockeye/beam_search.py:843:9 warning[possibly-missing-attribute] Attribute `beam_search_stop` may be missing on object of type `Self@__init__`
+ sockeye/beam_search.py:849:9 warning[possibly-missing-attribute] Attribute `_sort_states` may be missing on object of type `Self@__init__`
+ sockeye/layers.py:290:9 warning[possibly-missing-attribute] Attribute `dropout` may be missing on object of type `Self@__init__`
+ sockeye/layers.py:464:9 warning[possibly-missing-attribute] Attribute `depth_att` may be missing on object of type `Self@__init__`
+ sockeye/model.py:172:9 warning[possibly-missing-attribute] Attribute `traced_embedding_source` may be missing on object of type `Self@__init__`
+ sockeye/model.py:173:9 warning[possibly-missing-attribute] Attribute `traced_encoder` may be missing on object of type `Self@__init__`
+ sockeye/model.py:161:9 warning[possibly-missing-attribute] Attribute `factor_vocab_size` may be missing on object of type `Self@__init__`
+ sockeye/transformer.py:65:9 warning[possibly-missing-attribute] Attribute `self_attention` may be missing on object of type `Self@__init__`
spack (https://github.com/spack/spack)
+ lib/spack/spack/vendor/macholib/mach_o.py:677:9 warning[possibly-missing-attribute] Attribute `section_data` may be missing on object of type `Self@add_section_data`
+ lib/spack/spack/vendor/ruamel/yaml/comments.py:796:9 warning[possibly-missing-attribute] Attribute `_ref` may be missing on object of type `Self@__init__`
+ lib/spack/spack/vendor/ruamel/yaml/cyaml.py:179:25 warning[possibly-missing-attribute] Attribute `_serializer` may be missing on object of type `Self@__init__`
+ var/spack/test_repos/spack_repo/tutorial/packages/netlib_lapack/package.py:188:13 warning[possibly-missing-attribute] Attribute `_building_shared` may be missing on object of type `Self@check`
starlette (https://github.com/encode/starlette)
+ starlette/testclient.py:392:9 warning[possibly-missing-attribute] Attribute `app` may be missing on object of type `Self@__init__`
static-frame (https://github.com/static-frame/static-frame)
+ static_frame/core/display_visidata.py:130:9 warning[possibly-missing-attribute] Attribute `name` may be missing on object of type `Self@frame`
strawberry (https://github.com/strawberry-graphql/strawberry)
+ strawberry/channels/handlers/http_handler.py:194:9 warning[possibly-missing-attribute] Attribute `allow_queries_via_get` may be missing on object of type `Self@__init__`
+ strawberry/exceptions/syntax.py:23:9 warning[possibly-missing-attribute] Attribute `line_annotations` may be missing on object of type `Self@__init__`
streamlit (https://github.com/streamlit/streamlit)
+ lib/streamlit/runtime/caching/cache_resource_api.py:658:9 warning[possibly-missing-attribute] Attribute `key` may be missing on object of type `Self@__init__`
+ lib/streamlit/runtime/caching/storage/in_memory_cache_storage_wrapper.py:76:9 warning[possibly-missing-attribute] Attribute `_mem_cache_lock` may be missing on object of type `Self@__init__`
sympy (https://github.com/sympy/sympy)
+ sympy/parsing/autolev/_antlr/autolevparser.py:299:9 warning[possibly-missing-attribute] Attribute `_predicates` may be missing on object of type `Self@__init__`
+ sympy/parsing/autolev/_antlr/autolevparser.py:593:17 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@assignment`
+ sympy/parsing/autolev/_antlr/autolevparser.py:658:9 warning[possibly-missing-attribute] Attribute `_la` may be missing on object of type `Self@equals`
+ sympy/parsing/autolev/_antlr/autolevparser.py:846:21 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@functionCall`
+ sympy/parsing/autolev/_antlr/autolevparser.py:878:21 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@functionCall`
+ sympy/parsing/autolev/_antlr/autolevparser.py:1077:17 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@varType`
+ sympy/parsing/autolev/_antlr/autolevparser.py:1222:17 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@varDecl2`
+ sympy/parsing/autolev/_antlr/autolevparser.py:1294:13 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@ranges`
+ sympy/parsing/autolev/_antlr/autolevparser.py:1298:13 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@ranges`
+ sympy/parsing/autolev/_antlr/autolevparser.py:1371:13 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@massDecl`
+ sympy/parsing/autolev/_antlr/autolevparser.py:1446:13 warning[possibly-missing-attribute] Attribute `parser` may be missing on object of type `Self@__init__`
+ sympy/parsing/autolev/_antlr/autolevparser.py:1574:17 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@matrix`
+ sympy/parsing/autolev/_antlr/autolevparser.py:1997:17 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@id_diff`
+ sympy/parsing/autolev/_antlr/autolevparser.py:2252:21 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@codegen`
+ sympy/parsing/autolev/_antlr/autolevparser.py:2815:17 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@expr`
+ sympy/parsing/autolev/_antlr/autolevparser.py:2840:17 warning[possibly-missing-attribute] Attribute `_ctx` may be missing on object of type `Self@expr`
+ sympy/parsing/autolev/_antlr/autolevparser.py:2921:21 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@expr`
+ sympy/parsing/autolev/_antlr/autolevparser.py:2928:13 warning[possibly-missing-attribute] Attribute `stop` may be missing on object of type `IndexingContext`
+ sympy/parsing/autolev/_antlr/autolevparser.py:2943:25 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@expr`
+ sympy/parsing/autolev/_antlr/autolevparser.py:2998:25 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@expr`
+ sympy/parsing/autolev/_listener_autolev_antlr.py:475:13 warning[possibly-missing-attribute] Attribute `kd_eqs_supplied` may be missing on object of type `Self@__init__`
+ sympy/parsing/fortran/fortran_parser.py:71:13 warning[possibly-missing-attribute] Attribute `_py_ast` may be missing on object of type `Self@__init__`
+ sympy/parsing/latex/_antlr/latexparser.py:503:13 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@relation`
+ sympy/parsing/latex/_antlr/latexparser.py:683:21 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@additive`
+ sympy/parsing/latex/_antlr/latexparser.py:1046:13 warning[possibly-missing-attribute] Attribute `parser` may be missing on object of type `Self@__init__`
+ sympy/parsing/latex/_antlr/latexparser.py:1200:13 warning[possibly-missing-attribute] Attribute `parser` may be missing on object of type `Self@__init__`
+ sympy/parsing/latex/_antlr/latexparser.py:1366:17 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@eval_at_sup`
+ sympy/parsing/latex/_antlr/latexparser.py:1454:21 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@exp`
+ sympy/parsing/latex/_antlr/latexparser.py:1983:25 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@number`
+ sympy/parsing/latex/_antlr/latexparser.py:2156:13 warning[possibly-missing-attribute] Attribute `exception` may be missing on object of type `AtomContext`
+ sympy/parsing/latex/_antlr/latexparser.py:2194:9 warning[possibly-missing-attribute] Attribute `_la` may be missing on object of type `Self@bra`
+ sympy/parsing/latex/_antlr/latexparser.py:2528:13 warning[possibly-missing-attribute] Attribute `k` may be missing on object of type `BinomContext`
+ sympy/parsing/latex/_antlr/latexparser.py:2988:21 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@func`
+ sympy/parsing/latex/_antlr/latexparser.py:3058:17 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@func`
+ sympy/parsing/latex/_antlr/latexparser.py:3328:17 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@func_arg`
+ sympy/parsing/latex/_antlr/latexparser.py:3540:13 warning[possibly-missing-attribute] Attribute `state` may be missing on object of type `Self@subeq`
+ sympy/parsing/latex/_antlr/latexparser.py:3547:13 warning[possibly-missing-attribute] Attribute `exception` may be missing on object of type `SubeqContext`
- sympy/plotting/pygletplot/color_scheme.py:20:13 error[invalid-assignment] Object of type `list[Unknown]` is not assignable to attribute `intervals` of type `tuple[int | float, int | float]`
vision (https://github.com/pytorch/vision)
+ torchvision/datasets/cityscapes.py:116:9 warning[possibly-missing-attribute] Attribute `mode` may be missing on object of type `Self@__init__`
+ torchvision/datasets/flickr.py:79:9 warning[possibly-missing-attribute] Attribute `ann_file` may be missing on object of type `Self@__init__`
+ torchvision/datasets/lfw.py:45:9 warning[possibly-missing-attribute] Attribute `image_set` may be missing on object of type `Self@__init__`
+ torchvision/datasets/omniglot.py:66:9 warning[possibly-missing-attribute] Attribute `loader` may be missing on object of type `Self@__init__`
+ gallery/others/plot_repurposing_annotations.py:173:9 warning[possibly-missing-attribute] Attribute `transforms` may be missing on object of type `Self@__init__`
+ gallery/others/plot_repurposing_annotations.py:177:9 warning[possibly-missing-attribute] Attribute `masks` may be missing on object of type `Self@__init__`
+ references/classification/sampler.py:29:9 warning[possibly-missing-attribute] Attribute `rank` may be missing on object of type `Self@__init__`
+ references/depth/stereo/transforms.py:150:9 warning[possibly-missing-attribute] Attribute `mean` may be missing on object of type `Self@__init__`
+ references/detection/transforms.py:231:9 warning[possibly-missing-attribute] Attribute `_brightness` may be missing on object of type `Self@__init__`
+ references/optical_flow/transforms.py:116:9 warning[possibly-missing-attribute] Attribute `max_erase` may be missing on object of type `Self@__init__`
+ test/test_ops.py:103:9 warning[possibly-missing-attribute] Attribute `pool` may be missing on object of type `Self@__init__`
- torchvision/datasets/_stereo_matching.py:56:33 warning[unused-type-ignore-comment] Unused blanket `type: ignore` directive
+ torchvision/datasets/dtd.py:58:9 warning[possibly-missing-attribute] Attribute `_data_folder` may be missing on object of type `Self@__init__`
+ torchvision/datasets/folder.py:162:9 warning[possibly-missing-attribute] Attribute `class_to_idx` may be missing on object of type `Self@__init__`
+ torchvision/datasets/hmdb51.py:112:9 warning[possibly-missing-attribute] Attribute `video_clips` may be missing on object of type `Self@__init__`
+ torchvision/datasets/mnist.py:93:9 warning[possibly-missing-attribute] Attribute `train` may be missing on object of type `Self@__init__`
+ torchvision/datasets/oxford_iiit_pet.py:93:9 warning[possibly-missing-attribute] Attribute `_images` may be missing on object of type `Self@__init__`
+ torchvision/datasets/samplers/clip_sampler.py:61:9 warning[possibly-missing-attribute] Attribute `group_size` may be missing on object of type `Self@__init__`
+ torchvision/datasets/ucf101.py:77:9 warning[possibly-missing-attribute] Attribute `fold` may be missing on object of type `Self@__init__`
+ torchvision/models/densenet.py:131:9 warning[possibly-missing-attribute] Attribute `relu` may be missing on object of type `Self@__init__`
+ torchvision/models/detection/faster_rcnn.py:299:9 warning[possibly-missing-attribute] Attribute `fc7` may be missing on object of type `Self@__init__`
+ torchvision/models/detection/fcos.py:232:9 warning[possibly-missing-attribute] Attribute `conv` may be missing on object of type `Self@__init__`
+ torchvision/models/detection/fcos.py:412:9 warning[possibly-missing-attribute] Attribute `head` may be missing on object of type `Self@__init__`
+ torchvision/models/detection/retinanet.py:232:9 warning[possibly-missing-attribute] Attribute `conv` may be missing on object of type `Self@__init__`
+ torchvision/models/detection/roi_heads.py:555:9 warning[possibly-missing-attribute] Attribute `mask_head` may be missing on object of type `Self@__init__`
+ torchvision/models/detection/rpn.py:164:9 warning[possibly-missing-attribute] Attribute `box_coder` may be missing on object of type `Self@__init__`
+ torchvision/models/detection/rpn.py:178:9 warning[possibly-missing-attribute] Attribute `_post_nms_top_n` may be missing on object of type `Self@__init__`
+ torchvision/models/efficientnet.py:118:9 warning[possibly-missing-attribute] Attribute `use_res_connect` may be missing on object of type `Self@__init__`
+ torchvision/models/efficientnet.py:160:9 warning[possibly-missing-attribute] Attribute `block` may be missing on object of type `Self@__init__`
+ torchvision/models/efficientnet.py:222:9 warning[possibly-missing-attribute] Attribute `stochastic_depth` may be missing on object of type `Self@__init__`
+ torchvision/models/googlenet.py:199:9 warning[possibly-missing-attribute] Attribute `branch1` may be missing on object of type `Self@__init__`
+ torchvision/models/inception.py:377:9 warning[possibly-missing-attribute] Attribute `fc` may be missing on object of type `Self@__init__`
+ torchvision/models/maxvit.py:166:9 warning[possibly-missing-attribute] Attribute `to_qkv` may be missing on object of type `Self@__init__`
+ torchvision/models/optical_flow/raft.py:258:13 warning[possibly-missing-attribute] Attribute `convgru2` may be missing on object of type `Self@__init__`
+ torchvision/models/optical_flow/raft.py:358:9 warning[possibly-missing-attribute] Attribute `out_channels` may be missing on object of type `Self@__init__`
+ torchvision/models/quantization/inception.py:45:9 warning[possibly-missing-attribute] Attribute `myop` may be missing on object of type `Self@__init__`
+ torchvision/models/quantization/inception.py:141:9 warning[possibly-missing-attribute] Attribute `dequant` may be missing on object of type `Self@__init__`
+ torchvision/models/resnet.py:135:9 warning[possibly-missing-attribute] Attribute `conv2` may be missing on object of type `Self@__init__`
+ torchvision/models/resnet.py:137:9 warning[possibly-missing-attribute] Attribute `conv3` may be missing on object of type `Self@__init__`
+ torchvision/models/resnet.py:141:9 warning[possibly-missing-attribute] Attribute `stride` may be missing on object of type `Self@__init__`
+ torchvision/models/shufflenetv2.py:58:13 warning[possibly-missing-attribute] Attribute `branch1` may be missing on object of type `Self@__init__`
+ torchvision/models/swin_transformer.py:255:9 warning[possibly-missing-attribute] Attribute `num_heads` may be missing on object of type `Self@__init__`
+ torchvision/models/video/mvit.py:400:9 warning[possibly-missing-attribute] Attribute `temporal_size` may be missing on object of type `Self@__init__`
+ torchvision/models/video/mvit.py:524:9 warning[possibly-missing-attribute] Attribute `norm` may be missing on object of type `Self@__init__`
+ torchvision/models/video/resnet.py:153:9 warning[possibly-missing-attribute] Attribute `relu` may be missing on object of type `Self@__init__`
+ torchvision/models/video/s3d.py:116:9 warning[possibly-missing-attribute] Attribute `features` may be missing on object of type `Self@__init__`
+ torchvision/models/video/swin_transformer.py:452:9 warning[possibly-missing-attribute] Attribute `norm` may be missing on object of type `Self@__init__`
+ torchvision/models/vision_transformer.py:102:9 warning[possibly-missing-attribute] Attribute `ln_1` may be missing on object of type `Self@__init__`
+ torchvision/models/vision_transformer.py:108:9 warning[possibly-missing-attribute] Attribute `mlp` may be missing on object of type `Self@__init__`
+ torchvision/models/vision_transformer.py:186:9 warning[possibly-missing-attribute] Attribute `dropout` may be missing on object of type `Self@__init__`
+ torchvision/ops/feature_pyramid_network.py:86:9 warning[possibly-missing-attribute] Attribute `inner_blocks` may be missing on object of type `Self@__init__`
+ torchvision/prototype/datasets/_builtin/oxford_iiit_pet.py:44:9 warning[possibly-missing-attribute] Attribute `_categories` may be missing on object of type `Self@__init__`
+ torchvision/prototype/datasets/_builtin/usps.py:34:9 warning[possibly-missing-attribute] Attribute `_split` may be missing on object of type `Self@__init__`
+ torchvision/prototype/datasets/_builtin/usps.py:36:9 warning[possibly-missing-attribute] Attribute `_categories` may be missing on object of type `Self@__init__`
+ torchvision/prototype/datasets/utils/_internal.py:51:9 warning[possibly-missing-attribute] Attribute `drop_key` may be missing on object of type `Self@__init__`
+ torchvision/prototype/datasets/utils/_internal.py:136:13 warning[possibly-missing-attribute] Attribute `world_size` may be missing on object of type `Self@__init__`
+ torchvision/prototype/models/depth/stereo/crestereo.py:573:9 warning[possibly-missing-attribute] Attribute `attention_module` may be missing on object of type `Self@__init__`
+ torchvision/prototype/models/depth/stereo/raft_stereo.py:48:9 warning[possibly-missing-attribute] Attribute `output_dim` may be missing on object of type `Self@__init__`
+ torchvision/prototype/models/depth/stereo/raft_stereo.py:69:9 warning[possibly-missing-attribute] Attribute `base_downsampling_ratio` may be missing on object of type `Self@__init__`
+ torchvision/prototype/transforms/_misc.py:63:9 warning[possibly-missing-attribute] Attribute `dims` may be missing on object of type `Self@__init__`
+ torchvision/prototype/transforms/_presets.py:41:9 warning[possibly-missing-attribute] Attribute `std` may be missing on object of type `Self@__init__`
+ torchvision/transforms/autoaugment.py:502:9 warning[possibly-missing-attribute] Attribute `mixture_width` may be missing on object of type `Self@__init__`
+ torchvision/transforms/autoaugment.py:503:9 warning[possibly-missing-attribute] Attribute `chain_depth` may be missing on object of type `Self@__init__`
+ torchvision/transforms/transforms.py:911:9 warning[possibly-missing-attribute] Attribute `size` may be missing on object of type `Self@__init__`
+ torchvision/transforms/v2/_color.py:27:9 warning[possibly-missing-attribute] Attribute `num_output_channels` may be missing on object of type `Self@__init__`
+ torchvision/transforms/v2/_container.py:172:9 warning[possibly-missing-attribute] Attribute `transforms` may be missing on object of type `Self@__init__`
+ torchvision/transforms/v2/_geometry.py:1065:9 warning[possibly-missing-attribute] Attribute `_fill` may be missing on object of type `Self@__init__`
+ torchvision/transforms/v2/_geometry.py:1276:9 warning[possibly-missing-attribute] Attribute `interpolation` may be missing on object of type `Self@__init__`
websockets (https://github.com/aaugustin/websockets)
+ src/websockets/trio/connection.py:63:9 warning[possibly-missing-attribute] Attribute `ping_interval` may be missing on object of type `Self@__init__`
werkzeug (https://github.com/pallets/werkzeug)
+ tests/test_routing.py:1459:5 warning[possibly-missing-attribute] Attribute `code` may be missing on object of type `RequestRedirect`
xarray (https://github.com/pydata/xarray)
+ properties/test_index_manipulation.py:58:9 warning[possibly-missing-attribute] Attribute `dataset` may be missing on object of type `Self@__init__`
+ properties/test_index_manipulation.py:59:9 warning[possibly-missing-attribute] Attribute `check_default_indexes` may be missing on object of type `Self@__init__`
zulip (https://github.com/zulip/zulip)
+ zerver/actions/create_realm.py:68:5 warning[possibly-missing-attribute] Attribute `demo_organization_scheduled_deletion_date` may be missing on object of type `Realm`
+ corporate/lib/stripe.py:1968:17 warning[possibly-missing-attribute] Attribute `status` may be missing on object of type `CustomerPlan`
+ corporate/lib/stripe.py:3500:17 warning[possibly-missing-attribute] Attribute `invoiced_through` may be missing on object of type `CustomerPlan`
+ corporate/lib/stripe.py:3556:13 warning[possibly-missing-attribute] Attribute `status` may be missing on object of type `CustomerPlan`
+ corporate/lib/stripe.py:5253:13 warning[possibly-missing-attribute] Attribute `sponsorship_pending` may be missing on object of type `Customer`
+ corporate/lib/stripe_event_handler.py:51:13 warning[possibly-missing-attribute] Attribute `handler_error` may be missing on object of type `Event`
+ corporate/tests/test_stripe.py:5801:9 warning[possibly-missing-attribute] Attribute `status` may be missing on object of type `CustomerPlan`
+ corporate/tests/test_stripe.py:8445:9 warning[possibly-missing-attribute] Attribute `status` may be missing on object of type `MagicMock`
+ corporate/tests/test_stripe.py:9079:9 warning[possibly-missing-attribute] Attribute `sponsorship_pending` may be missing on object of type `Customer`
+ corporate/tests/test_stripe.py:10372:9 warning[possibly-missing-attribute] Attribute `status` may be missing on object of type `MagicMock`
+ corporate/views/remote_billing_page.py:321:9 warning[possibly-missing-attribute] Attribute `full_name` may be missing on object of type `RemoteRealmBillingUser`
+ zerver/actions/create_user.py:578:9 warning[possibly-missing-attribute] Attribute `acting_user` may be missing on object of type `RealmAuditLog`
+ zerver/actions/default_streams.py:171:5 warning[possibly-missing-attribute] Attribute `name` may be missing on object of type `DefaultStreamGroup`
+ zerver/actions/realm_settings.py:94:9 warning[possibly-missing-attribute] Attribute `rendered_description_version` may be missing on object of type `Realm`
+ zerver/lib/drafts.py:152:5 warning[possibly-missing-attribute] Attribute `topic` may be missing on object of type `Draft`
+ zerver/lib/export.py:3030:9 warning[possibly-missing-attribute] Attribute `tarball_size_bytes` may be missing on object of type `RealmExport`
+ zerver/tests/test_digest.py:590:9 warning[possibly-missing-attribute] Attribute `date_created` may be missing on object of type `Stream`
+ zerver/tests/test_home.py:708:13 warning[possibly-missing-attribute] Attribute `tos_version` may be missing on object of type `UserProfile`
+ zerver/tests/test_home.py:1112:9 warning[possibly-missing-attribute] Attribute `sponsorship_pending` may be missing on object of type `Customer`
+ zerver/tests/test_import_export.py:797:9 warning[possibly-missing-attribute] Attribute `sending_client` may be missing on object of type `Message`
+ zerver/tests/test_invite.py:1643:9 warning[possibly-missing-attribute] Attribute `emails_restricted_to_domains` may be missing on object of type `Realm`
+ zerver/tests/test_markdown.py:903:9 warning[possibly-missing-attribute] Attribute `inline_image_preview` may be missing on object of type `Realm`
+ zerver/tests/test_message_fetch.py:4387:9 warning[possibly-missing-attribute] Attribute `rendered_content` may be missing on object of type `Message`
+ zerver/tests/test_message_send.py:2461:9 warning[possibly-missing-attribute] Attribute `can_mention_group` may be missing on object of type `NamedUserGroup`
+ zerver/tests/test_presence.py:1004:9 warning[possibly-missing-attribute] Attribute `presence_enabled` may be missing on object of type `UserProfile`
+ zerver/tests/test_signup.py:2083:9 warning[possibly-missing-attribute] Attribute `left_side_userlist` may be missing on object of type `UserProfile`
+ zerver/tests/test_signup.py:2130:9 warning[possibly-missing-attribute] Attribute `left_side_userlist` may be missing on object of type `UserProfile`
+ zerver/tests/test_soft_deactivation.py:699:9 warning[possibly-missing-attribute] Attribute `push_notifications` may be missing on object of type `Subscription`
+ zerver/tests/test_typing.py:881:9 warning[possibly-missing-attribute] Attribute `send_private_typing_notifications` may be missing on object of type `UserProfile`
+ zerver/tests/test_upload.py:219:9 warning[possibly-missing-attribute] Attribute `content_type` may be missing on object of type `Attachment`
+ zerver/tests/test_user_groups.py:690:9 warning[possibly-missing-attribute] Attribute `date_joined` may be missing on object of type `UserProfile`
+ zerver/views/registration.py:1014:9 warning[possibly-missing-attribute] Attribute `include_realm_default_subscriptions` may be missing on object of type `PreregistrationUser`
+ zilencer/management/commands/populate_db.py:1362:13 warning[possibly-missing-attribute] Attribute `recipient` may be missing on object of type `Message`
+ zilencer/views.py:330:13 warning[possibly-missing-attribute] Attribute `hostname` may be missing on object of type `RemoteZulipServer`
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.
Summary
closes astral-sh/ty#3286
Test Plan