Saltstack Official Chrony Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. # Extend the `default` configuration provided by `yamllint`
  5. extends: 'default'
  6. # Files to ignore completely
  7. # 1. All YAML files under directory `.cache/`, introduced during the GitLab CI run
  8. # 2. All YAML files under directory `.git/`
  9. # 3. All YAML files under directory `node_modules/`, introduced during the Travis run
  10. # 4. Any SLS files under directory `test/`, which are actually state files
  11. # 5. Any YAML files under directory `.kitchen/`, introduced during local testing
  12. ignore: |
  13. .cache/
  14. .git/
  15. node_modules/
  16. test/**/states/**/*.sls
  17. .kitchen/
  18. yaml-files:
  19. # Default settings
  20. - '*.yaml'
  21. - '*.yml'
  22. - .salt-lint
  23. - .yamllint
  24. # SaltStack Formulas additional settings
  25. - '*.example'
  26. - test/**/*.sls
  27. rules:
  28. empty-values:
  29. forbid-in-block-mappings: true
  30. forbid-in-flow-mappings: true
  31. line-length:
  32. # Increase from default of `80`
  33. # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
  34. max: 88
  35. octal-values:
  36. forbid-implicit-octal: true
  37. forbid-explicit-octal: true