Skip to content
Snippets Groups Projects
Commit 80f79c92 authored by Imran Iqbal's avatar Imran Iqbal
Browse files

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

parent 3b34955b
No related branches found
No related tags found
No related merge requests found
...@@ -7,10 +7,12 @@ extends: default ...@@ -7,10 +7,12 @@ extends: default
# Files to ignore completely # Files to ignore completely
# 1. All YAML files under directory `node_modules/`, introduced during the Travis run # 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 # 2. Any SLS files under directory `test/`, which are actually state files
# 3. Any YAML files using Jinja (result in `yamllint` syntax errors) # 3. Any YAML files under directory `.kitchen/`, introduced during local testing
# 4. Any YAML files using Jinja (result in `yamllint` syntax errors)
ignore: | ignore: |
node_modules/ node_modules/
test/**/states/**/*.sls test/**/states/**/*.sls
.kitchen/
mysql/supported_sections.yaml mysql/supported_sections.yaml
yaml-files: yaml-files:
...@@ -30,3 +32,6 @@ rules: ...@@ -30,3 +32,6 @@ rules:
# Increase from default of `80` # Increase from default of `80`
# Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`) # Based on https://github.com/PyCQA/flake8-bugbear#opinionated-warnings (`B950`)
max: 88 max: 88
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment