constants.py

Code Hygiene Score: 100

Keine Issues gefunden.

Code

"""Constants for documentation tools."""

# Default values
DEFAULT_LIMIT: int = 20
DEFAULT_SORT_ORDER: int = 0
DEFAULT_DEPTH: int = 0
ROOT_DEPTH: int = 0

# Status values
STATUS_DRAFT: str = "draft"
STATUS_PUBLISHED: str = "published"
STATUS_ARCHIVED: str = "archived"
VALID_STATUSES: tuple[str, ...] = (STATUS_DRAFT, STATUS_PUBLISHED, STATUS_ARCHIVED)

# Logging constants
MS_PER_SECOND: int = 1000

# Path constants
ROOT_PATH_PREFIX: str = "/"
← Übersicht