julien-duponchelle / julien-duponchelle/python-mysql-replication

Improvement: Adding type annotation and add MyPy in CI

Open
#389 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.4k
Forks
690
PR merge metrics
No merged PRs in 30d

Description

Hello pretty much in the Title, if pertinent I can try to work on that modestly.

- Add types annotations (try to avoid requirement on too-high python version)
- Add mypy in CI to check theses (i am new with github action)

I know that some function signature would be hairy but it's okay, will help discovering possibility I think, right now it's often necessary to jump into the source to know what exactly a function accept.

Contributor guide

Open the contributing guide

Research direction

Start by surveying the repository's Python modules and current CI configuration to determine the annotation scope and the appropriate MyPy check. The work is done when relevant function signatures are annotated without requiring an unnecessarily new Python version and CI checks those annotations with MyPy.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
backend, ci-cd, developer-experience
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.