Commit a43f1ce
committed
Merge branch 'main' into claude/fix-issue-1858-UjARA
* main: (76 commits)
[ty] Improve the check for `NewType`s with generic bases (#22961)
[ty] Ban legacy `TypeVar` bounds or constraints from containing type variables (#22949)
Bump the typing conformance suite pin (#22960)
[ty] Emit an error if a TypeVarTuple is used to subscript `Generic` or `Protocol` without being unpacked (#22952)
[ty] Reduce false positives when subscripting classes generic over `TypeVarTuple`s (#22950)
[ty] Detect invalid attempts to subclass `Protocol[]` and `Generic[]` simultaneously (#22948)
Fix suppression indentation matching (#22903)
Remove hidden `--output-format` warning (#22944)
[ty] Validate signatures of dataclass `__post_init__` methods (#22730)
[ty] extend special-cased `numbers` diagnostic to `invalid-argument-type` errors (#22938)
[ty] Avoid false positive for `not-iterable` with no-positive intersection types (#22089)
[ty] Preserve pure negation types in descriptor protocol (#22907)
[ty] add special-case diagnostic for `numbers` module (#22931)
[ty] Move the location of more `invalid-overload` diagnostics (#22933)
[ty] Fix unary and comparison operators for TypeVars with union bounds (#22925)
[ty] Rule Selection: ignore/warn/select all rules (unless subsequently overriden) (#22832)
[ty] Fix TypedDict construction from existing TypedDict values (#22904)
[ty] fix bug in string annotations and clean up diagnostics (#22913)
[ty] Improve support for goto-type, goto-declaration, hover, and highlighting of string annotations (#22878)
[ty] Rename old typing imports to new on `unresolved-reference`. (#22827)
...208 files changed
Lines changed: 10384 additions & 2087 deletions
File tree
- .claude/hooks
- .github/workflows
- crates
- ruff_annotate_snippets/src
- ruff_benchmark/benches
- ruff_db/src
- diagnostic
- ruff_dev/src
- ruff_linter
- resources/test/fixtures
- flake8_annotations
- pyupgrade
- src
- rules
- fastapi
- rules
- snapshots
- flake8_annotations
- rules
- snapshots
- pyflakes
- pylint/rules
- pyupgrade
- rules
- snapshots
- ruff_markdown
- src
- ruff_python_ast/src
- ruff_python_semantic/src/analyze
- ruff_server/src/session
- ruff_wasm/src
- ruff
- resources/test/fixtures
- src
- commands
- tests/cli
- ty_ide/src
- ty_module_resolver
- src
- ty_project/src
- metadata
- ty_python_semantic
- resources/mdtest
- annotations
- assignment
- call
- comparison/instances
- dataclasses
- diagnostics
- exception
- external
- function
- generics
- legacy
- pep695
- import
- literal/collections
- loops
- narrow
- snapshots
- subscript
- suppressions
- type_compendium
- type_of
- unary
- src
- semantic_index
- suppression
- types
- call
- infer
- builder
- ty_server/tests/e2e/snapshots
- ty_static/src
- ty_test/src
- ty
- docs
- src
- tests/cli
- docs
- fuzz/fuzz_targets
- playground
- api
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
| 446 | + | |
447 | 447 | | |
448 | 448 | | |
449 | 449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments