lchtangen/SampleMind-AI---Beta

Add type hints to config module

Open

#4 ouverte le 4 oct. 2025

Voir sur GitHub
 (1 commentaire) (0 réactions) (0 assignés)Python (2 forks)auto 404
beginnerenhancementgood first issue

Métriques du dépôt

Stars
 (1 star)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur