Skip to content

Validating Type Annotation#365

Merged
zFernand0 merged 24 commits into
mainfrom
pr/353-v2
Jun 18, 2025
Merged

Validating Type Annotation#365
zFernand0 merged 24 commits into
mainfrom
pr/353-v2

Conversation

@pem70

@pem70 pem70 commented May 27, 2025

Copy link
Copy Markdown
Contributor

What It Does

#321

How to Test

Review Checklist
I certify that I have:

Additional Comments

Signed-off-by: Olamide Ojo <peterojoolamide@gmail.com>
@pem70 pem70 requested review from t1m0thyj and zFernand0 May 27, 2025 16:18
@github-project-automation github-project-automation Bot moved this to New Issues in Zowe CLI Squad May 27, 2025
@zowe-robot zowe-robot moved this from New Issues to In Progress in Zowe CLI Squad May 27, 2025
@codecov

codecov Bot commented May 27, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.13817% with 72 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.05%. Comparing base (34b7df9) to head (4bc0833).
⚠️ Report is 29 commits behind head on main.

Files with missing lines Patch % Lines
src/core/zowe/core_for_zowe_sdk/config_file.py 68.46% 35 Missing ⚠️
src/core/zowe/core_for_zowe_sdk/profile_manager.py 76.31% 9 Missing ⚠️
.../zos_files/zowe/zos_files_for_zowe_sdk/datasets.py 87.50% 7 Missing ⚠️
src/zos_files/zowe/zos_files_for_zowe_sdk/files.py 86.66% 6 Missing ⚠️
src/core/zowe/core_for_zowe_sdk/zosmf_profile.py 33.33% 4 Missing ⚠️
src/zos_files/zowe/zos_files_for_zowe_sdk/uss.py 76.47% 4 Missing ⚠️
src/zos_jobs/zowe/zos_jobs_for_zowe_sdk/jobs.py 75.00% 2 Missing ⚠️
src/zos_tso/zowe/zos_tso_for_zowe_sdk/tso.py 77.77% 2 Missing ⚠️
tests/unit/files/file_systems/test_file_systems.py 50.00% 2 Missing ⚠️
.../zowe/zos_console_for_zowe_sdk/response/console.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #365      +/-   ##
==========================================
- Coverage   89.09%   88.05%   -1.04%     
==========================================
  Files          65       65              
  Lines        3255     3340      +85     
==========================================
+ Hits         2900     2941      +41     
- Misses        355      399      +44     
Flag Coverage Δ
unittests 88.05% <83.13%> (-1.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

pem70 added 10 commits May 27, 2025 12:31
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
Also simplify code since most functions factually return None.

Signed-off-by: Peizhao Mei <pem70@pitt.edu>
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
@pem70 pem70 requested a review from traeok May 27, 2025 16:39
Signed-off-by: Peizhao Mei <105866197+pem70@users.noreply.github.com>
@pem70 pem70 marked this pull request as ready for review May 27, 2025 16:45
@zowe-robot zowe-robot moved this from In Progress to Review/QA in Zowe CLI Squad May 27, 2025

@t1m0thyj t1m0thyj left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pem70! Looks good so far, let's discuss with @zFernand0 before making any drastic changes to this PR 🙂

Comment thread CHANGELOG.md Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/profile_manager.py Outdated
Comment thread src/zos_files/zowe/zos_files_for_zowe_sdk/files.py Outdated
Comment thread src/zos_files/zowe/zos_files_for_zowe_sdk/files.py Outdated
Comment thread src/zos_files/zowe/zos_files_for_zowe_sdk/uss.py Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/credential_manager.py Outdated
Comment thread src/zos_console/zowe/zos_console_for_zowe_sdk/response/__init__.py Outdated
pem70 added 2 commits June 2, 2025 12:28
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
traeok
traeok previously requested changes Jun 3, 2025

@traeok traeok left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this Peizhao! My comments are solely based off of a syntactical review, there are a couple nitpicks but mostly requesting changes for the test modifications.

Comment thread tests/unit/files/file_systems/test_file_systems.py Outdated
Comment thread src/zos_tso/zowe/zos_tso_for_zowe_sdk/tso.py Outdated
Comment thread src/zos_files/zowe/zos_files_for_zowe_sdk/uss.py Outdated
Comment thread src/zos_files/zowe/zos_files_for_zowe_sdk/files.py
Comment thread src/core/zowe/core_for_zowe_sdk/request_handler.py Outdated
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
@traeok traeok dismissed their stale review June 3, 2025 20:33

Addressed in latest commit

@zFernand0 zFernand0 dismissed t1m0thyj’s stale review June 6, 2025 13:36

All comments resolved. 😋
Apologies for the delay. 😢

@zFernand0 zFernand0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 😋

I do have some comments that I would like to either see addressed, or perhaps have a short discussion 🙏

I'm not done reviewing the PR, so there may be more comments incoming 😋

Comment thread CHANGELOG.md Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/config_file.py Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/config_file.py
Comment thread src/core/zowe/core_for_zowe_sdk/config_file.py Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/config_file.py
Comment thread src/core/zowe/core_for_zowe_sdk/config_file.py Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/config_file.py Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/config_file.py Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/config_file.py Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/config_file.py Outdated

@zFernand0 zFernand0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few more comments 😋

I may have a final round later today 🙏

Comment thread src/core/zowe/core_for_zowe_sdk/profile_manager.py
Comment thread src/core/zowe/core_for_zowe_sdk/profile_manager.py
Comment thread src/core/zowe/core_for_zowe_sdk/profile_manager.py Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/profile_manager.py Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/profile_manager.py Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/profile_manager.py Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/sdk_api.py Outdated
pem70 added 2 commits June 9, 2025 15:51
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
Signed-off-by: Peizhao Mei <pem70@pitt.edu>
@pem70 pem70 requested a review from zFernand0 June 10, 2025 13:30

@zFernand0 zFernand0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 😋

Left some minor comments to address 😅
But I believe the changes are still good to approve 🙏

I'm more than happy to re-review when the new comments are addressed. 🙏

Comment thread CHANGELOG.md Outdated
Comment thread src/core/zowe/core_for_zowe_sdk/config_file.py Outdated
Comment thread CHANGELOG.md Outdated
pem70 and others added 4 commits June 12, 2025 09:53
Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: Peizhao Mei <105866197+pem70@users.noreply.github.com>
Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: Peizhao Mei <105866197+pem70@users.noreply.github.com>
Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>
Signed-off-by: Peizhao Mei <105866197+pem70@users.noreply.github.com>
@JTonda JTonda requested review from anaxceron, t1m0thyj and traeok June 16, 2025 15:12

@anaxceron anaxceron left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a couple of minor suggestions for the changelog.

Comment thread CHANGELOG.md Outdated
Comment thread CHANGELOG.md Outdated
zFernand0 and others added 2 commits June 18, 2025 08:41
Co-authored-by: anaxceron <ana.ceron@broadcom.com>
Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>
Co-authored-by: anaxceron <ana.ceron@broadcom.com>
Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>
@zFernand0

Copy link
Copy Markdown
Member

Thanks for the suggestions @anaxceron
We can merge this PR once the checks pass

@zFernand0 zFernand0 merged commit 8ee471c into main Jun 18, 2025
22 checks passed
@zFernand0 zFernand0 deleted the pr/353-v2 branch June 18, 2025 12:47
@github-project-automation github-project-automation Bot moved this from Review/QA to Closed in Zowe CLI Squad Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

7 participants