Skip to content

refactor: add ruff rules for sorting imports#271

Open
rchl wants to merge 1 commit intomasterfrom
refactor/import-sort
Open

refactor: add ruff rules for sorting imports#271
rchl wants to merge 1 commit intomasterfrom
refactor/import-sort

Conversation

@rchl
Copy link
Copy Markdown
Member

@rchl rchl commented Mar 31, 2026

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.

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

Comment on lines +90 to +93
"F401",
]
ignore = ["E203", "SIM102", "SIM108"]
preview = true
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"F401",
]
ignore = ["E203", "SIM102", "SIM108"]
preview = true
]
ignore = ["E203", "SIM102", "SIM108"]

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.

1 participant