Commit 8f66823
committed
Merge remote-tracking branch 'origin/main' into dcreager/pep-self
* origin/main: (38 commits)
[ty] Make implicit submodule imports only occur in global scope (#21370)
[ty] introduce local variables for `from` imports of submodules in `__init__.py(i)` (#21173)
[`ruff`] Ignore `str()` when not used for simple conversion (`RUF065`) (#21330)
[ty] implement `typing.NewType` by adding `Type::NewTypeInstance`
[ty] supress inlay hints for `+1` and `-1` (#21368)
[ty] Use type context for inference of generic constructors (#20933)
[ty] Improve generic call expression inference (#21210)
[ty] supress some trivial expr inlay hints (#21367)
[`configuration`] Fix unclear error messages for line-length values exceeding `u16::MAX` (#21329)
[ty] Fix incorrect inference of `enum.auto()` for enums with non-`int` mixins, and imprecise inference of `enum.auto()` for single-member enums (#20541)
[`refurb`] Detect empty f-strings (`FURB105`) (#21348)
[ty] provide `import` completion when in `from <name> <name>` statement (#21291)
[ty] elide redundant inlay hints for function args (#21365)
Fix syntax error false positive on alternative `match` patterns (#21362)
Add a new "Opening a PR" section to the contribution guide (#21298)
[`flake8-simplify`] Fix SIM222 false positive for `tuple(generator) or None` (`SIM222`) (#21187)
Rebuild ruff binary instead of sharing it across jobs (#21361)
[ty] Fix `--exclude` and `src.exclude` merging (#21341)
[ty] Add support for properties that return `Self` (#21335)
Add upstream linter URL to `ruff linter --output-format=json` (#21316)
...File tree
95 files changed
+5391
-1397
lines changed- .github
- workflows
- crates
- ruff_db/src
- ruff_linter
- resources/test/fixtures
- flake8_simplify
- refurb
- ruff
- src
- rules
- flake8_annotations/rules
- flake8_simplify/snapshots
- refurb
- rules
- snapshots
- ruff
- rules
- snapshots
- ruff_python_ast/src
- ruff_python_parser
- resources/inline/ok
- src
- tests/snapshots
- ruff_workspace/src
- ruff/src
- commands
- ty_ide/src
- ty_project/src/metadata
- ty_python_semantic
- resources/mdtest
- annotations
- assignment
- class
- dataclasses
- import
- narrow
- snapshots
- type_properties
- src
- semantic_index
- types
- call
- infer
- builder
- ty_server/tests/e2e
- snapshots
- ty
- docs
- src
- tests/cli
- 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.
95 files changed
+5391
-1397
lines changedLarge diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
| 63 | + | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 71 | | |
77 | 72 | | |
78 | 73 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
170 | | - | |
| 169 | + | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
| 215 | + | |
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
116 | | - | |
117 | 115 | | |
118 | 116 | | |
119 | 117 | | |
| |||
131 | 129 | | |
132 | 130 | | |
133 | 131 | | |
| 132 | + | |
| 133 | + | |
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | 140 | | |
147 | 141 | | |
148 | 142 | | |
| |||
This file was deleted.
0 commit comments