mirror of https://github.com/astral-sh/ruff
## Summary We're actually quite good at computing this but the main issue is just that we compute it at the type-level and so wrap it in `Literal[...]`. So just special-case the rendering of these to omit `Literal[...]` and fallback to `...` in cases where the thing we'll show is probably useless (i.e. `x: str = str`). Fixes https://github.com/astral-sh/ty/issues/1882 |
||
|---|---|---|
| .. | ||
| snapshots | ||
| code_actions.rs | ||
| commands.rs | ||
| completions.rs | ||
| initialize.rs | ||
| inlay_hints.rs | ||
| main.rs | ||
| notebook.rs | ||
| publish_diagnostics.rs | ||
| pull_diagnostics.rs | ||
| rename.rs | ||
| signature_help.rs | ||