Skip to content

lint: expand Python quality checks - #1100

Open
greenc-FNAL wants to merge 4 commits into
stack/codeql-python/3-type-checkingfrom
stack/codeql-python/4-ruff-rules
Open

greenc-FNAL wants to merge 4 commits into
stack/codeql-python/3-type-checkingfrom
stack/codeql-python/4-ruff-rules

Conversation

@greenc-FNAL

@greenc-FNAL greenc-FNAL commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Expand Ruff quality checks and resolve the resulting diagnostics across project and test code.
  • Normalize Python formatting in the touched files.

No local tests were run during PR submission; CI checks will run on this PR.

Part of stack #1101.

@greenc-FNAL
greenc-FNAL added this pull request to stack #1101 November 20, 2026 20:28
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 43 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 5f276d0a-9614-46a9-9980-134cf5e00e08
Commits

Reviewing files that changed from the base of the PR and between b51bf08 and 89ea20a.

Files selected for processing: 37

  • .devcontainer/configure-host.py
  • ci/promote_phlex_dependencies.py
  • ci/upgrade_repos.py
  • plugins/python/python/phlex/__init__.py
  • plugins/python/python/phlex/_typing.py
  • plugins/python/python/phlex/_variant.py
  • pyproject.toml
  • scripts/check_codeql_alerts.py
  • scripts/clang_tidy_check_summary.py
  • scripts/clang_tidy_diff_issues.py
  • scripts/clang_tidy_fixes_to_problems.py
  • scripts/codeql_reset_dismissed_alerts.py
  • scripts/fix_header_guards.py
  • scripts/sarif-alerts.py
  • scripts/test/test_check_codeql_alerts.py
  • scripts/test/test_clang_tidy_check_summary.py
  • scripts/test/test_clang_tidy_diff_issues.py
  • scripts/test/test_clang_tidy_fixes_to_problems.py
  • scripts/test/test_codeql_reset_dismissed_alerts.py
  • scripts/test/test_coverage_scripts.py
  • scripts/test/test_create_fix_patch.py
  • scripts/test/test_fix_header_guards.py
  • scripts/test/test_workflow_cleanup.py
  • scripts/validate_clang_tidy_fixes.py
  • test/python/adder.py
  • test/python/all_config.py
  • test/python/basic_types.py
  • test/python/pyprovide.py
  • test/python/reducer.py
  • test/python/suffix.py
  • test/python/test_callbacks.py
  • test/python/test_coverage.py
  • test/python/test_mismatch.py
  • test/python/test_phlex.py
  • test/python/test_typing.py
  • test/python/vectypes.py
  • test/python/verify_extended.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@                           Coverage Diff                           @@
##           stack/codeql-python/3-type-checking    #1100      +/-   ##
=======================================================================
- Coverage                                91.24%   91.09%   -0.15%     
=======================================================================
  Files                                      184      184              
  Lines                                     5987     5988       +1     
  Branches                                   962      962              
=======================================================================
- Hits                                      5463     5455       -8     
- Misses                                     335      342       +7     
- Partials                                   189      191       +2     
Flag Coverage Δ
amd64 91.08% <100.00%> (+<0.01%) ⬆️
arm64 91.09% <100.00%> (-0.15%) ⬇️

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

Files with missing lines Coverage Δ
plugins/python/python/phlex/__init__.py 100.00% <100.00%> (ø)
plugins/python/python/phlex/_typing.py 93.75% <100.00%> (+0.06%) ⬆️
plugins/python/python/phlex/_variant.py 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b51bf08...89ea20a. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This branch has not been deployed

No deployments
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.

1 participant