-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: show versions of configured hooks for repo (#419)
secureli-175 When running `secureli --version` will display the versions of all the pre-commit hooks installed ## Changes ![image](https://github.com/slalombuild/secureli/assets/127901972/f6279aa8-2863-40ba-84e5-f9a1bdddfc96) <!-- A detailed list of changes --> * Display list versions of versions of pre-commit hooks installed when running `secureli --version` * Added launch.json setting file to debug in vscode ## Testing <!-- Mention updated tests and any manual testing performed. Are aspects not yet tested or not easily testable? Feel free to include screenshots if appropriate. --> * All existing unit tests are passing ## Clean Code Checklist <!-- This is here to support you. Some/most checkboxes may not apply to your change --> - [x] Meets acceptance criteria for issue - [ ] New logic is covered with automated tests - [ ] Appropriate exception handling added - [ ] Thoughtful logging included - [ ] Documentation is updated - [ ] Follow-up work is documented in TODOs - [ ] TODOs have a ticket associated with them - [x] No commented-out code included <!-- Github-flavored markdown reference: https://docs.github.com/en/get-started/writing-on-github -->
- Loading branch information
1 parent
187a78d
commit fd098ab
Showing
3 changed files
with
80 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Python: secureli --version", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/secureli/main.py", | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"console": "integratedTerminal", | ||
"justMyCode": true, | ||
"args": ["--version"] | ||
}, | ||
{ | ||
"name": "Python: secureli --help", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/secureli/main.py", | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"console": "integratedTerminal", | ||
"justMyCode": true, | ||
"args": ["--help"] | ||
}, | ||
{ | ||
"name": "Python: secureli init", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/secureli/main.py", | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"console": "integratedTerminal", | ||
"justMyCode": true, | ||
"args": ["init"] | ||
}, | ||
{ | ||
"name": "Python: secureli scan", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/secureli/main.py", | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"console": "integratedTerminal", | ||
"justMyCode": true, | ||
"args": ["scan"] | ||
}, | ||
{ | ||
"name": "Python: secureli update", | ||
"type": "python", | ||
"request": "launch", | ||
"program": "${workspaceFolder}/secureli/main.py", | ||
"cwd": "${workspaceFolder}", | ||
"stopOnEntry": false, | ||
"console": "integratedTerminal", | ||
"justMyCode": true, | ||
"args": ["update"] | ||
} | ||
] | ||
} |
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 @@ | ||
{ | ||
"python.testing.pytestArgs": ["tests"], | ||
"python.testing.unittestEnabled": false, | ||
"python.testing.pytestEnabled": true | ||
} |
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