From e0aa56f4e1d22b0bd75d2fe42bc78b3f5f8d4147 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 7 Oct 2019 19:14:12 +0100 Subject: [PATCH 1/2] chore(yamllint): update ignored paths and add `octal-values` * Automated using https://github.com/myii/ssf-formula/pull/59 --- .yamllint | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.yamllint b/.yamllint index a8509bc8..c16f39ba 100644 --- a/.yamllint +++ b/.yamllint @@ -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 From 1b1747a0037fa23bd6f9865f8a74a171d767e974 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 7 Oct 2019 19:15:57 +0100 Subject: [PATCH 2/2] fix(pillar.example): fix `yamllint` error * https://travis-ci.org/myii/php-formula/builds/594703019#L208-L210 ```bash $ yamllint -s . ./pillar.example 151:30 error forbidden implicit octal value "0660" (octal-values) ``` --- pillar.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pillar.example b/pillar.example index 3e8e5258..9b0b567d 100644 --- a/pillar.example +++ b/pillar.example @@ -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