test: standardise use of `share` suite & `_mapdata` state [skip ci]
[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 `.cache/`, introduced during the GitLab CI run
9 # 2. All YAML files under directory `.git/`
10 # 3. All YAML files under directory `node_modules/`, introduced during the Travis run
11 # 4. Any SLS files under directory `test/`, which are actually state files
12 # 5. Any YAML files under directory `.kitchen/`, introduced during local testing
13 ignore: |
14   .cache/
15   .git/
16   node_modules/
17   test/**/states/**/*.sls
18   .kitchen/
19   test/**/pillar/**/*.sls
20
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
31 rules:
32   empty-values:
33     forbid-in-block-mappings: true
34     forbid-in-flow-mappings: true
35   line-length:
36     # Increase from default of `80`
37     # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
38     max: 88
39   octal-values:
40     forbid-implicit-octal: true
41     forbid-explicit-octal: true