ClusterLabs / ClusterLabs/crmsh
Add mypy type annotations where appropriate
Open
enhancement
- Dominant language
- Python
- Stars
- 143
- Forks
- 96
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 16
Description
Now that we're on Python 3, we can use mypy and static type annotations to catch mistakes faster:
http://www.mypy-lang.org/
http://www.mypy-lang.org/examples.html
Contributor guide
Research direction
Start by reviewing the Python codebase and the mypy documentation linked in the issue, including its examples. Determine which modules and annotation scope are appropriate before making changes. Done should mean the agreed code has useful annotations and mypy runs successfully, but the issue does not define that scope or a test command.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100