diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 84f99bf49..f6057fdd1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -8,6 +8,7 @@ "mutantdino.resourcemonitor", "ms-azuretools.vscode-docker", "nvidia.nsight-vscode-edition", - "ms-python.python" + "ms-python.python", + "charliermarsh.ruff" ] -} \ No newline at end of file +} diff --git a/.vscode/settings.json b/.vscode/settings.json index b21aa5301..a02b23dd9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -26,7 +26,8 @@ "[python]": { "editor.defaultFormatter": "ms-python.python", "editor.codeActionsOnSave": { - "source.organizeImports": true + "source.organizeImports": true, + "source.fixAll": true } }, "editor.formatOnSave": true, @@ -36,7 +37,6 @@ "python.linting.pylintEnabled": false, "python.linting.flake8Enabled": false, "python.linting.enabled": true, - "python.sortImports.args": ["--src=${workspaceFolder}", "--profile", "black"], "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, "python.linting.ignorePatterns": [ @@ -123,5 +123,4 @@ "python.analysis.typeCheckingMode": "basic", "python.analysis.diagnosticMode": "workspace", "eslint.packageManager": "yarn", - "ruff.fixAll": true }