Skip to content

Commit

Permalink
Updating the workspace settings to remove deprecated python options (#…
Browse files Browse the repository at this point in the history
…1440)

Removes the deprecated python settings in favor of the options recommended in https://github.com/microsoft/vscode-python/wiki/Migration-to-Python-Tools-Extensions

Authors:
  - Michael Demoret (https://github.com/mdemoret-nv)

Approvers:
  - Devin Robison (https://github.com/drobison00)

URL: #1440
  • Loading branch information
mdemoret-nv authored Dec 22, 2023
1 parent b49ff8d commit 36f1c19
Showing 1 changed file with 48 additions and 24 deletions.
72 changes: 48 additions & 24 deletions morpheus.code-workspace
Original file line number Diff line number Diff line change
@@ -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": "."
Expand Down Expand Up @@ -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
},
Expand All @@ -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}\")"
Expand All @@ -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"
]
}
}

0 comments on commit 36f1c19

Please sign in to comment.