Skip to content

Commit

Permalink
vscode: Add support for pylint and task runner code plus
Browse files Browse the repository at this point in the history
Signed-off-by: Matheus Castello <[email protected]>
  • Loading branch information
microhobby committed Oct 20, 2024
1 parent 94f4ac0 commit 900e0f0
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"ms-python.pylint",
"eamodio.gitlens",
"github.copilot",
"jetmartin.bats"
"jetmartin.bats",
"microhobby.taskrunnercodeplus"
]
}
},
Expand Down
13 changes: 13 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"python.analysis.inlayHints.variableTypes": true,
"python.analysis.inlayHints.callArgumentNames": "all",
"python.analysis.inlayHints.functionReturnTypes": true,
"pylint.enabled": true,
"pylint.importStrategy": "fromEnvironment",
"pylint.args": [
"--disable=missing-module-docstring",
"--disable=missing-class-docstring",
"--disable=missing-function-docstring",
"--disable=fixme"
]
}
24 changes: 23 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,28 @@
"/usr/local/bin/pytest",
"--log-cli-level=INFO"
]
},
{
"label": "pylint",
"type": "shell",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": false
},
"command": "pylint",
"args": [
"--output-format=colorized",
"--disable=missing-module-docstring",
"--disable=missing-class-docstring",
"--disable=missing-function-docstring",
"--disable=fixme",
"tcbuilder/**/*.py",
"*.py"
]
}
]
}
}

0 comments on commit 900e0f0

Please sign in to comment.