Parcourir la source

Merge pull request #203 from myii/chore/update-yamllint-config

fix(pillar.example): fix `octal-values` violation
tags/v1.2.1
Imran Iqbal il y a 5 ans
Parent
révision
5b19f603c1
Aucun compte lié à l'adresse e-mail de l'auteur
2 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. +5
    -0
      .yamllint
  2. +1
    -1
      pillar.example

+ 5
- 0
.yamllint Voir le fichier

@@ -7,9 +7,11 @@ 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. Any YAML files under directory `.kitchen/`, introduced during local testing
ignore: |
node_modules/
test/**/states/**/*.sls
.kitchen/

yaml-files:
# Default settings
@@ -28,3 +30,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

+ 1
- 1
pillar.example Voir le fichier

@@ -148,7 +148,7 @@ php:
listen: /var/run/php5-fpm-myapp.sock
listen.owner: www-data
listen.group: www-data
listen.mode: 0660
listen.mode: '0660'
pm: dynamic
pm.max_children: 5
pm.start_servers: 2

Chargement…
Annuler
Enregistrer