You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.pre-commit-config.yaml 1.1KB

12345678910111213141516171819202122232425262728293031
  1. # See https://pre-commit.com for more information
  2. # See https://pre-commit.com/hooks.html for more hooks
  3. repos:
  4. - repo: meta # https://pre-commit.com/#meta-hooks
  5. hooks:
  6. - id: check-hooks-apply # ensures that the configured hooks apply to at least one file in the repository
  7. - id: check-useless-excludes # ensures that exclude directives apply to any file in the repository
  8. - id: identity # a simple hook which prints all arguments passed to it, useful for debugging
  9. - repo: https://github.com/pre-commit/pre-commit-hooks
  10. rev: v4.6.0
  11. hooks:
  12. - id: trailing-whitespace
  13. # - id: end-of-file-fixer
  14. - id: check-yaml
  15. - id: check-added-large-files
  16. - repo: https://github.com/sirwart/ripsecrets
  17. rev: v0.1.8 # Use latest tag on GitHub
  18. hooks:
  19. - id: ripsecrets-system
  20. # uncomment to check additional patterns
  21. # args:
  22. # - --additional-pattern 'mytoken*'
  23. # - --additional-pattern 'mykey*'
  24. - repo: https://github.com/gitleaks/gitleaks
  25. rev: v8.18.2
  26. hooks:
  27. - id: gitleaks-system