Saltstack Official Salt 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.

44 satır
1.2KB

  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. # 6. All YAML files heavily reliant on Jinja; these can be tackled in a subsequent PR
  13. ignore: |
  14. .cache/
  15. .git/
  16. node_modules/
  17. test/**/states/**/*.sls
  18. .kitchen/
  19. salt/osfamilymap.yaml
  20. salt/osmap.yaml
  21. yaml-files:
  22. # Default settings
  23. - '*.yaml'
  24. - '*.yml'
  25. - .salt-lint
  26. - .yamllint
  27. # SaltStack Formulas additional settings
  28. - '*.example'
  29. - test/**/*.sls
  30. rules:
  31. empty-values:
  32. forbid-in-block-mappings: true
  33. forbid-in-flow-mappings: true
  34. line-length:
  35. # Increase from default of `80`
  36. # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
  37. max: 88
  38. octal-values:
  39. forbid-implicit-octal: true
  40. forbid-explicit-octal: true