Skip to content

Conversation

@mtshiba
Copy link
Contributor

@mtshiba mtshiba commented Dec 1, 2025

Summary

This is a PR just to compare whether the output has stabilized. The content is the same as #21722, and the base of mypy_primer points to 56d3173.

Test Plan

@astral-sh-bot
Copy link

astral-sh-bot bot commented Dec 1, 2025

Diagnostic diff on typing conformance tests

No changes detected when running ty on typing conformance tests ✅

@astral-sh-bot
Copy link

astral-sh-bot bot commented Dec 1, 2025

mypy_primer results

Changes were detected when running on open source projects
beartype (https://github.com/beartype/beartype)
+ beartype/claw/_package/clawpkgtrie.py:66:29: warning[unsupported-base] Unsupported class base with type `<class 'dict[str, PackagesTrieBlacklist]'> | <class 'dict[str, Divergent]'>`
+ beartype/claw/_package/clawpkgtrie.py:247:29: warning[unsupported-base] Unsupported class base with type `<class 'dict[str, PackagesTrieWhitelist]'> | <class 'dict[str, Divergent]'>`
- Found 492 diagnostics
+ Found 494 diagnostics

poetry (https://github.com/python-poetry/poetry)
- src/poetry/utils/env/env_manager.py:260:48: error[invalid-type-form] Invalid subscript of object of type `def list(self, name: None | str = None) -> Unknown` in type expression
+ src/poetry/utils/env/env_manager.py:260:48: error[invalid-type-form] Invalid subscript of object of type `def list(self, name: str | None = None) -> Unknown` in type expression

scikit-learn (https://github.com/scikit-learn/scikit-learn)
- sklearn/linear_model/tests/test_bayes.py:31:12: warning[possibly-missing-attribute] Attribute `shape` may be missing on object of type `list[Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown`
+ sklearn/linear_model/tests/test_bayes.py:31:12: warning[possibly-missing-attribute] Attribute `shape` may be missing on object of type `Unknown | list[Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]]`
- sklearn/linear_model/tests/test_logistic.py:535:39: warning[possibly-missing-attribute] Attribute `values` may be missing on object of type `Unknown | dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]]`
+ sklearn/linear_model/tests/test_logistic.py:535:39: warning[possibly-missing-attribute] Attribute `values` may be missing on object of type `dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown`
- sklearn/linear_model/tests/test_logistic.py:540:16: warning[possibly-missing-attribute] Attribute `shape` may be missing on object of type `Unknown | dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]]`
+ sklearn/linear_model/tests/test_logistic.py:540:16: warning[possibly-missing-attribute] Attribute `shape` may be missing on object of type `dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown`
- sklearn/linear_model/tests/test_logistic.py:693:35: warning[possibly-missing-attribute] Attribute `values` may be missing on object of type `Unknown | dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]]`
+ sklearn/linear_model/tests/test_logistic.py:693:35: warning[possibly-missing-attribute] Attribute `values` may be missing on object of type `dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown`
- sklearn/linear_model/tests/test_logistic.py:727:43: warning[possibly-missing-attribute] Attribute `values` may be missing on object of type `Unknown | dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]]`
+ sklearn/linear_model/tests/test_logistic.py:727:43: warning[possibly-missing-attribute] Attribute `values` may be missing on object of type `dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown`
- sklearn/linear_model/tests/test_logistic.py:748:20: warning[possibly-missing-attribute] Attribute `shape` may be missing on object of type `Unknown | dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]]`
+ sklearn/linear_model/tests/test_logistic.py:748:20: warning[possibly-missing-attribute] Attribute `shape` may be missing on object of type `dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown`
- sklearn/linear_model/tests/test_logistic.py:760:31: warning[possibly-missing-attribute] Attribute `shape` may be missing on object of type `Unknown | dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]]`
+ sklearn/linear_model/tests/test_logistic.py:760:31: warning[possibly-missing-attribute] Attribute `shape` may be missing on object of type `dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown`
- sklearn/linear_model/tests/test_logistic.py:1977:12: warning[possibly-missing-attribute] Attribute `shape` may be missing on object of type `Unknown | list[Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | float`
+ sklearn/linear_model/tests/test_logistic.py:1977:12: warning[possibly-missing-attribute] Attribute `shape` may be missing on object of type `float | list[Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown`
- sklearn/linear_model/tests/test_logistic.py:2014:35: warning[possibly-missing-attribute] Attribute `values` may be missing on object of type `Unknown | dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]]`
+ sklearn/linear_model/tests/test_logistic.py:2014:35: warning[possibly-missing-attribute] Attribute `values` may be missing on object of type `dict[Unknown, Unknown] | ndarray[tuple[Any, ...], dtype[Unknown]] | Unknown`

No memory usage changes detected ✅

@AlexWaygood AlexWaygood added the ty Multi-file analysis & type inference label Dec 1, 2025
@astral-sh-bot
Copy link

astral-sh-bot bot commented Dec 1, 2025

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

Formatter (stable)

✅ ecosystem check detected no format changes.

Formatter (preview)

✅ ecosystem check detected no format changes.

@mtshiba mtshiba closed this Dec 1, 2025
@mtshiba mtshiba reopened this Dec 1, 2025
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.

2 participants