linters: standardise on newline at end of file

I noticed this by accident when I ran ansible-lint over this repo from
an outside context; it didn't use the .yamllint in here and started
compalining about eof whitespace.

After scratching my head for a bit as to why this didn't fail here, I
realised we've allowed various newlines since the initial commit
I936fe2c997597972d884c5fc62655d28e8aaf8c5.

Remove this and just use the default eof rules, and fixup the
whitespace as required.  This is fairly unimportant, but is nice for
consistency.

Change-Id: Idb46a1f39ba798b0bf70eaa27b4c6b4758ce3d26
This commit is contained in:
Ian Wienand 2022-07-28 13:50:45 +10:00
parent 73951559fc
commit a016a1a565
22 changed files with 0 additions and 24 deletions

View File

@ -10,9 +10,6 @@ rules:
max-spaces-inside: 1
level: error
document-start: disable
empty-lines:
max: 1
max-end: 2
indentation:
level: error
indent-sequences: consistent

View File

@ -2,4 +2,3 @@
roles:
- ensure-terraform
- revoke-sudo

View File

@ -1,4 +1,3 @@
- hosts: all
roles:
- terraform

View File

@ -2,4 +2,3 @@
roles:
- role: bindep
bindep_dir: "{{ zuul_work_dir }}"

View File

@ -80,4 +80,3 @@
file:
state: absent
path: '{{ etc_hosts_tmp.path }}'

View File

@ -21,4 +21,3 @@
dest: "{{ go_install_dir }}"
remote_src: yes
become: true

View File

@ -4,4 +4,3 @@ packer_arch_translation:
i386: 386
packer_version_pattern: ^Packer v(?P<version>\d+\.\d+\.\d+).*$

View File

@ -43,4 +43,3 @@
when:
- ansible_os_family == 'Debian'
- _deb_venv_pkg.rc != 0

View File

@ -9,4 +9,3 @@
- terraform_installed_version.rc != 0 or
"terraform_version != (terraform_installed_version.msg | \
regex_replace(terraform_version_pattern, '\\g<version>'))"

View File

@ -3,4 +3,3 @@
name:
- python-virtualenv
become: yes

View File

@ -2,4 +2,3 @@
package:
name: dev-python/virtualenv
become: yes

View File

@ -25,4 +25,3 @@ comments:
controllers/memcached_controller.go:
- line: 130
message: "S1039: unnecessary use of fmt.Sprintf (gosimple)"

View File

@ -2,4 +2,3 @@ nimble_command: build
nimble_use_siblings: true
nimble_siblings: "{{ zuul.projects.values() | selectattr('required') | map(attribute='src_dir') | list }}"
zuul_work_dir: "{{ zuul.project.src_dir }}"

View File

@ -23,4 +23,3 @@ comments:
tests/test_discovery.py:
- line: 219
message: E128 continuation line under-indented for visual indent

View File

@ -24,4 +24,3 @@ comments:
tests/test_discovery.py:
- line: 219
message: "pep8: E128 continuation line under-indented for visual indent"

View File

@ -21,4 +21,3 @@ comments:
CONTRIBUTING.rst:
- line: 96
message: Unknown directive type "code-blockf".

View File

@ -16,4 +16,3 @@
times: true
recursive: true
rsync_opts: '{{ ["--safe-links"] + ["--delete-after"] if not afs_copy_only else [] }}'

View File

@ -1,3 +1,2 @@
zone_files: '{{ ansible_user_dir }}/{{ zuul.project.src_dir }}'
zone_db_files: []

View File

@ -19,4 +19,3 @@
- role: dstat-graph
vars:
dstat_graph_cache_ignore: true

View File

@ -16,4 +16,3 @@
- name: Validate docker default bridge networking containers have internet access
command: |
docker run --rm curlimages/curl:latest --no-progress-meter https://httpbin.org/get

View File

@ -70,4 +70,3 @@
# - role: ensure-pip
# vars:
# ensure_pip_from_upstream: True

View File

@ -53,4 +53,3 @@
assert:
that:
- tox_executable == '{{ ansible_user_dir }}/tox-venv/bin/tox'