codescout 0.13.0

High-performance coding agent toolkit MCP server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from enum import Enum


class Genre(Enum):
    """Genre categories for library books."""

    FICTION = "fiction"
    NON_FICTION = "non_fiction"
    SCIENCE = "science"
    HISTORY = "history"
    BIOGRAPHY = "biography"

    def label(self) -> str:
        """Human-readable label for display."""
        return self.value.replace("_", " ").title()