Commit 5e0820c
committed
Merge branch 'main' into dcreager/iterate-tuple
* main:
[ty] Fix narrowing and reachability of class patterns with arguments (#19512)
[ty] Implemented partial support for "find references" language server feature. (#19475)
[`flake8-use-pathlib`] Add autofix for `PTH101`, `PTH104`, `PTH105`, `PTH121` (#19404)
[`perflint`] Parenthesize generator expressions (`PERF401`) (#19325)
[`pep8-naming`] Fix `N802` false positives for `CGIHTTPRequestHandler` and `SimpleHTTPRequestHandler` (#19432)
[`pylint`] Handle empty comments after line continuation (`PLR2044`) (#19405)
Move concise diagnostic rendering to `ruff_db` (#19398)
[ty] highlight the argument in `static_assert` error messages (#19426)
[ty] Infer single-valuedness for enums based on `int`/`str` (#19510)
[ty] Restructure submodule query around `File` dependency
[ty] Make `Module` a Salsa ingredient
[ty] Reachability analysis for `isinstance(…)` branches (#19503)
[ty] Normalize single-member enums to their instance type (#19502)
[ty] Invert `ty_ide` and `ty_project` dependency (#19501)
[ty] Implement mock language server for testing (#19391)
[ty] Detect enums if metaclass is a subtype of EnumType/EnumMeta (#19481)
[ty] perform type narrowing for places marked `global` too (#19381)108 files changed
Lines changed: 5334 additions & 1115 deletions
File tree
- .github/workflows
- crates
- ruff_db/src/diagnostic
- render
- ruff_graph/src
- ruff_linter
- resources/test/fixtures
- flake8_use_pathlib
- pep8_naming
- perflint
- pylint
- src
- checkers
- ast/analyze
- message
- rules
- flake8_use_pathlib
- rules
- snapshots
- pep8_naming
- rules
- snapshots
- perflint
- rules
- snapshots
- pylint
- rules
- snapshots
- ruff_python_ast/src/visitor
- ruff_python_semantic/src
- analyze
- ruff/src
- ty_ide
- src
- ty_project
- src
- ty_python_semantic
- resources/mdtest
- call
- conditional
- directives
- scopes
- snapshots
- type_properties
- src
- module_resolver
- semantic_index
- types
- call
- property_tests
- ty_server
- src
- document
- server
- api
- requests
- session
- snapshots
- ty/tests
- cli
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 | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
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 | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
267 | 268 | | |
268 | 269 | | |
269 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
1188 | 1188 | | |
1189 | 1189 | | |
1190 | 1190 | | |
1191 | | - | |
| 1191 | + | |
| 1192 | + | |
| 1193 | + | |
1192 | 1194 | | |
1193 | 1195 | | |
1194 | 1196 | | |
| |||
1236 | 1238 | | |
1237 | 1239 | | |
1238 | 1240 | | |
| 1241 | + | |
| 1242 | + | |
| 1243 | + | |
| 1244 | + | |
| 1245 | + | |
| 1246 | + | |
| 1247 | + | |
| 1248 | + | |
| 1249 | + | |
1239 | 1250 | | |
1240 | 1251 | | |
1241 | 1252 | | |
| |||
1264 | 1275 | | |
1265 | 1276 | | |
1266 | 1277 | | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
1267 | 1307 | | |
1268 | 1308 | | |
1269 | 1309 | | |
| |||
1273 | 1313 | | |
1274 | 1314 | | |
1275 | 1315 | | |
| 1316 | + | |
| 1317 | + | |
| 1318 | + | |
1276 | 1319 | | |
1277 | 1320 | | |
1278 | 1321 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
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 | | - | |
| 110 | + | |
150 | 111 | | |
151 | 112 | | |
152 | 113 | | |
| |||
862 | 823 | | |
863 | 824 | | |
864 | 825 | | |
865 | | - | |
| 826 | + | |
866 | 827 | | |
867 | 828 | | |
868 | 829 | | |
| |||
2310 | 2271 | | |
2311 | 2272 | | |
2312 | 2273 | | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
2313 | 2295 | | |
2314 | 2296 | | |
2315 | 2297 | | |
| |||
2675 | 2657 | | |
2676 | 2658 | | |
2677 | 2659 | | |
| 2660 | + | |
| 2661 | + | |
| 2662 | + | |
| 2663 | + | |
| 2664 | + | |
| 2665 | + | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
| 2672 | + | |
| 2673 | + | |
| 2674 | + | |
| 2675 | + | |
| 2676 | + | |
| 2677 | + | |
| 2678 | + | |
2678 | 2679 | | |
2679 | 2680 | | |
2680 | 2681 | | |
| |||
0 commit comments