zowe / zowe/zowe-client-python-sdk

Validate type hints and fix any incorrect ones

Open
#321 1 comment 1 reaction 0 assignees View on GitHub

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 mypy in 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_request is not dict)

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.