Просмотр исходного кода

chore(yamllint): update ignored paths and add `octal-values` [skip ci]

* Automated using https://github.com/myii/ssf-formula/pull/59
tags/v0.59.4
Imran Iqbal 5 лет назад
Родитель
Сommit
33b133c200
1 измененных файлов: 6 добавлений и 1 удалений
  1. +6
    -1
      .yamllint

+ 6
- 1
.yamllint Просмотреть файл

@@ -7,10 +7,12 @@ extends: default
# Files to ignore completely
# 1. All YAML files under directory `node_modules/`, introduced during the Travis run
# 2. Any SLS files under directory `test/`, which are actually state files
# 3. All YAML files heavily reliant on Jinja; these can be tackled in a subsequent PR
# 3. Any YAML files under directory `.kitchen/`, introduced during local testing
# 4. All YAML files heavily reliant on Jinja; these can be tackled in a subsequent PR
ignore: |
node_modules/
test/**/states/**/*.sls
.kitchen/
salt/osfamilymap.yaml
salt/osmap.yaml

@@ -31,3 +33,6 @@ rules:
# 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

Загрузка…
Отмена
Сохранить