diff --git a/morpheus.code-workspace b/morpheus.code-workspace index 273057e0d5..dd9ed51763 100644 --- a/morpheus.code-workspace +++ b/morpheus.code-workspace @@ -1,4 +1,25 @@ { + "extensions": { + // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. + // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp + // List of extensions which should be recommended for users of this workspace. + "recommendations": [ + "eeyore.yapf", + "josetr.cmake-language-support-vscode", + "llvm-vs-code-extensions.vscode-clangd", + "matepek.vscode-catch2-test-adapter", + "ms-python.flake8", + "ms-python.isort", + "ms-python.pylint", + "ms-vscode.cmake-tools", + "stkb.rewrap", + "twxs.cmake" + ], + // List of extensions recommended by VS Code that should not be recommended for users of this workspace. + "unwantedRecommendations": [ + "austin.code-gnu-global" + ] + }, "folders": [ { "path": "." @@ -565,52 +586,54 @@ "type": "cppdbg" }, { - "name": "Python: GNN DGL inference", - "type": "python", - "request": "launch", - "program": "${workspaceFolder}/examples/gnn_fraud_detection_pipeline/run.py", - "console": "integratedTerminal", - "cwd": "${workspaceFolder}/examples/gnn_fraud_detection_pipeline", - "justMyCode": false, "args": [ "--input_file=validation.csv", "--training_file=training.csv", "--output_file=result.csv", "--model_dir=model" - ] - }, - { - "name": "Python: GNN model training", - "type": "python", - "request": "launch", - "program": "${workspaceFolder}/models/training-tuning-scripts/fraud-detection-models/training.py", + ], "console": "integratedTerminal", - "cwd": "${workspaceFolder}/models/training-tuning-scripts/fraud-detection-models", + "cwd": "${workspaceFolder}/examples/gnn_fraud_detection_pipeline", "justMyCode": false, + "name": "Python: GNN DGL inference", + "program": "${workspaceFolder}/examples/gnn_fraud_detection_pipeline/run.py", + "request": "launch", + "type": "python" + }, + { "args": [ "--training-data=${workspaceFolder}/examples/gnn_fraud_detection_pipeline/training.csv", "--validation-data=${workspaceFolder}/examples/gnn_fraud_detection_pipeline/validation.csv", "--output-file=result.csv", "--model-dir=models", "--epochs=5" - ] + ], + "console": "integratedTerminal", + "cwd": "${workspaceFolder}/models/training-tuning-scripts/fraud-detection-models", + "justMyCode": false, + "name": "Python: GNN model training", + "program": "${workspaceFolder}/models/training-tuning-scripts/fraud-detection-models/training.py", + "request": "launch", + "type": "python" } ] }, "settings": { "[cpp]": { + "editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd", "editor.detectIndentation": false, "editor.formatOnSave": true, "editor.semanticHighlighting.enabled": true, "editor.suggest.insertMode": "replace", "editor.tabSize": 4, - "editor.wordBasedSuggestions": false, + "editor.wordBasedSuggestions": "off", "editor.wordWrapColumn": 120 }, "[python]": { "editor.codeActionsOnSave": { - "source.organizeImports": true + "source.organizeImports": "explicit" }, + "editor.defaultFormatter": "eeyore.yapf", "editor.formatOnSave": true, "editor.tabSize": 4 }, @@ -628,6 +651,9 @@ "files.insertFinalNewline": true, "files.trimFinalNewlines": true, "files.trimTrailingWhitespace": true, + "flake8.args": [ + "--style=${workspaceFolder}/setup.cfg" + ], "pylint.args": [ "--rcfile=${workspaceFolder}/pyproject.toml", "--init-hook=import sys; sys.path.append(\"${workspaceFolder}\")" @@ -636,17 +662,15 @@ "python.analysis.extraPaths": [ "./examples/digital_fingerprinting/production/morpheus" ], - "python.formatting.provider": "yapf", - "python.formatting.yapfArgs": [ - "--style=${workspaceFolder}/setup.cfg" - ], - "python.linting.flake8Enabled": true, "python.testing.pytestArgs": [ "-s", "tests" ], "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, - "rewrap.wrappingColumn": 120 + "rewrap.wrappingColumn": 120, + "yapf.args": [ + "--style=${workspaceFolder}/setup.cfg" + ] } }