Skip to content

Enable Static Type Checking for Python Sub Projects with Pyright#1520

Merged
ndegwamartin merged 9 commits intoohs-foundation:masterfrom
ndegwamartin:pyright
Dec 18, 2025
Merged

Enable Static Type Checking for Python Sub Projects with Pyright#1520
ndegwamartin merged 9 commits intoohs-foundation:masterfrom
ndegwamartin:pyright

Conversation

@ndegwamartin
Copy link
Copy Markdown
Collaborator

Description of what I changed

Resolves #1519

Also fixes issues in Controller CLI after running Pyright for that sub module.

E2E test

TESTED:

Please replace this with a description of how you tested your PR beyond the
automated e2e/unit tests.

Checklist: I completed these to help reviewers :)

  • I have read and will follow the
    review process.

  • I am familiar with Google Style Guides for the language I have coded in.

    No? Please take some time and review
    Java and
    Python style guides.

  • My IDE is configured to follow the Google
    code styles.

    No? Unsure? ->
    configure your IDE.

  • I have added tests to cover my changes. (If you refactored existing
    code that was well tested you do not have to add tests)

  • I ran mvn clean package right before creating this pull request and
    added all formatting changes to my commit.

  • If I made any Python code changes, I ran black . and pylint . right
    before creating this pull request and added all formatting changes to my
    commit.

  • All new and existing tests passed.

  • My pull request is based on the latest changes of the master branch.

    No? Unsure? -> execute command git pull --rebase upstream master

@ndegwamartin ndegwamartin requested a review from bashir2 November 19, 2025 06:20
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Nov 19, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 46.56%. Comparing base (4a789e1) to head (3bc49d6).

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1520      +/-   ##
============================================
- Coverage     46.58%   46.56%   -0.02%     
+ Complexity      678      677       -1     
============================================
  Files            90       90              
  Lines          5886     5886              
  Branches        834      834              
============================================
- Hits           2742     2741       -1     
- Misses         2829     2830       +1     
  Partials        315      315              

☔ 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.

@ndegwamartin
Copy link
Copy Markdown
Collaborator Author

/gcbrun

@ndegwamartin
Copy link
Copy Markdown
Collaborator Author

/gcbrun

Copy link
Copy Markdown
Collaborator

@bashir2 bashir2 left a comment

Choose a reason for hiding this comment

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

Thanks for the changes/fixes and sorry for the delay. I just had one request for e2e, but that can be done in a separate PR too, if you prefer.

@ndegwamartin ndegwamartin merged commit ff78572 into ohs-foundation:master Dec 18, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable a static type checker for Python sub projects

3 participants