# app/modules/dev_tools/config.py
"""
Module configuration.

Environment-based configuration using Pydantic Settings.
Settings are loaded from environment variables with DEV_TOOLS_ prefix.

Example:
    DEV_TOOLS_SETTING_NAME=value

Usage:
    from app.modules.dev_tools.config import config
    value = config.setting_name
"""
from pydantic_settings import BaseSettings


class ModuleConfig(BaseSettings):
    """Configuration for dev_tools module."""

    # Add module-specific settings here
    # Example:
    # api_timeout: int = 30
    # batch_size: int = 100

    model_config = {"env_prefix": "DEV_TOOLS_", "env_file": ".env", "extra": "ignore"}


# Export for auto-discovery
config_class = ModuleConfig
config = ModuleConfig()
