Saltstack Official Logrotate Formula
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

74 lines
2.2KB

  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. ci:
  7. autofix_commit_msg: |
  8. ci(pre-commit.ci): apply auto fixes from pre-commit.com hooks
  9. For more information, see https://pre-commit.ci
  10. autofix_prs: true
  11. autoupdate_branch: ''
  12. autoupdate_commit_msg: |
  13. ci(pre-commit.ci): perform `pre-commit` autoupdate
  14. autoupdate_schedule: quarterly
  15. skip: []
  16. submodules: false
  17. default_stages: [commit]
  18. repos:
  19. - repo: https://github.com/dafyddj/commitlint-pre-commit-hook
  20. rev: v2.3.0
  21. hooks:
  22. - id: commitlint
  23. name: Check commit message using commitlint
  24. description: Lint commit message against @commitlint/config-conventional rules
  25. stages: [commit-msg]
  26. additional_dependencies: ['@commitlint/config-conventional@17.1.0']
  27. - repo: https://github.com/rubocop-hq/rubocop
  28. rev: v1.57.0
  29. hooks:
  30. - id: rubocop
  31. name: Check Ruby files with rubocop
  32. args: [--debug]
  33. always_run: true
  34. pass_filenames: false
  35. - repo: https://github.com/shellcheck-py/shellcheck-py
  36. rev: v0.9.0.6
  37. hooks:
  38. - id: shellcheck
  39. name: Check shell scripts with shellcheck
  40. files: ^.*\.(sh|bash|ksh)$
  41. types: []
  42. - repo: https://github.com/adrienverge/yamllint
  43. rev: v1.32.0
  44. hooks:
  45. - id: yamllint
  46. name: Check YAML syntax with yamllint
  47. args: [--strict, '.']
  48. always_run: true
  49. pass_filenames: false
  50. - repo: https://github.com/warpnet/salt-lint
  51. rev: v0.9.2
  52. hooks:
  53. - id: salt-lint
  54. name: Check Salt files using salt-lint
  55. files: ^.*\.(sls|jinja|j2|tmpl|tst)$
  56. - repo: https://github.com/myint/rstcheck
  57. rev: v6.2.4
  58. hooks:
  59. - id: rstcheck
  60. name: Check reST files using rstcheck
  61. exclude: 'docs/CHANGELOG.rst'
  62. - repo: https://github.com/saltstack-formulas/mirrors-rst-lint
  63. rev: v1.3.2
  64. hooks:
  65. - id: rst-lint
  66. name: Check reST files using rst-lint
  67. exclude: |
  68. (?x)^(
  69. docs/CHANGELOG.rst|
  70. docs/TOFS_pattern.rst|
  71. )$
  72. additional_dependencies: [pygments==2.16.1]