Commit a5b2827
committed
Merge remote-tracking branch 'origin/main' into dcreager/specialize-deep-dish
* origin/main:
[ty] Infer parameter specializations of generic aliases (#18021)
[ty] Understand homogeneous tuple annotations (#17998)
[ty] Induct into instances and subclasses when finding and applying generics (#18052)
[ty] Allow classes to inherit from `type[Any]` or `type[Unknown]` (#18060)
[ty] Allow a class to inherit from an intersection if the intersection contains a dynamic type and the intersection is not disjoint from `type` (#18055)
[ty] Narrowing for `hasattr()` (#18053)
Update reference documentation for `--python-version` (#18056)
[`flake8-bugbear`] Ignore `B028` if `skip_file_prefixes` is present (#18047)
[`airflow`] Apply try-catch guard to all AIR3 rules (`AIR3`) (#17887)
[`pylint`] add fix safety section (`PLW3301`) (#17878)
Update `--python` to accept paths to executables in virtual environments (#17954)
[`pylint`] add fix safety section (`PLE4703`) (#17824)
[`ruff`] Implement a recursive check for `RUF060` (#17976)
[`flake8-use-pathlib`] `PTH*` suppress diagnostic for all `os.*` functions that have the `dir_fd` parameter (#17968)
[`refurb`] Mark autofix as safe only for number literals in `FURB116` (#17692)
[`flake8-simplify`] Fix `SIM905` autofix for `rsplit` creating a reversed list literal (#18045)
Avoid initializing progress bars early (#18049)File tree
74 files changed
+1765
-494
lines changed- crates
- ruff_benchmark/benches
- ruff_linter
- resources/test/fixtures
- airflow
- flake8_bugbear
- flake8_simplify
- flake8_use_pathlib
- refurb
- ruff
- src/rules
- airflow
- rules
- snapshots
- flake8_bugbear
- rules
- snapshots
- flake8_simplify
- rules
- snapshots
- flake8_use_pathlib
- rules
- snapshots
- pylint/rules
- refurb
- rules
- snapshots
- ruff
- rules
- snapshots
- ty_project/src
- ty_python_semantic
- resources/mdtest
- annotations
- assignment
- binary
- call
- exception
- function
- generics
- legacy
- pep695
- narrow
- snapshots
- subscript
- type_properties
- src
- module_resolver
- types
- ty_test/src
- ty_wasm/src
- ty
- docs
- src
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
74 files changed
+1765
-494
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
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 | | - | |
| 62 | + | |
96 | 63 | | |
97 | 64 | | |
98 | 65 | | |
| |||
164 | 131 | | |
165 | 132 | | |
166 | 133 | | |
167 | | - | |
| 134 | + | |
168 | 135 | | |
169 | 136 | | |
170 | 137 | | |
| |||
192 | 159 | | |
193 | 160 | | |
194 | 161 | | |
195 | | - | |
| 162 | + | |
196 | 163 | | |
197 | 164 | | |
198 | 165 | | |
| |||
212 | 179 | | |
213 | 180 | | |
214 | 181 | | |
215 | | - | |
| 182 | + | |
216 | 183 | | |
217 | 184 | | |
218 | 185 | | |
| |||
326 | 293 | | |
327 | 294 | | |
328 | 295 | | |
329 | | - | |
| 296 | + | |
330 | 297 | | |
331 | 298 | | |
332 | 299 | | |
| |||
Lines changed: 3 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 8 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments