mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2025-02-22 07:33:16 +01:00
* only run `yamllint` when relevant files have changed * avoids having to exclude files/dirs not tracked by Git e.g. .kitchen/, .bundle/ etc. * avoids a `yamllint` bug whereby pillar files under `test/` were not checked due to a conflicting `ignore` entry
18 lines
443 B
YAML
18 lines
443 B
YAML
# -*- coding: utf-8 -*-
|
|
# vim: ft=yaml
|
|
---
|
|
# Extend the `default` configuration provided by `yamllint`
|
|
extends: 'default'
|
|
|
|
rules:
|
|
empty-values:
|
|
forbid-in-block-mappings: true
|
|
forbid-in-flow-mappings: true
|
|
line-length:
|
|
# Increase from default of `80`
|
|
# Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
|
|
max: 88
|
|
octal-values:
|
|
forbid-implicit-octal: true
|
|
forbid-explicit-octal: true
|