Commits
Click on a commit to change the comparison rangeMerge branch 'dcreager/typevar-identity' into dcreager/non-non-inferable
* dcreager/typevar-identity:
missed one Merge remote-tracking branch 'origin/main' into dcreager/non-non-inferable
* origin/main: (26 commits)
[ty] Add separate type for typevar "identity" (#20813)
[ty] Diagnostic for generic classes that reference typevars in enclosing scope (#20822)
Update Python compatibility from 3.13 to 3.14 in README.md (#20852)
[syntax-errors]: break outside loop F701 (#20556)
[ty] Treat `Callable`s as bound-method descriptors in special cases (#20802)
[ty] Do not bind self to non-positional parameters (#20850)
Fix syntax error false positives on parenthesized context managers (#20846)
[ty] Remove 'pre-release software' warning (#20817)
Render unsupported syntax errors in formatter tests (#20777)
[ty] Treat functions, methods, and dynamic types as function-like `Callable`s (#20842)
[ty] Move logic for `super()` inference to a new `types::bound_super` submodule (#20840)
[ty] Fix false-positive diagnostics on `super()` calls (#20814)
[ty] Move `class_member` to `member` module (#20837)
[`ruff`] Use DiagnosticTag for more flake8 and numpy rules (#20758)
[ty] Prefer declared base class attribute over inferred attribute on subclass (#20764)
[ty] Log files that are slow to type check (#20836)
Update cargo-bins/cargo-binstall action to v1.15.7 (#20827)
Update CodSpeedHQ/action action to v4.1.1 (#20828)
Update Rust crate pyproject-toml to v0.13.7 (#20835)
Update Rust crate anstream to v0.6.21 (#20829)
... Merge branch 'dcreager/non-inferable-api' into dcreager/non-non-inferable
* dcreager/non-inferable-api:
just the api parts
[ty] Fix further issues in `super()` inference logic (#20843)
[ty] Document when a rule was added (#20859)
[ty] Treat `Callable` dunder members as bound method descriptors (#20860)
[ty] Handle decorators which return unions of `Callable`s (#20858)
Fix false negatives in `Truthiness::from_expr` for lambdas, generators, and f-strings (#20704)
[ty] Rename Type unwrapping methods (#20857)
Update `lint.flake8-type-checking.quoted-annotations` docs (#20765) Merge remote-tracking branch 'origin/main' into dcreager/non-non-inferable
* origin/main:
[ty] Add (unused) `inferable` parameter to type property methods (#20865)
Run macos tests on macos (#20889)
Remove `release` CI job (#20887)
[ty] CI: Faster ecosystem analysis (#20886)
Remove `strip` from release profile (#20885)
[ty] Sync vendored typeshed stubs (#20876)
[ty] Add some completion ranking improvements (#20807)
Improved error recovery for unclosed strings (including f- and t-strings) (#20848)
Enable lto=fat (#20863)
[`pyupgrade`] Extend `UP019` to detect `typing_extensions.Text` (`UP019`) (#20825)
[`flake8-bugbear`] Omit annotation in preview fix for `B006` (#20877)
fix(docs): Fix typo in `RUF015` description (#20873)
[ty] Improve and extend tests for instance attributes redeclared in subclasses (#20866)
[ty] Ignore slow seeds as a temporary measure (#20870)
Remove parentheses around multiple exception types on Python 3.14+ (#20768)
Update Black tests (#20794) Merge remote-tracking branch 'origin/main' into dcreager/non-non-inferable
* origin/main:
Don't use codspeed or depot runners in CI jobs on forks (#20894)
[ty] cache Type::is_redundant_with (#20477)
Fix run-away for mutually referential instance attributes (#20645)
[ty] Limit shown import paths to at most 5 unless ty runs with `-v` (#20912)
[ty] Use field-specifier return type as the default type for the field (#20915)
[ty] Do not assume that `field`s have a default value (#20914)
[ty] Fix match pattern value narrowing to use equality semantics (#20882)
Update setup instructions for Zed 0.208.0+ (#20902)
Move TOML indent size config (#20905)
[syntax-errors]: implement F702 as semantic syntax error (#20869)
[ty] Heterogeneous unpacking support for unions (#20377)
[ty] refactor `Place` (#20871)
Auto-accept snapshot changes as part of typeshed-sync PRs (#20892)
[`airflow`] Add warning to `airflow.datasets.DatasetEvent` usage (`AIR301`) (#20551)
[`flake8-pyi`] Fix operator precedence by adding parentheses when needed (`PYI061`) (#20508)
[`pyupgrade`] Fix false negative for `TypeVar` with default argument in `non-pep695-generic-class` (`UP046`) (#20660)
Update parser snapshots (#20893)
Fix syntax error false positives for escapes and quotes in f-strings (#20867) Update crates/ty_python_semantic/src/types.rs
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>