mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Add two more pre-commit hooks (#9077)
https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#detect-aws-credentials https://github.com/pre-commit/pre-commit-hooks?tab=readme-ov-file#forbid-submodules
This commit is contained in:
parent
371ce12abe
commit
c563fda081
@ -36,6 +36,8 @@ repos:
|
|||||||
- id: check-vcs-permalinks
|
- id: check-vcs-permalinks
|
||||||
#- id: check-yaml
|
#- id: check-yaml
|
||||||
- id: destroyed-symlinks
|
- id: destroyed-symlinks
|
||||||
|
- id: detect-aws-credentials
|
||||||
|
args: [--allow-missing-credentials]
|
||||||
- id: detect-private-key
|
- id: detect-private-key
|
||||||
exclude: >
|
exclude: >
|
||||||
(?x)
|
(?x)
|
||||||
@ -53,6 +55,7 @@ repos:
|
|||||||
- id: end-of-file-fixer
|
- id: end-of-file-fixer
|
||||||
exclude: \.vhd$
|
exclude: \.vhd$
|
||||||
#- id: fix-byte-order-marker
|
#- id: fix-byte-order-marker
|
||||||
|
- id: forbid-submodules
|
||||||
- id: mixed-line-ending
|
- id: mixed-line-ending
|
||||||
exclude: \.(cs|xml)$
|
exclude: \.(cs|xml)$
|
||||||
# - id: trailing-whitespace
|
# - id: trailing-whitespace
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user