You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we have a Ruff config file (e.g. .ruff.toml) that uses extend to build on another Ruff file (e.g. .ruff-base.toml), and use this in VSCode, changes to the extend files don't trigger VSCode to reload the config. The extending files needs to be save to trigger (or alter ruff settings, or reload VSCode).
My guess is that ruff-vscode doesn't currently watch the extended files.
Example files attached, and demo video showing the bug case as described step by step:
Load the three files in VSCode, show them side-by-side for clarity
Make sure ruff-vscode is configured to use .ruff.toml
observe that nothing is highlighted in some_file.py
uncomment line 6 (about dummy-variable-rgx) in .ruff-base.toml (any change here that would effect the warnings would be fine) and save
observe that nothing has changed in highlighting in some_file.py
do a null-op change to .ruff.toml and save (or just hit save, but that's not very visible on video)
observe that now the highlighting in some_file.py has changed