Add support for specifying minimum dots in detected string imports by charliermarsh · Pull Request #19538 · astral-sh/ruff (original) (raw)

@charliermarsh added the performance

Potential performance improvement

label

Jul 24, 2025

@charliermarsh

UnboundVariable pushed a commit to UnboundVariable/ruff that referenced this pull request

Jul 24, 2025

Conflicts:

crates/ty_server/src/server/api/requests.rs

crates/ty_server/tests/e2e/snapshots/e2e__initialize__initialization.snap

crates/ty_server/tests/e2e/snapshots/e2e__initialize__initialization_with_workspace.snap

AlexWaygood pushed a commit that referenced this pull request

Jul 25, 2025

@charliermarsh @AlexWaygood

…19538)

Summary

Defaults to requiring two dots, which matches the Pants default.

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 }})