From b2c9cb7b6ac08892cb4eed739ce0bd21fc9a8763 Mon Sep 17 00:00:00 2001 From: Allison Thackston Date: Fri, 22 Apr 2022 13:37:10 -0700 Subject: [PATCH] Fix launch files and update pylint settings --- .vscode/launch.json | 25 ++++++++++++++++++++----- .vscode/settings.json | 3 +++ 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index c9551761..6a6d57e0 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,21 +4,36 @@ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ + { + "name": "Python: Current File", + "type": "python", + "request": "launch", + "program": "${file}", + "console": "integratedTerminal", + "justMyCode": true + }, { "name": "Build Mkdocs", "type": "python", "request": "launch", - "program": "/usr/local/bin/mkdocs", - "args": ["build", "--verbose"], + "program": "/home/vscode/.local/bin/mkdocs", + "args": [ + "build", + "--verbose" + ], "cwd": "${workspaceFolder}", "console": "integratedTerminal" }, { - "name": "Build Mkdocs (mkdocs-test.yml)", + // Attach a debugger to an example by running this in the example folder + "name": "Build example", "type": "python", "request": "launch", - "program": "/usr/local/bin/mkdocs", - "args": ["build", "--verbose"], + "program": "/home/vscode/.local/bin/mkdocs", + "args": [ + "build", + "--verbose" + ], "preLaunchTask": "debugger prelaunch", "cwd": "${fileDirname}", "console": "integratedTerminal" diff --git a/.vscode/settings.json b/.vscode/settings.json index 302086bb..697a6efe 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -74,6 +74,9 @@ "--convention=google", "--add-ignore=D415" ], + "python.linting.pylintArgs": [ + "--disable=W1514,W0613" + ], "python.testing.unittestEnabled": true, "python.testing.unittestArgs": [ "-v",