Commit ccc39ec
UnboundVariable
Merge branch 'main' into references
* main: (28 commits)
[ty] highlight the argument in `static_assert` error messages (astral-sh#19426)
[ty] Infer single-valuedness for enums based on `int`/`str` (astral-sh#19510)
[ty] Restructure submodule query around `File` dependency
[ty] Make `Module` a Salsa ingredient
[ty] Reachability analysis for `isinstance(…)` branches (astral-sh#19503)
[ty] Normalize single-member enums to their instance type (astral-sh#19502)
[ty] Invert `ty_ide` and `ty_project` dependency (astral-sh#19501)
[ty] Implement mock language server for testing (astral-sh#19391)
[ty] Detect enums if metaclass is a subtype of EnumType/EnumMeta (astral-sh#19481)
[ty] perform type narrowing for places marked `global` too (astral-sh#19381)
[ty] Use `ThinVec` for sub segments in `PlaceExpr` (astral-sh#19470)
[ty] Splat variadic arguments into parameter list (astral-sh#18996)
[`flake8-pyi`] Skip fix if all `Union` members are `None` (`PYI016`) (astral-sh#19416)
Skip notebook with errors in ecosystem check (astral-sh#19491)
[ty] Consistent use of American english (in rules) (astral-sh#19488)
[ty] Support iterating over enums (astral-sh#19486)
Fix panic for illegal `Literal[…]` annotations with inner subscript expressions (astral-sh#19489)
Move fix suggestion to subdiagnostic (astral-sh#19464)
[ty] Implement non-stdlib stub mapping for classes and functions (astral-sh#19471)
[ty] Disallow illegal uses of `ClassVar` (astral-sh#19483)
...
# Conflicts:
# crates/ty_ide/src/goto.rsFile tree
107 files changed
+5488
-1066
lines changed- .github/workflows
- crates
- ruff_db
- src
- diagnostic
- render
- ruff_graph/src
- ruff_linter
- resources/test/fixtures/flake8_pyi
- src
- message
- rules/flake8_pyi
- rules
- snapshots
- ruff_python_semantic/src
- analyze
- ruff_server/src
- ruff_wasm/src
- ruff/src
- ty_ide
- src
- ty_project
- src
- metadata
- ty_python_semantic
- resources/mdtest
- annotations
- call
- directives
- narrow
- scopes
- snapshots
- suppressions
- type_properties
- type_qualifiers
- src
- module_resolver
- semantic_index
- types
- call
- property_tests
- util
- ty_server
- src
- document
- session
- snapshots
- ty
- docs
- tests
- 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.
107 files changed
+5488
-1066
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 | | |
| |||
0 commit comments