zuul-jobs/roles/tox/library/test-cases/pep8_output_envlist.yaml
Tobias Henkel 99ea9c94a0
Add test cases for tox line comment parsing
Tox line comment parsing had a few side effects at first so add
testing to it.

Change-Id: I9eb2aa00d6e467bd170fad80598728aec6949ee6
2020-04-03 19:34:24 +02:00

28 lines
1.1 KiB
YAML

---
workdir: .
tox_envlist: pep8
output: |
tests/__init__.py:86:12: E111 indentation is not a multiple of four
return self._normalize_machine(self.baremetal.get_node(name_or_id))
^
./tests/__init__.py:90:32: E231 missing whitespace after ','
def get_machine_by_mac(self,mac):
^
# This should be ignored
/openstack/cloud/_baremetal.py:218:46: E128 continuation line under-indented for visual indent
json=kwargs,
^
tests/test_discovery.py:219:46: E128 continuation line under-indented for visual indent
error_message=msg,
^
comments:
tests/__init__.py:
- line: 86
message: "pep8: E111 indentation is not a multiple of four"
- line: 90
message: "pep8: E231 missing whitespace after ','"
tests/test_discovery.py:
- line: 219
message: "pep8: E128 continuation line under-indented for visual indent"