-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
1,713 additions
and
1,080 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,19 @@ | ||
{ | ||
"type": "python", | ||
"venvActivate": "./.venv/bin/activate", | ||
"steps": [ | ||
{ | ||
"name": "autoflake", | ||
"command": "autoflake -ri --remove-unused-variable --ignore-init-module-imports --remove-all-unused-imports pytemplate tests" | ||
"from": "py-black" | ||
}, | ||
{ | ||
"name": "isort", | ||
"command": "isort -m 9 --line-length 160 pytemplate tests" | ||
"from": "py-mypy" | ||
}, | ||
{ | ||
"name": "unify", | ||
"command": "unify -ri pytemplate tests" | ||
"from": "py-pytest" | ||
}, | ||
{ | ||
"name": "docformatter", | ||
"command": "docformatter --wrap-summaries 160 --wrap-descriptions 160 -ri pytemplate tests" | ||
"from": "py-ruff" | ||
}, | ||
{ | ||
"name": "yapf", | ||
"command": "yapf -ri pytemplate tests" | ||
}, | ||
{ | ||
"name": "pylint", | ||
"command": "pylint --load-plugins pylint_quotes pytemplate tests" | ||
}, | ||
{ | ||
"name": "mypy", | ||
"command": "mypy pytemplate tests" | ||
}, | ||
{ | ||
"name": "pytest", | ||
"command": "pytest tests" | ||
"from": "py-yamllint" | ||
} | ||
] | ||
} | ||
} |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "python: black", | ||
"command": "poetry run black packages sdk services scanner", | ||
"onlyOn": "**/*.py" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "python: mypy", | ||
"command": "poetry run mypy", | ||
"onlyOn": "**/*.py" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "python: pytest", | ||
"command": "make test-python", | ||
"onlyOn": "**/*.py" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "python: ruff", | ||
"command": "poetry run ruff packages sdk services scanner", | ||
"onlyOn": "**/*.py" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "python: yamllint", | ||
"command": "poetry run yamllint packages/remediations/remediations -s", | ||
"onlyOn": "**/*.yaml" | ||
} |
Oops, something went wrong.