Saltstack Official Syslog-NG 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.

.pre-commit-config.yaml 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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/rubocop-hq/rubocop
  21. rev: v1.25.1
  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/shellcheck-py/shellcheck-py
  29. rev: v0.8.0.4
  30. hooks:
  31. - id: shellcheck
  32. name: Check shell scripts with shellcheck
  33. files: ^.*\.(sh|bash|ksh)$
  34. types: []
  35. - repo: https://github.com/adrienverge/yamllint
  36. rev: v1.26.3
  37. hooks:
  38. - id: yamllint
  39. name: Check YAML syntax with yamllint
  40. args: [--strict, '.']
  41. always_run: true
  42. pass_filenames: false
  43. - repo: https://github.com/warpnet/salt-lint
  44. rev: v0.8.0
  45. hooks:
  46. - id: salt-lint
  47. name: Check Salt files using salt-lint
  48. files: ^.*\.(sls|jinja|j2|tmpl|tst)$
  49. - repo: https://github.com/myint/rstcheck
  50. rev: 3f929574
  51. hooks:
  52. - id: rstcheck
  53. name: Check reST files using rstcheck
  54. exclude: 'docs/CHANGELOG.rst'
  55. - repo: https://github.com/saltstack-formulas/mirrors-rst-lint
  56. rev: v1.3.2
  57. hooks:
  58. - id: rst-lint
  59. name: Check reST files using rst-lint
  60. exclude: |
  61. (?x)^(
  62. docs/CHANGELOG.rst|
  63. docs/TOFS_pattern.rst|
  64. )$
  65. additional_dependencies: [pygments==2.9.0]