Saltstack Official Logrotate Formula
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

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