Add flag for toggling inline comments for linters

Sometimes there are linters that are producing output where
people do not care about it enough to want to see it.

Change-Id: I0d58a3f6a4c51e1419b645a7ce1a81e6adee57d3
This commit is contained in:
Monty Taylor 2020-04-01 09:00:13 -05:00
parent d311a4289a
commit e404589b84
2 changed files with 2 additions and 0 deletions

View File

@ -4,5 +4,6 @@ tox_envlist: venv
tox_executable: tox tox_executable: tox
tox_extra_args: -vv tox_extra_args: -vv
tox_install_siblings: true tox_install_siblings: true
tox_inline_comments: true
zuul_work_dir: "{{ zuul.project.src_dir }}" zuul_work_dir: "{{ zuul.project.src_dir }}"

View File

@ -44,6 +44,7 @@
- name: Look for output - name: Look for output
tox_parse_output: tox_parse_output:
tox_output: '{{ tox_output.stdout }}' tox_output: '{{ tox_output.stdout }}'
when: tox_inline_comments
register: file_comments register: file_comments
ignore_errors: yes ignore_errors: yes