Skip to content

Support workspace-level ruff.configuration#891

Merged
MichaReiser merged 1 commit into
mainfrom
micha/configuration-per-workspace
Nov 17, 2025
Merged

Support workspace-level ruff.configuration#891
MichaReiser merged 1 commit into
mainfrom
micha/configuration-per-workspace

Conversation

@MichaReiser

Copy link
Copy Markdown
Member

Summary

Fixes #886

Change the scope of ruff.configuration to resource so that it can be configured per workspace root.

This doesn't require any change in Ruff itself because we already respect that setting per workspace.

Test Plan

I reproduced the layout from #886
and tested that Ruff resolves the configuration from the closest workspace root

@MichaReiser MichaReiser added the configuration Related to settings and configuration label Nov 17, 2025
@MichaReiser MichaReiser changed the title Allow setting configuration per workspace-root Support workspace-level ruff.configuration Nov 17, 2025
@MichaReiser MichaReiser merged commit bd58bee into main Nov 17, 2025
8 checks passed
@MichaReiser MichaReiser deleted the micha/configuration-per-workspace branch November 17, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

configuration Related to settings and configuration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ruff.configuration can't be set per folder in multi-root workspaces

2 participants