Skip to content

Commit

Permalink
Add "Pylint download-requirements" task
Browse files Browse the repository at this point in the history
  • Loading branch information
to-bar committed Mar 18, 2022
1 parent 0cf44e9 commit 831611a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,32 @@
],
},
{
"label": "Pylint junit",
"label": "Pylint CLI junit",
"command": "pylint --rcfile .pylintrc ./cli ./tests --output ${workspaceFolder}/test_results/pylint_results.xml",
"dependsOn": [
"Ensure test_results directory"
],
"group": "test",
},
{
"label": "Pylint terminal",
"label": "Pylint CLI terminal",
"command": "pylint --rcfile .pylintrc ./cli ./tests --output-format text",
"group": "test",
},
{
"label": "Pylint download-requirements",
"command": "pylint",
"args": [
"--rcfile",
".pylintrc",
"--output-format",
"text",
"./ansible/playbooks/roles/repository/files/download-requirements/download-requirements.py",
"./ansible/playbooks/roles/repository/files/download-requirements/src",
"./ansible/playbooks/roles/repository/files/download-requirements/tests",
],
"group": "test",
},
{
"label": "Ansible-lint junit",
"command": "ansible-lint --nocolor -q -c .ansible-lint -p ${workspaceFolder}/ansible/playbooks/*.yml > ${workspaceFolder}/test_results/ansiblelint_results.txt ; ansible-lint-to-junit-xml ${workspaceFolder}/test_results/ansiblelint_results.txt > ${workspaceFolder}/test_results/ansiblelint_results.xml",
Expand Down

0 comments on commit 831611a

Please sign in to comment.