constants.py
- Pfad:
/var/www/mcp-servers/mcp-docs/tools/docs_tools/constants.py - Namespace: -
- Zeilen: 20 | Größe: 446 Bytes
- Geändert: 2025-12-28 12:21:49 | Gescannt: 2025-12-31 10:22:15
Code Hygiene Score: 100
- Dependencies: 100 (25%)
- LOC: 100 (20%)
- Methods: 100 (20%)
- Secrets: 100 (15%)
- Classes: 100 (10%)
- Magic Numbers: 100 (10%)
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 = "/"