diff --git a/.devcontainer/dev-amd-wsl/devcontainer.json b/.devcontainer/dev-amd-wsl/devcontainer.json index 4bdb75e..30413f0 100644 --- a/.devcontainer/dev-amd-wsl/devcontainer.json +++ b/.devcontainer/dev-amd-wsl/devcontainer.json @@ -23,11 +23,28 @@ "settings": { "python.defaultInterpreterPath": "/workspace/.venv/bin/python", "python.terminal.activateEnvironment": true, + "python.analysis.autoFormatStrings": true, "jupyter.notebookFileRoot": "${workspaceFolder}", "terminal.integrated.defaultProfile.linux": "bash", "autopep8.path": ["/workspace/.venv/bin/autopep8"], "ruff.path": ["/workspace/.venv/bin/ruff"], - "ruff.interpreter": ["/workspace/.venv/bin/python"] + "ruff.interpreter": ["/workspace/.venv/bin/python"], + "[python]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, + "editor.rulers": [120], + "editor.defaultFormatter": "ms-python.autopep8", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll": "explicit", + "source.organizeImports": "explicit" + } + }, + "notebook.formatOnSave.enabled": true, + "notebook.codeActionsOnSave": { + "notebook.source.fixAll": "explicit", + "notebook.source.organizeImports": "explicit" + } } } }, diff --git a/.devcontainer/dev-amd/devcontainer.json b/.devcontainer/dev-amd/devcontainer.json index 859898e..e090b2f 100644 --- a/.devcontainer/dev-amd/devcontainer.json +++ b/.devcontainer/dev-amd/devcontainer.json @@ -23,11 +23,28 @@ "settings": { "python.defaultInterpreterPath": "/workspace/.venv/bin/python", "python.terminal.activateEnvironment": true, + "python.analysis.autoFormatStrings": true, "jupyter.notebookFileRoot": "${workspaceFolder}", "terminal.integrated.defaultProfile.linux": "bash", "autopep8.path": ["/workspace/.venv/bin/autopep8"], "ruff.path": ["/workspace/.venv/bin/ruff"], - "ruff.interpreter": ["/workspace/.venv/bin/python"] + "ruff.interpreter": ["/workspace/.venv/bin/python"], + "[python]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, + "editor.rulers": [120], + "editor.defaultFormatter": "ms-python.autopep8", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll": "explicit", + "source.organizeImports": "explicit" + } + }, + "notebook.formatOnSave.enabled": true, + "notebook.codeActionsOnSave": { + "notebook.source.fixAll": "explicit", + "notebook.source.organizeImports": "explicit" + } } } }, diff --git a/.devcontainer/dev-cpu/devcontainer.json b/.devcontainer/dev-cpu/devcontainer.json index c36518d..c31680f 100644 --- a/.devcontainer/dev-cpu/devcontainer.json +++ b/.devcontainer/dev-cpu/devcontainer.json @@ -23,11 +23,28 @@ "settings": { "python.defaultInterpreterPath": "/workspace/.venv/bin/python", "python.terminal.activateEnvironment": true, + "python.analysis.autoFormatStrings": true, "jupyter.notebookFileRoot": "${workspaceFolder}", "terminal.integrated.defaultProfile.linux": "bash", "autopep8.path": ["/workspace/.venv/bin/autopep8"], "ruff.path": ["/workspace/.venv/bin/ruff"], - "ruff.interpreter": ["/workspace/.venv/bin/python"] + "ruff.interpreter": ["/workspace/.venv/bin/python"], + "[python]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, + "editor.rulers": [120], + "editor.defaultFormatter": "ms-python.autopep8", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll": "explicit", + "source.organizeImports": "explicit" + } + }, + "notebook.formatOnSave.enabled": true, + "notebook.codeActionsOnSave": { + "notebook.source.fixAll": "explicit", + "notebook.source.organizeImports": "explicit" + } } } }, diff --git a/.devcontainer/dev-nvidia/devcontainer.json b/.devcontainer/dev-nvidia/devcontainer.json index beb609f..b0926b7 100644 --- a/.devcontainer/dev-nvidia/devcontainer.json +++ b/.devcontainer/dev-nvidia/devcontainer.json @@ -23,11 +23,28 @@ "settings": { "python.defaultInterpreterPath": "/workspace/.venv/bin/python", "python.terminal.activateEnvironment": true, + "python.analysis.autoFormatStrings": true, "jupyter.notebookFileRoot": "${workspaceFolder}", "terminal.integrated.defaultProfile.linux": "bash", "autopep8.path": ["/workspace/.venv/bin/autopep8"], "ruff.path": ["/workspace/.venv/bin/ruff"], - "ruff.interpreter": ["/workspace/.venv/bin/python"] + "ruff.interpreter": ["/workspace/.venv/bin/python"], + "[python]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, + "editor.rulers": [120], + "editor.defaultFormatter": "ms-python.autopep8", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll": "explicit", + "source.organizeImports": "explicit" + } + }, + "notebook.formatOnSave.enabled": true, + "notebook.codeActionsOnSave": { + "notebook.source.fixAll": "explicit", + "notebook.source.organizeImports": "explicit" + } } } }, diff --git a/.devcontainer/pytorch-prod-amd/devcontainer.json b/.devcontainer/pytorch-prod-amd/devcontainer.json index 69e0ed0..e310548 100644 --- a/.devcontainer/pytorch-prod-amd/devcontainer.json +++ b/.devcontainer/pytorch-prod-amd/devcontainer.json @@ -17,9 +17,26 @@ "settings": { "python.defaultInterpreterPath": "/workspace/.venv/bin/python", "python.terminal.activateEnvironment": true, + "python.analysis.autoFormatStrings": true, "terminal.integrated.defaultProfile.linux": "bash", "ruff.path": ["/workspace/.venv/bin/ruff"], - "ruff.interpreter": ["/workspace/.venv/bin/python"] + "ruff.interpreter": ["/workspace/.venv/bin/python"], + "[python]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, + "editor.rulers": [120], + "editor.defaultFormatter": "ms-python.autopep8", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll": "explicit", + "source.organizeImports": "explicit" + } + }, + "notebook.formatOnSave.enabled": true, + "notebook.codeActionsOnSave": { + "notebook.source.fixAll": "explicit", + "notebook.source.organizeImports": "explicit" + } } } }, diff --git a/.devcontainer/pytorch-prod-cpu/devcontainer.json b/.devcontainer/pytorch-prod-cpu/devcontainer.json index a817acb..d8859d0 100644 --- a/.devcontainer/pytorch-prod-cpu/devcontainer.json +++ b/.devcontainer/pytorch-prod-cpu/devcontainer.json @@ -17,9 +17,26 @@ "settings": { "python.defaultInterpreterPath": "/workspace/.venv/bin/python", "python.terminal.activateEnvironment": true, + "python.analysis.autoFormatStrings": true, "terminal.integrated.defaultProfile.linux": "bash", "ruff.path": ["/workspace/.venv/bin/ruff"], - "ruff.interpreter": ["/workspace/.venv/bin/python"] + "ruff.interpreter": ["/workspace/.venv/bin/python"], + "[python]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, + "editor.rulers": [120], + "editor.defaultFormatter": "ms-python.autopep8", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll": "explicit", + "source.organizeImports": "explicit" + } + }, + "notebook.formatOnSave.enabled": true, + "notebook.codeActionsOnSave": { + "notebook.source.fixAll": "explicit", + "notebook.source.organizeImports": "explicit" + } } } }, diff --git a/.devcontainer/pytorch-prod-nvidia/devcontainer.json b/.devcontainer/pytorch-prod-nvidia/devcontainer.json index 4437ad8..ed75a99 100644 --- a/.devcontainer/pytorch-prod-nvidia/devcontainer.json +++ b/.devcontainer/pytorch-prod-nvidia/devcontainer.json @@ -17,9 +17,26 @@ "settings": { "python.defaultInterpreterPath": "/workspace/.venv/bin/python", "python.terminal.activateEnvironment": true, + "python.analysis.autoFormatStrings": true, "terminal.integrated.defaultProfile.linux": "bash", "ruff.path": ["/workspace/.venv/bin/ruff"], - "ruff.interpreter": ["/workspace/.venv/bin/python"] + "ruff.interpreter": ["/workspace/.venv/bin/python"], + "[python]": { + "editor.tabSize": 4, + "editor.insertSpaces": true, + "editor.rulers": [120], + "editor.defaultFormatter": "ms-python.autopep8", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll": "explicit", + "source.organizeImports": "explicit" + } + }, + "notebook.formatOnSave.enabled": true, + "notebook.codeActionsOnSave": { + "notebook.source.fixAll": "explicit", + "notebook.source.organizeImports": "explicit" + } } } },