(category: str)
| 521 | |
| 522 | |
| 523 | def category_output_name(category: str) -> str: |
| 524 | cleaned = re.sub(r'[^0-9A-Za-z._-]+', '_', category.strip()) |
| 525 | cleaned = cleaned.strip('._') |
| 526 | return cleaned or 'Others' |
| 527 | |
| 528 | |
| 529 | def get_markdown_header(category: str) -> str: |
no outgoing calls
no test coverage detected