ci(gitlab-ci): use GitLab CI as Travis CI replacement
[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   .cache/
13   node_modules/
14   test/**/states/**/*.sls
15   .kitchen/
16   test/**/pillar/**/*.sls
17
18 yaml-files:
19   # Default settings
20   - '*.yaml'
21   - '*.yml'
22   - .salt-lint
23   - .yamllint
24   # SaltStack Formulas additional settings
25   - '*.example'
26   - test/**/*.sls
27
28 rules:
29   empty-values:
30     forbid-in-block-mappings: true
31     forbid-in-flow-mappings: true
32   line-length:
33     # Increase from default of `80`
34     # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
35     max: 88
36   octal-values:
37     forbid-implicit-octal: true
38     forbid-explicit-octal: true