lchtangen/SampleMind-AI---Beta

Add type hints to config module

Open

#4 建立於 2025年10月4日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (2 fork)auto 404
beginnerenhancementgood first issue

倉庫指標

Star
 (1 star)
PR 合併指標
 (PR 指標待抓取)

描述

Description: Add type hints to all functions and class methods.

File: src/samplemind/config/settings.py

Example:

# Before
def load_config(path):
    return json.load(open(path))

# After
def load_config(path: Path) -> Dict[str, Any]:
    """Load configuration from JSON file."""
    return json.load(open(path))

Difficulty: 🟢 Beginner Time: 1 hour

See docs/GOOD_FIRST_ISSUES.md Issue #4 for details.

貢獻者指南