Commit c9b9b48
committed
Merge branch 'main' into dcreager/splat
* main: (76 commits)
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)
[ty] Pass down specialization to generic dataclass bases (#19472)
[ty] Garbage-collect reachability constraints (#19414)
[ty] Implicit instance attributes declared `Final` (#19462)
[ty] Expansion of enums into unions of literals (#19382)
[ty] Avoid rechecking the entire project when changing the opened files (#19463)
[ty] Add warning for unknown `TY_MEMORY_REPORT` value (#19465)
[ty] Sync vendored typeshed stubs (#19461)
...File tree
915 files changed
+27515
-27940
lines changed- .github/workflows
- crates
- ruff_benchmark/benches
- ruff_db
- src
- diagnostic
- render
- snapshots
- files
- ruff_graph/src
- ruff_linter
- resources/test/fixtures
- flake8_type_checking
- flake8_use_pathlib
- isort/required_imports
- pycodestyle
- pylint
- refurb
- ruff
- src
- checkers/ast
- analyze
- importer
- message
- rules
- flake8_future_annotations/rules
- flake8_type_checking
- rules
- snapshots
- flake8_use_pathlib
- rules
- snapshots
- isort
- snapshots
- pycodestyle
- rules/logical_lines
- snapshots
- pylint
- rules
- snapshots
- pyupgrade
- rules
- snapshots
- refurb
- rules
- snapshots
- ruff
- rules
- snapshots
- settings
- ruff_python_parser
- src
- parser
- snapshots
- tests/snapshots
- ruff_server/src
- ruff_wasm
- src
- tests
- ruff_workspace/src
- ruff
- src
- tests
- snapshots
- ty_ide
- src
- ty_project/src
- db
- metadata
- ty_python_semantic
- resources/mdtest
- annotations
- call
- comparison
- conditional
- dataclasses
- diagnostics
- expression
- function
- ide_support
- import
- narrow/conditionals
- scopes
- snapshots
- type_compendium
- type_of
- type_properties
- type_qualifiers
- src
- module_resolver
- semantic_index
- use_def
- types
- call
- property_tests
- util
- tests
- ty_server
- src
- server
- api
- notifications
- requests
- session
- ty_test/src
- ty_vendored/vendor/typeshed
- stdlib
- _typeshed
- asyncio
- collections
- compression
- _common
- zstd
- concurrent/futures
- ctypes
- macholib
- curses
- dbm
- distutils
- command
- email
- mime
- encodings
- ensurepip
- html
- http
- importlib
- metadata
- resources
- json
- lib2to3
- fixes
- pgen2
- logging
- msilib
- multiprocessing
- os
- pathlib
- pyexpat
- sqlite3
- string
- sys
- tkinter
- unittest
- urllib
- venv
- wsgiref
- xmlrpc
- xml
- dom
- etree
- parsers
- expat
- sax
- zipfile
- _path
- zoneinfo
- ty_wasm
- src
- tests
- ty
- docs
- src
- tests
- cli
- docs
- fuzz
- fuzz_targets
- playground/ty/src/Editor
- scripts
- benchmarks
- release
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
915 files changed
+27515
-27940
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 | | |
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
247 | | - | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | | - | |
| 409 | + | |
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
| |||
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
906 | | - | |
| 906 | + | |
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
| |||
936 | 936 | | |
937 | 937 | | |
938 | 938 | | |
939 | | - | |
| 939 | + | |
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
3 | 23 | | |
4 | 24 | | |
5 | 25 | | |
| |||
10 | 30 | | |
11 | 31 | | |
12 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
13 | 41 | | |
| 42 | + | |
| 43 | + | |
14 | 44 | | |
15 | 45 | | |
16 | 46 | | |
| |||
19 | 49 | | |
20 | 50 | | |
21 | 51 | | |
22 | | - | |
23 | 52 | | |
24 | 53 | | |
25 | 54 | | |
| |||
37 | 66 | | |
38 | 67 | | |
39 | 68 | | |
40 | | - | |
41 | | - | |
| 69 | + | |
42 | 70 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
66 | 169 | | |
67 | 170 | | |
68 | 171 | | |
69 | 172 | | |
70 | 173 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
88 | 181 | | |
89 | | - | |
| 182 | + | |
90 | 183 | | |
91 | | - | |
92 | | - | |
93 | | - | |
| 184 | + | |
94 | 185 | | |
95 | 186 | | |
96 | 187 | | |
97 | 188 | | |
98 | 189 | | |
99 | | - | |
100 | | - | |
| 190 | + | |
| 191 | + | |
101 | 192 | | |
102 | 193 | | |
103 | 194 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
131 | 136 | | |
132 | 137 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
3 | 34 | | |
4 | 35 | | |
5 | 36 | | |
| |||
0 commit comments