Skip to content

Modernize test_pip_install.py and include in autofmt workflow. - #950

Merged
junkmd merged 5 commits into
enthought:mainfrom
junkmd:modernize_test_pip_install
Sep 30, 2026
Merged

junkmd merged 5 commits into
enthought:mainfrom
junkmd:modernize_test_pip_install

Conversation

@junkmd

@junkmd junkmd commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

This PR modernizes test_pip_install.py with updated Python coding standards and integrates the script into the CI autofmt workflow (.github/workflows/autofmt.yml).

Key improvements include caching the package version in TestPipInstall.setUpClass to prevent redundant file I/O, updating string formatting to f-strings, standardizing code styling with Ruff, and adding test_pip_install.py to CI formatting and linting checks.

@junkmd junkmd added this to the 1.5.0 / Support Python 3.15 milestone Sep 30, 2026
@junkmd junkmd added coding style Topics related to style, formatters, linters, and delinting. ci labels Sep 30, 2026
@codecov-commenter

codecov-commenter commented Sep 30, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.98%. Comparing base (7ca1829) to head (f22bba0).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #950   +/-   ##
=======================================
  Coverage   88.98%   88.98%           
=======================================
  Files         140      140           
  Lines       13678    13678           
=======================================
  Hits        12171    12171           
  Misses       1507     1507           

☔ View full report in Codecov by Harness.
📢 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.

@junkmd
junkmd merged commit 32d3573 into enthought:main Sep 30, 2026
50 checks passed
@junkmd
junkmd deleted the modernize_test_pip_install branch September 30, 2026 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci coding style Topics related to style, formatters, linters, and delinting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants