[ty] Use dedent in cursor tests by MichaReiser · Pull Request #20019 · astral-sh/ruff (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@MichaReiser

Summary

We need to dedent the source snippets in cursor tests to avoid unexpected indentations during parsing.

@MichaReiser

@github-actions

@github-actions

mypy_primer results

No ecosystem changes detected ✅
No memory usage changes detected ✅

AlexWaygood

dcreager added a commit that referenced this pull request

Aug 21, 2025

@dcreager

second-ed pushed a commit to second-ed/ruff that referenced this pull request

Sep 9, 2025

@MichaReiser @second-ed

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

Labels

testing

Related to testing Ruff itself

ty

Multi-file analysis & type inference

2 participants

@MichaReiser @AlexWaygood