Skip to content
Snippets Groups Projects
Commit 9e336cf0 authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

lint: update rules

parent 5c927a97
No related branches found
No related tags found
No related merge requests found
--- ---
exclude_paths:
- playbooks/_*.yml
- playbooks/migrate-debian.yml
- playbooks/pod.yml
- playbooks/upgrade.yml
- roles/_*/
... ...
...@@ -47,7 +47,7 @@ install-dev: install ...@@ -47,7 +47,7 @@ install-dev: install
lint: lint:
$(FLAKE8_BIN) . $(FLAKE8_BIN) .
$(YAMLLINT_BIN) . $(YAMLLINT_BIN) .
$(ANSIBLE_LINT_BIN) playbooks/*.yml $(ANSIBLE_LINT_BIN) site.yml
.PHONY: test .PHONY: test
## test: Run development tests on the project : debug=1, keep=1 ## test: Run development tests on the project : debug=1, keep=1
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
- name: install debian version of packages - name: install debian version of packages
shell: shell:
cmd: apt-get install $(apt-show-versions | grep -P 'newer than version in archive' | awk -F: '{print $1"/buster"}') cmd: "apt-get install $(apt-show-versions | grep -P 'newer than version in archive' | awk -F: '{print $1\"/buster\"}')"
- name: upgrade - name: upgrade
apt: apt:
......
extends: default
rules:
braces:
max-spaces-inside: 1
level: error
brackets:
max-spaces-inside: 1
level: error
line-length: disable
truthy: disable
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment