(
self,
conflicts: Sequence[Any],
context: Context,
offset: int,
max_items: int,
*,
code: ErrorCode | None = None,
)
| 2442 | ) |
| 2443 | |
| 2444 | def print_more( |
| 2445 | self, |
| 2446 | conflicts: Sequence[Any], |
| 2447 | context: Context, |
| 2448 | offset: int, |
| 2449 | max_items: int, |
| 2450 | *, |
| 2451 | code: ErrorCode | None = None, |
| 2452 | ) -> None: |
| 2453 | if len(conflicts) > max_items: |
| 2454 | self.note( |
| 2455 | f"<{len(conflicts) - max_items} more conflict(s) not shown>", |
| 2456 | context, |
| 2457 | offset=offset, |
| 2458 | code=code, |
| 2459 | ) |
| 2460 | |
| 2461 | def try_report_long_tuple_assignment_error( |
| 2462 | self, |
no test coverage detected