feat: convert `template-formula` to `arvados-formula`
[arvados-formula.git] / .yamllint
1 # -*- coding: utf-8 -*-
2 # vim: ft=yaml
3 ---
4 # Extend the `default` configuration provided by `yamllint`
5 extends: default
6
7 # Files to ignore completely
8 # 1. All YAML files under directory `node_modules/`, introduced during the Travis run
9 # 2. Any SLS files under directory `test/`, which are actually state files
10 # 3. Any YAML files under directory `.kitchen/`, introduced during local testing
11 ignore: |
12   node_modules/
13   test/**/states/**/*.sls
14   .kitchen/
15
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
26 rules:
27   empty-values:
28     forbid-in-block-mappings: true
29     forbid-in-flow-mappings: true
30   line-length:
31     # Increase from default of `80`
32     # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
33     max: 88
34   octal-values:
35     forbid-implicit-octal: true
36     forbid-explicit-octal: true