(
start: int,
end: int,
short: list[str] | None = None,
long: list[str] | None = None,
)
| 336 | |
| 337 | |
| 338 | def _opt_with_lines( |
| 339 | start: int, |
| 340 | end: int, |
| 341 | short: list[str] | None = None, |
| 342 | long: list[str] | None = None, |
| 343 | ) -> Option: |
| 344 | return Option( |
| 345 | text="desc", |
| 346 | short=short or [f"-{chr(97 + start % 26)}"], |
| 347 | long=long or [], |
| 348 | meta={"lines": [start, end]}, |
| 349 | ) |
| 350 | |
| 351 | |
| 352 | class TestSanityCheckLineSpans: |
no test coverage detected