Skip to content

refactor: add ruff rules for sorting imports - #271

Merged
rchl merged 4 commits into
masterfrom
refactor/import-sort
Apr 8, 2026
Merged

refactor: add ruff rules for sorting imports#271
rchl merged 4 commits into
masterfrom
refactor/import-sort

Conversation

@rchl

@rchl rchl commented Mar 31, 2026

Copy link
Copy Markdown
Member

This is a semi-automatically created PR that adds ruff configuration for imports formatting.

It matches configuration included in the LSP package with the intention of consolidating import style across all LSP packages.

If you have strong preference to a different style, please keep the configuration but update it to your liking so that anyone working on the package does not have to guess the correct style to use. See ruff isort settings.

Rules are adapted to match the repo style.

(Since this PR was created semi-automatically, it might require some changes before being considered ready.)

Comment thread pyproject.toml Outdated
@rchl
rchl force-pushed the refactor/import-sort branch from 0bac6f9 to 5f5b64a Compare April 4, 2026 11:01
@rchl

rchl commented Apr 8, 2026

Copy link
Copy Markdown
Member Author

Should not be controversial since it matches project's style.

@rchl
rchl merged commit 2981c09 into master Apr 8, 2026
1 check passed
@rchl
rchl deleted the refactor/import-sort branch April 8, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants