ClusterLabs / ClusterLabs/crmsh

Add mypy type annotations where appropriate

Open
#301 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.