Saltstack Official Chrony Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.1KB

  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