Say I have a project in ~/workspace/project, for disk space usage reason I had to move it to another disk say /export/data/workspace/project, so I created a symlink to avoid having to changing paths in VSCode: ~/workspace -> /export/data/workspace, now ruff in VSCode starts to reformat code on save and conflicts with ruff-format in pre-commit, the ruff language server logs shows that it still thinks the workspace is at ~/workspace/project without resolving symlinks so it use the default settings as fallback, which is a bit annoying.
Say I have a project in
~/workspace/project, for disk space usage reason I had to move it to another disk say/export/data/workspace/project, so I created a symlink to avoid having to changing paths in VSCode:~/workspace->/export/data/workspace, now ruff in VSCode starts to reformat code on save and conflicts with ruff-format in pre-commit, the ruff language server logs shows that it still thinks the workspace is at~/workspace/projectwithout resolving symlinks so it use the default settings as fallback, which is a bit annoying.