provide-testkit 2025-12-28
Standardize CI and release workflows, expand ruff lint rules
18 files · 92+ · 111-

CI build job and release workflow overhaul

2 files changed
  • ci.yml Added build job that runs uv build and uploads dist artifacts after tests pass
  • release.yml Simplified to download CI artifacts and create GitHub Release via softprops/action-gh-release instead of PyPI trusted publishing
  • Added a dedicated build job to CI that packages and uploads artifacts, and simplified the release workflow to create GitHub Releases from CI artifacts streamline behavioral
    2 files
    • ci.yml
    • release.yml

Ruff lint expansion and code cleanup

3 files changed
  • pyproject.toml Expanded ruff lint rules to include BLE, PIE, PLR, S (security), with detailed ignore list. Added asyncio_mode=auto, pythonpath, and per-file ignores for tests/examples/src
  • docs_validate.py Simplified nested if/else chains using elif
  • conftest.py Reordered imports for isort compliance
  • Expanded ruff lint selection to include security (S), error handling (BLE), pylint (PLR), and pie rules, with targeted per-file ignores for test and example code harden internal
    1 file
    • pyproject.toml

Remove unused code

4 files changed
  • temp.py Removed unused pass statement
  • main.py Removed unused blank line
  • async_fixtures.py Added type ignore for pipeline stage call
  • base.py Removed unused imports
  • Cleaned up unused pass statements, blank lines, and imports across multiple source modules to satisfy expanded lint rules remediate internal
    3 files
    • temp.py
    • main.py
    • base.py