Saltstack Official Syslog-NG Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

48 lines
1.5KB

  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/shellcheck-py/shellcheck-py
  21. rev: v0.7.1.1
  22. hooks:
  23. - id: shellcheck
  24. name: Check shell scripts with shellcheck
  25. files: ^.*\.(sh|bash|ksh)$
  26. types: []
  27. - repo: https://github.com/adrienverge/yamllint
  28. rev: v1.23.0
  29. hooks:
  30. - id: yamllint
  31. name: Check YAML syntax with yamllint
  32. args: [--strict, '.']
  33. always_run: true
  34. pass_filenames: false
  35. - repo: https://github.com/warpnet/salt-lint
  36. rev: v0.3.0
  37. hooks:
  38. - id: salt-lint
  39. name: Check Salt files using salt-lint
  40. files: ^.*\.(sls|jinja|j2|tmpl|tst)$
  41. - repo: https://github.com/myint/rstcheck
  42. rev: 3f929574
  43. hooks:
  44. - id: rstcheck
  45. name: Check reST files using rstcheck
  46. exclude: 'docs/CHANGELOG.rst'
  47. args: [--report=warning]