(title, width=80, char="#")
| 400 | func_name: str, ignore_errors: dict[str, set[str]] |
| 401 | ) -> int: |
| 402 | def header(title, width=80, char="#") -> str: |
| 403 | full_line = char * width |
| 404 | side_len = (width - len(title) - 2) // 2 |
| 405 | adj = "" if len(title) % 2 == 0 else " " |
| 406 | title_line = f"{char * side_len} {title}{adj} {char * side_len}" |
| 407 | |
| 408 | return f"\n{full_line}\n{title_line}\n{full_line}\n\n" |
| 409 | |
| 410 | result = pandas_validate(func_name) |
| 411 |
nothing calls this directly
no outgoing calls
no test coverage detected