Saltstack Official Apt-Cacher Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

56 rindas
1.7KB

  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. # See https://pre-commit.com for more information
  5. # See https://pre-commit.com/hooks.html for more hooks
  6. default_stages: [commit]
  7. repos:
  8. - repo: https://github.com/dafyddj/commitlint-pre-commit-hook
  9. rev: v2.3.0
  10. hooks:
  11. - id: commitlint
  12. name: Check commit message using commitlint
  13. description: Lint commit message against @commitlint/config-conventional rules
  14. stages: [commit-msg]
  15. additional_dependencies: ['@commitlint/config-conventional@8.3.4']
  16. - id: commitlint-travis
  17. stages: [manual]
  18. additional_dependencies: ['@commitlint/config-conventional@8.3.4']
  19. always_run: true
  20. - repo: https://github.com/adithyabsk/mirrors-rubocop
  21. rev: v0.91.0
  22. hooks:
  23. - id: rubocop
  24. name: Check Ruby files with rubocop
  25. args: [--debug]
  26. always_run: true
  27. pass_filenames: false
  28. - repo: https://github.com/jumanjihouse/pre-commit-hooks
  29. rev: 2.1.3
  30. hooks:
  31. - id: shellcheck
  32. name: Check shell scripts with shellcheck
  33. files: ^.*\.(sh|bash|ksh)$
  34. types: []
  35. args: []
  36. - repo: https://github.com/adrienverge/yamllint.git
  37. rev: v1.23.0
  38. hooks:
  39. - id: yamllint
  40. name: Check YAML syntax with yamllint
  41. args: [--strict, '.']
  42. always_run: true
  43. pass_filenames: false
  44. - repo: https://github.com/warpnet/salt-lint
  45. rev: v0.3.0
  46. hooks:
  47. - id: salt-lint
  48. name: Check Salt files using salt-lint
  49. files: ^.*\.(sls|jinja|j2|tmpl|tst)$
  50. # - repo: https://github.com/myint/rstcheck
  51. # rev: 3f929574
  52. # hooks:
  53. # - id: rstcheck
  54. # name: Check reST files using rstcheck
  55. # args: [--report=warning]