SuperTux88's Diaspora Saltstack 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.

преди 4 години
1234567891011121314151617181920212223242526272829303132333435363738
  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 `node_modules/`, introduced during the Travis run
  8. # 2. Any SLS files under directory `test/`, which are actually state files
  9. # 3. Any YAML files under directory `.kitchen/`, introduced during local testing
  10. ignore: |
  11. node_modules/
  12. test/**/states/**/*.sls
  13. .kitchen/
  14. diaspora/files/default/database.yml
  15. diaspora/files/default/diaspora.yml
  16. yaml-files:
  17. # Default settings
  18. - '*.yaml'
  19. - '*.yml'
  20. - .salt-lint
  21. - .yamllint
  22. # SaltStack Formulas additional settings
  23. - '*.example'
  24. - test/**/*.sls
  25. rules:
  26. empty-values:
  27. forbid-in-block-mappings: true
  28. forbid-in-flow-mappings: true
  29. line-length:
  30. # Increase from default of `80`
  31. # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
  32. max: 88
  33. octal-values:
  34. forbid-implicit-octal: true
  35. forbid-explicit-octal: true