Saltstack Official Salt Formula
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

47 lines
1.3KB

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