Describe the bug
For some, but not all, reports, I'm seeing this error:
def __violation_report(self, violation: dict, template: Template) -> str:
nodes_str = ""
for num, node in enumerate(violation["nodes"], start=1):
> targets = ", ".join(node["target"])
^^^^^^^^^^^^^^^^^^^^^^^^^
E TypeError: sequence item 0: expected str instance, list found
To Reproduce
Steps to reproduce the behavior:
- check out: https://github.com/pycascades/pycascades-2026/tree/39a2096a0edda50c3161cba6b5be232e87b462a6
uv run --with-requirements tests/requirements.txt pytest tests
Expected behavior
When findings are found, the assert here should print the findings
Logs
As a workaround, I dumped the results here:
results.txt
Additional context
Add any other context about the problem here.
Describe the bug
For some, but not all, reports, I'm seeing this error:
To Reproduce
Steps to reproduce the behavior:
uv run --with-requirements tests/requirements.txt pytest testsExpected behavior
When findings are found, the assert here should print the findings
Logs
As a workaround, I dumped the results here:
results.txt
Additional context
Add any other context about the problem here.