Skip to content
Snippets Groups Projects
Commit 0a9544bb authored by nimrod's avatar nimrod
Browse files

Add pre-commit hooks.

parent 711e1084
No related branches found
No related tags found
No related merge requests found
...@@ -2,16 +2,14 @@ ...@@ -2,16 +2,14 @@
--- ---
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0 rev: v2.4.0
hooks: hooks:
- id: check-added-large-files - id: check-added-large-files
- id: check-executables-have-shebangs
- id: check-merge-conflict - id: check-merge-conflict
- id: detect-private-key
- id: trailing-whitespace - id: trailing-whitespace
exclude: \.diff$ exclude: \.diff$
- repo: https://github.com/adrienverge/yamllint - repo: https://github.com/adrienverge/yamllint
rev: v1.17.0 rev: v1.19.0
hooks: hooks:
- id: yamllint - id: yamllint
- repo: https://github.com/amperser/proselint/ - repo: https://github.com/amperser/proselint/
...@@ -19,18 +17,9 @@ repos: ...@@ -19,18 +17,9 @@ repos:
hooks: hooks:
- id: proselint - id: proselint
types: [plain-text] types: [plain-text]
exclude: LICENSE exclude: LICENSE|requirements
- repo: https://www.shore.co.il/git/shell-pre-commit/
rev: v0.6.0
hooks:
- id: shell-lint
- id: shellcheck
- repo: https://www.shore.co.il/git/docker-pre-commit - repo: https://www.shore.co.il/git/docker-pre-commit
rev: v0.3.0 rev: v0.3.0
hooks: hooks:
- id: hadolint - id: hadolint
- id: docker-compose - id: docker-compose
- repo: https://github.com/Yelp/detect-secrets
rev: v0.13.0
hooks:
- id: detect-secrets
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment