Skip to content

Commit

Permalink
Merge pull request #203 from myii/chore/update-yamllint-config
Browse files Browse the repository at this point in the history
fix(pillar.example): fix `octal-values` violation
  • Loading branch information
myii authored Oct 7, 2019
2 parents e34de1f + 1b1747a commit 5b19f60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5b19f60

Please sign in to comment.