Merge "linters: standardise on newline at end of file"
This commit is contained in:
commit
2bc6d7b9c3
@ -10,9 +10,6 @@ rules:
|
|||||||
max-spaces-inside: 1
|
max-spaces-inside: 1
|
||||||
level: error
|
level: error
|
||||||
document-start: disable
|
document-start: disable
|
||||||
empty-lines:
|
|
||||||
max: 1
|
|
||||||
max-end: 2
|
|
||||||
indentation:
|
indentation:
|
||||||
level: error
|
level: error
|
||||||
indent-sequences: consistent
|
indent-sequences: consistent
|
||||||
|
@ -2,4 +2,3 @@
|
|||||||
roles:
|
roles:
|
||||||
- ensure-terraform
|
- ensure-terraform
|
||||||
- revoke-sudo
|
- revoke-sudo
|
||||||
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
- hosts: all
|
- hosts: all
|
||||||
roles:
|
roles:
|
||||||
- terraform
|
- terraform
|
||||||
|
|
||||||
|
@ -2,4 +2,3 @@
|
|||||||
roles:
|
roles:
|
||||||
- role: bindep
|
- role: bindep
|
||||||
bindep_dir: "{{ zuul_work_dir }}"
|
bindep_dir: "{{ zuul_work_dir }}"
|
||||||
|
|
||||||
|
@ -80,4 +80,3 @@
|
|||||||
file:
|
file:
|
||||||
state: absent
|
state: absent
|
||||||
path: '{{ etc_hosts_tmp.path }}'
|
path: '{{ etc_hosts_tmp.path }}'
|
||||||
|
|
||||||
|
@ -21,4 +21,3 @@
|
|||||||
dest: "{{ go_install_dir }}"
|
dest: "{{ go_install_dir }}"
|
||||||
remote_src: yes
|
remote_src: yes
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
@ -4,4 +4,3 @@ packer_arch_translation:
|
|||||||
i386: 386
|
i386: 386
|
||||||
|
|
||||||
packer_version_pattern: ^Packer v(?P<version>\d+\.\d+\.\d+).*$
|
packer_version_pattern: ^Packer v(?P<version>\d+\.\d+\.\d+).*$
|
||||||
|
|
||||||
|
@ -43,4 +43,3 @@
|
|||||||
when:
|
when:
|
||||||
- ansible_os_family == 'Debian'
|
- ansible_os_family == 'Debian'
|
||||||
- _deb_venv_pkg.rc != 0
|
- _deb_venv_pkg.rc != 0
|
||||||
|
|
||||||
|
@ -9,4 +9,3 @@
|
|||||||
- terraform_installed_version.rc != 0 or
|
- terraform_installed_version.rc != 0 or
|
||||||
"terraform_version != (terraform_installed_version.msg | \
|
"terraform_version != (terraform_installed_version.msg | \
|
||||||
regex_replace(terraform_version_pattern, '\\g<version>'))"
|
regex_replace(terraform_version_pattern, '\\g<version>'))"
|
||||||
|
|
||||||
|
@ -3,4 +3,3 @@
|
|||||||
name:
|
name:
|
||||||
- python-virtualenv
|
- python-virtualenv
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
|
@ -2,4 +2,3 @@
|
|||||||
package:
|
package:
|
||||||
name: dev-python/virtualenv
|
name: dev-python/virtualenv
|
||||||
become: yes
|
become: yes
|
||||||
|
|
||||||
|
@ -25,4 +25,3 @@ comments:
|
|||||||
controllers/memcached_controller.go:
|
controllers/memcached_controller.go:
|
||||||
- line: 130
|
- line: 130
|
||||||
message: "S1039: unnecessary use of fmt.Sprintf (gosimple)"
|
message: "S1039: unnecessary use of fmt.Sprintf (gosimple)"
|
||||||
|
|
||||||
|
@ -2,4 +2,3 @@ nimble_command: build
|
|||||||
nimble_use_siblings: true
|
nimble_use_siblings: true
|
||||||
nimble_siblings: "{{ zuul.projects.values() | selectattr('required') | map(attribute='src_dir') | list }}"
|
nimble_siblings: "{{ zuul.projects.values() | selectattr('required') | map(attribute='src_dir') | list }}"
|
||||||
zuul_work_dir: "{{ zuul.project.src_dir }}"
|
zuul_work_dir: "{{ zuul.project.src_dir }}"
|
||||||
|
|
||||||
|
@ -23,4 +23,3 @@ comments:
|
|||||||
tests/test_discovery.py:
|
tests/test_discovery.py:
|
||||||
- line: 219
|
- line: 219
|
||||||
message: E128 continuation line under-indented for visual indent
|
message: E128 continuation line under-indented for visual indent
|
||||||
|
|
||||||
|
@ -24,4 +24,3 @@ comments:
|
|||||||
tests/test_discovery.py:
|
tests/test_discovery.py:
|
||||||
- line: 219
|
- line: 219
|
||||||
message: "pep8: E128 continuation line under-indented for visual indent"
|
message: "pep8: E128 continuation line under-indented for visual indent"
|
||||||
|
|
||||||
|
@ -21,4 +21,3 @@ comments:
|
|||||||
CONTRIBUTING.rst:
|
CONTRIBUTING.rst:
|
||||||
- line: 96
|
- line: 96
|
||||||
message: Unknown directive type "code-blockf".
|
message: Unknown directive type "code-blockf".
|
||||||
|
|
||||||
|
@ -16,4 +16,3 @@
|
|||||||
times: true
|
times: true
|
||||||
recursive: true
|
recursive: true
|
||||||
rsync_opts: '{{ ["--safe-links"] + ["--delete-after"] if not afs_copy_only else [] }}'
|
rsync_opts: '{{ ["--safe-links"] + ["--delete-after"] if not afs_copy_only else [] }}'
|
||||||
|
|
||||||
|
@ -1,3 +1,2 @@
|
|||||||
zone_files: '{{ ansible_user_dir }}/{{ zuul.project.src_dir }}'
|
zone_files: '{{ ansible_user_dir }}/{{ zuul.project.src_dir }}'
|
||||||
zone_db_files: []
|
zone_db_files: []
|
||||||
|
|
||||||
|
@ -19,4 +19,3 @@
|
|||||||
- role: dstat-graph
|
- role: dstat-graph
|
||||||
vars:
|
vars:
|
||||||
dstat_graph_cache_ignore: true
|
dstat_graph_cache_ignore: true
|
||||||
|
|
||||||
|
@ -16,4 +16,3 @@
|
|||||||
- name: Validate docker default bridge networking containers have internet access
|
- name: Validate docker default bridge networking containers have internet access
|
||||||
command: |
|
command: |
|
||||||
docker run --rm curlimages/curl:latest --no-progress-meter https://httpbin.org/get
|
docker run --rm curlimages/curl:latest --no-progress-meter https://httpbin.org/get
|
||||||
|
|
||||||
|
@ -70,4 +70,3 @@
|
|||||||
# - role: ensure-pip
|
# - role: ensure-pip
|
||||||
# vars:
|
# vars:
|
||||||
# ensure_pip_from_upstream: True
|
# ensure_pip_from_upstream: True
|
||||||
|
|
||||||
|
@ -53,4 +53,3 @@
|
|||||||
assert:
|
assert:
|
||||||
that:
|
that:
|
||||||
- tox_executable == '{{ ansible_user_dir }}/tox-venv/bin/tox'
|
- tox_executable == '{{ ansible_user_dir }}/tox-venv/bin/tox'
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user