Skip to content

Commit

Permalink
Fix launch files and update pylint settings (#305)
Browse files Browse the repository at this point in the history
  • Loading branch information
athackst committed Apr 22, 2022
1 parent 63dba6f commit d4f647b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .vscode/launch.json
Expand Up @@ -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"
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Expand Up @@ -74,6 +74,9 @@
"--convention=google",
"--add-ignore=D415"
],
"python.linting.pylintArgs": [
"--disable=W1514,W0613"
],
"python.testing.unittestEnabled": true,
"python.testing.unittestArgs": [
"-v",
Expand Down

0 comments on commit d4f647b

Please sign in to comment.