Replace ${fileDirname} placeholder with proper value, so it can be used with "isort.args": ["--settings-path", "${fileDirname}"].
This should address #53 as isort is able to find first pyproject.toml file in directory above modified file (including multiple nested dirs).
It also allows to modify files outside of current workspace (limitation of "isort.args": ["--settings-path", "${workspaceFolder}/<project>/pyproject.toml"] approach).
Replace
${fileDirname}
placeholder with proper value, so it can be used with"isort.args": ["--settings-path", "${fileDirname}"]
.This should address #53 as isort is able to find first
pyproject.toml
file in directory above modified file (including multiple nested dirs).It also allows to modify files outside of current workspace (limitation of
"isort.args": ["--settings-path", "${workspaceFolder}/<project>/pyproject.toml"]
approach).