0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2025-02-22 07:33:16 +01:00
salt-formula/.yamllint
Dafydd Jones be66375cb7 test(pre-commit): switch to using pre-commit's built-in file filtering
* 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
2023-11-10 14:38:19 +00:00

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