zowe / zowe/zowe-client-python-sdk
Validate type hints and fix any incorrect ones
Open
Nobody has claimed this yet.
bug
priority-medium
severity-low
- Dominant language
- Python
- Stars
- 44
- Forks
- 38
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 1
Description
In https://github.com/zowe/zowe-client-python-sdk/pull/312 we added type annotations, but currently they are not being validated.
- Investigate running
mypyin CI to validate existing type annotations - Consider adding MyPy Type Checker to list of recommended extensions: .vscode/extensions.json
- Fix any incorrect type annotations found (e.g. return type of
RequestHandler.perform_requestis notdict)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the type annotations added in PR #312 and the MyPy Type Checker entry in .vscode/extensions.json. Start by checking how CI is configured and inspect RequestHandler.perform_request, whose return type is called out as incorrect. Done means CI validates the existing annotations, incorrect types are fixed, and the recommended extension is considered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ci-cd, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100