Commit 8494aa0
committed
Merge branch 'main' into dcreager/iterate-tuple
* main:
[ty] Use `ThinVec` for sub segments in `PlaceExpr` (#19470)
[ty] Splat variadic arguments into parameter list (#18996)
[`flake8-pyi`] Skip fix if all `Union` members are `None` (`PYI016`) (#19416)
Skip notebook with errors in ecosystem check (#19491)
[ty] Consistent use of American english (in rules) (#19488)
[ty] Support iterating over enums (#19486)
Fix panic for illegal `Literal[…]` annotations with inner subscript expressions (#19489)
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)File tree
70 files changed
+3404
-598
lines changed- .github/workflows
- crates
- ruff_db
- src
- diagnostic
- render
- ruff_linter
- resources/test/fixtures/flake8_pyi
- src
- message
- rules/flake8_pyi
- rules
- snapshots
- ruff_server/src
- ruff_wasm/src
- ruff/src
- ty_ide
- src
- ty_project/src
- metadata
- ty_python_semantic
- resources/mdtest
- annotations
- call
- expression
- narrow
- scopes
- suppressions
- type_compendium
- type_properties
- type_qualifiers
- src
- module_resolver
- semantic_index
- types
- call
- util
- ty/docs
- python/ruff-ecosystem/ruff_ecosystem
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
70 files changed
+3404
-598
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
149 | 150 | | |
150 | 151 | | |
151 | | - | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
454 | 454 | | |
455 | 455 | | |
456 | 456 | | |
457 | | - | |
| 457 | + | |
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
| |||
59 | 58 | | |
60 | 59 | | |
61 | 60 | | |
62 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
63 | 67 | | |
64 | 68 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
126 | 133 | | |
127 | 134 | | |
128 | 135 | | |
| |||
377 | 384 | | |
378 | 385 | | |
379 | 386 | | |
380 | | - | |
381 | | - | |
382 | | - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
383 | 396 | | |
384 | 397 | | |
385 | 398 | | |
| |||
565 | 578 | | |
566 | 579 | | |
567 | 580 | | |
568 | | - | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
569 | 585 | | |
570 | 586 | | |
571 | 587 | | |
| |||
643 | 659 | | |
644 | 660 | | |
645 | 661 | | |
646 | | - | |
| 662 | + | |
647 | 663 | | |
648 | 664 | | |
649 | 665 | | |
| |||
1170 | 1186 | | |
1171 | 1187 | | |
1172 | 1188 | | |
| 1189 | + | |
| 1190 | + | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
1173 | 1213 | | |
1174 | 1214 | | |
1175 | 1215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
256 | 257 | | |
257 | 258 | | |
258 | 259 | | |
259 | | - | |
| 260 | + | |
260 | 261 | | |
261 | 262 | | |
262 | 263 | | |
| |||
281 | 282 | | |
282 | 283 | | |
283 | 284 | | |
284 | | - | |
| 285 | + | |
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
| |||
304 | 305 | | |
305 | 306 | | |
306 | 307 | | |
307 | | - | |
| 308 | + | |
308 | 309 | | |
309 | 310 | | |
310 | 311 | | |
| |||
371 | 372 | | |
372 | 373 | | |
373 | 374 | | |
374 | | - | |
| 375 | + | |
375 | 376 | | |
376 | 377 | | |
377 | 378 | | |
| |||
459 | 460 | | |
460 | 461 | | |
461 | 462 | | |
462 | | - | |
| 463 | + | |
463 | 464 | | |
464 | 465 | | |
465 | 466 | | |
| |||
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
481 | | - | |
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
489 | | - | |
| 489 | + | |
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
| |||
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
867 | | - | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
868 | 871 | | |
869 | 872 | | |
870 | 873 | | |
| |||
1548 | 1551 | | |
1549 | 1552 | | |
1550 | 1553 | | |
1551 | | - | |
| 1554 | + | |
1552 | 1555 | | |
1553 | 1556 | | |
1554 | 1557 | | |
| |||
1577 | 1580 | | |
1578 | 1581 | | |
1579 | 1582 | | |
1580 | | - | |
| 1583 | + | |
1581 | 1584 | | |
1582 | 1585 | | |
1583 | 1586 | | |
1584 | | - | |
| 1587 | + | |
1585 | 1588 | | |
1586 | 1589 | | |
1587 | 1590 | | |
1588 | | - | |
| 1591 | + | |
1589 | 1592 | | |
1590 | 1593 | | |
1591 | 1594 | | |
| |||
2370 | 2373 | | |
2371 | 2374 | | |
2372 | 2375 | | |
2373 | | - | |
| 2376 | + | |
2374 | 2377 | | |
2375 | 2378 | | |
2376 | 2379 | | |
| |||
2391 | 2394 | | |
2392 | 2395 | | |
2393 | 2396 | | |
2394 | | - | |
| 2397 | + | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
2395 | 2402 | | |
2396 | 2403 | | |
2397 | 2404 | | |
| |||
2494 | 2501 | | |
2495 | 2502 | | |
2496 | 2503 | | |
| 2504 | + | |
| 2505 | + | |
| 2506 | + | |
| 2507 | + | |
| 2508 | + | |
| 2509 | + | |
2497 | 2510 | | |
2498 | 2511 | | |
2499 | 2512 | | |
| |||
2600 | 2613 | | |
2601 | 2614 | | |
2602 | 2615 | | |
2603 | | - | |
| 2616 | + | |
| 2617 | + | |
2604 | 2618 | | |
2605 | 2619 | | |
2606 | 2620 | | |
| |||
2613 | 2627 | | |
2614 | 2628 | | |
2615 | 2629 | | |
2616 | | - | |
2617 | | - | |
2618 | | - | |
2619 | | - | |
2620 | | - | |
2621 | | - | |
| 2630 | + | |
| 2631 | + | |
2622 | 2632 | | |
2623 | 2633 | | |
2624 | 2634 | | |
| |||
2720 | 2730 | | |
2721 | 2731 | | |
2722 | 2732 | | |
2723 | | - | |
| 2733 | + | |
| 2734 | + | |
2724 | 2735 | | |
2725 | 2736 | | |
2726 | 2737 | | |
| |||
2733 | 2744 | | |
2734 | 2745 | | |
2735 | 2746 | | |
2736 | | - | |
2737 | | - | |
2738 | | - | |
2739 | | - | |
2740 | | - | |
2741 | | - | |
| 2747 | + | |
| 2748 | + | |
2742 | 2749 | | |
2743 | 2750 | | |
2744 | 2751 | | |
| |||
2751 | 2758 | | |
2752 | 2759 | | |
2753 | 2760 | | |
2754 | | - | |
2755 | | - | |
2756 | | - | |
2757 | | - | |
2758 | | - | |
2759 | | - | |
| 2761 | + | |
| 2762 | + | |
2760 | 2763 | | |
2761 | 2764 | | |
2762 | 2765 | | |
| |||
0 commit comments