Skip to content

Commit 5b19f60

Browse files
authored
Merge pull request #203 from myii/chore/update-yamllint-config
fix(pillar.example): fix `octal-values` violation
2 parents e34de1f + 1b1747a commit 5b19f60

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.yamllint

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ extends: default
77
# Files to ignore completely
88
# 1. All YAML files under directory `node_modules/`, introduced during the Travis run
99
# 2. Any SLS files under directory `test/`, which are actually state files
10+
# 3. Any YAML files under directory `.kitchen/`, introduced during local testing
1011
ignore: |
1112
node_modules/
1213
test/**/states/**/*.sls
14+
.kitchen/
1315
1416
yaml-files:
1517
# Default settings
@@ -28,3 +30,6 @@ rules:
2830
# Increase from default of `80`
2931
# Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
3032
max: 88
33+
octal-values:
34+
forbid-implicit-octal: true
35+
forbid-explicit-octal: true

pillar.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ php:
148148
listen: /var/run/php5-fpm-myapp.sock
149149
listen.owner: www-data
150150
listen.group: www-data
151-
listen.mode: 0660
151+
listen.mode: '0660'
152152
pm: dynamic
153153
pm.max_children: 5
154154
pm.start_servers: 2

0 commit comments

Comments
 (0)