in bugbounty_gpt/env.py [0:0]
def sanitize_category(category: str) -> str: """Sanitizes a single category name to ensure it is a valid Python identifier.""" return re.sub(r'\W|^(?=\d)', '_', category).upper().strip()