lchtangen / lchtangen/SampleMind-AI---Beta

Add type hints to config module

Open
#4 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

beginner enhancement good first issue
Dominant language
Python
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open src/samplemind/config/settings.py and inspect every function and class method in the config module. Use the load_config example as the reference for the annotation style, then verify that all functions and methods have type hints and that the module remains valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Refactor
Difficulty
2/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.