Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

Close and reopen this PR to trigger CI

@github-actions github-actions bot added the ty Multi-file analysis & type inference label Jul 21, 2025
@AlexWaygood AlexWaygood reopened this Jul 21, 2025
Copy link
Contributor Author

mypy_primer results

Changes were detected when running on open source projects
streamlit (https://github.com/streamlit/streamlit)
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:991:9: Unresolved attribute `return_value` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:991:9: Unresolved attribute `return_value` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:993:9: Unresolved attribute `side_effect` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:993:9: Unresolved attribute `side_effect` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:1017:9: Unresolved attribute `return_value` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:1017:9: Unresolved attribute `return_value` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:1019:9: Unresolved attribute `side_effect` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:1019:9: Unresolved attribute `side_effect` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:1055:9: Unresolved attribute `return_value` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:1055:9: Unresolved attribute `return_value` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:1057:9: Unresolved attribute `side_effect` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:1057:9: Unresolved attribute `side_effect` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:1103:9: Unresolved attribute `return_value` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:1103:9: Unresolved attribute `return_value` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:1105:9: Unresolved attribute `side_effect` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:1105:9: Unresolved attribute `side_effect` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:1129:9: Unresolved attribute `return_value` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:1129:9: Unresolved attribute `return_value` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:1131:9: Unresolved attribute `side_effect` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:1131:9: Unresolved attribute `side_effect` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:1165:9: Unresolved attribute `return_value` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:1165:9: Unresolved attribute `return_value` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
- error[unresolved-attribute] lib/tests/streamlit/config_test.py:1167:9: Unresolved attribute `side_effect` on type `_patch_default_new`.
+ error[unresolved-attribute] lib/tests/streamlit/config_test.py:1167:9: Unresolved attribute `side_effect` on type `_patch_pass_arg[MagicMock | AsyncMock]`.
No memory usage changes detected ✅

@AlexWaygood AlexWaygood merged commit 3785e13 into main Jul 21, 2025
36 checks passed
@AlexWaygood AlexWaygood deleted the typeshedbot/sync-typeshed branch July 21, 2025 13:01
dcreager added a commit that referenced this pull request Jul 21, 2025
* main: (25 commits)
  [ty] Sync vendored typeshed stubs (#19461)
  [ty] Extend tuple `__len__` and `__bool__` special casing to also cover tuple subclasses (#19289)
  [ty] bump docstring-adder pin (#19458)
  [ty] Disallow assignment to `Final` class attributes (#19457)
  Update dependency ruff to v0.12.4 (#19442)
  Update pre-commit hook astral-sh/ruff-pre-commit to v0.12.4 (#19443)
  Update rui314/setup-mold digest to 702b190 (#19441)
  Update taiki-e/install-action action to v2.56.19 (#19448)
  Update Rust crate strum_macros to v0.27.2 (#19447)
  Update Rust crate strum to v0.27.2 (#19446)
  Update Rust crate rand to v0.9.2 (#19444)
  Update Rust crate serde_json to v1.0.141 (#19445)
  Fix `unreachable` panic in parser (#19183)
  [`ruff`] Support byte strings (`RUF055`) (#18926)
  [ty] Avoid second lookup for `infer_maybe_standalone_expression` (#19439)
  [ty] Implemented "go to definition" support for import statements (#19428)
  [ty] Avoid secondary tree traversal to get call expression for keyword arguments (#19429)
  [ty] Add goto definition to playground (#19425)
  [ty] Add support for `@warnings.deprecated` (#19376)
  [ty] make `del x` force local resolution of `x` in the current scope (#19389)
  ...
dcreager added a commit that referenced this pull request Jul 22, 2025
* main: (76 commits)
  Move fix suggestion to subdiagnostic (#19464)
  [ty] Implement non-stdlib stub mapping for classes and functions (#19471)
  [ty] Disallow illegal uses of `ClassVar` (#19483)
  [ty] Disallow `Final` in function parameter/return-type annotations (#19480)
  [ty] Extend `Final` test suite (#19476)
  [ty] Minor change to diagnostic message for invalid Literal uses (#19482)
  [ty] Detect illegal non-enum attribute accesses in Literal annotation (#19477)
  [ty] Reduce size of `TypeInference` (#19435)
  Run MD tests for Markdown-only changes (#19479)
  Revert "[ty] Detect illegal non-enum attribute accesses in Literal annotation"
  [ty] Detect illegal non-enum attribute accesses in Literal annotation
  [ty] Added semantic token support for more identifiers (#19473)
  [ty] Make tuple subclass constructors sound (#19469)
  [ty] Pass down specialization to generic dataclass bases (#19472)
  [ty] Garbage-collect reachability constraints (#19414)
  [ty] Implicit instance attributes declared `Final` (#19462)
  [ty] Expansion of enums into unions of literals (#19382)
  [ty] Avoid rechecking the entire project when changing the opened files (#19463)
  [ty] Add warning for unknown `TY_MEMORY_REPORT` value (#19465)
  [ty] Sync vendored typeshed stubs (#19461)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ty Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant