File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2020 name : black
2121 entry : poetry run black .
2222 language : system
23- types : [python]
23+ types : [ python ]
2424
2525 - repo : local
2626 hooks :
2929 entry : actionlint
3030 language : system
3131 files : ^.github
32- types_or : [yaml]
32+ types_or : [ yaml ]
3333 pass_filenames : false
3434
3535 - repo : local
@@ -38,22 +38,22 @@ repos:
3838 name : pyright
3939 entry : poetry run pyright
4040 language : system
41- types : [python]
41+ types : [ python ]
4242
4343 - repo : local
4444 hooks :
4545 - id : run_flake8
4646 name : flake8
4747 entry : poetry run flake8
4848 language : system
49- types : [python]
49+ types : [ python ]
5050
5151 - repo : local
5252 hooks :
5353 - id : grype-scan-local
5454 name : Grype scan local changes
5555 entry : make
56- args : ["grype-scan-local"]
56+ args : [ "grype-scan-local" ]
5757 language : system
5858 pass_filenames : false
5959 always_run : true
@@ -78,14 +78,15 @@ repos:
7878 pass_filenames : false
7979 always_run : true
8080
81- - id : git-secrets
82- name : Git Secrets
83- description : git-secrets scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories.
81+ - id : gitleaks
82+ name : Git Leaks
83+ description : gitleaks scans commits, commit messages, and --no-ff merges to
84+ prevent adding secrets into your git repositories.
8485 entry : bash
8586 args :
8687 - -c
87- - " git-secrets --pre_commit_hook "
88+ - " gitleaks git --pre-commit --redact --staged --verbose "
8889 language : system
8990
9091fail_fast : false
91- default_stages : [pre-commit, pre-commit]
92+ default_stages : [ pre-commit, pre-commit ]
You can’t perform that action at this time.
0 commit comments