Skip to content

Fix Ruff format drift causing CI Lint (ruff) failure - #1

Merged
darved2305 merged 2 commits into
mainfrom
copilot/fix-lint-ruff-job-failure
Aug 9, 2026
Merged

darved2305 merged 2 commits into
mainfrom
copilot/fix-lint-ruff-job-failure

Conversation

Copilot AI commented Aug 9, 2026 •

Copy link
Copy Markdown

The Lint (ruff) GitHub Actions job was failing because ruff format --check detected formatting drift in a small set of files. This PR applies only formatter-aligned edits to the CI-flagged files so the lint job can pass without changing behavior.

  • Scope: formatting-only updates in CI-flagged files

    • Updated formatting in:
      • src/cairn/cli.py
      • src/cairn/db/fragments.py
      • src/cairn/flight/types.py
      • src/cairn/storage/cas.py
      • src/cairn/storage/s3.py
      • tests/integration/test_migration_kill.py
  • No semantic changes

    • Edits are limited to line wrapping and call formatting (e.g., multi-line vs single-line expressions), with no logic, control-flow, or API changes.
  • Representative formatter change

    # before
    raise ValueError("a purity policy that authorizes reuse requires qualification_runs >= 2")
    
    # after
    raise ValueError(
        "a purity policy that authorizes reuse requires qualification_runs >= 2"
    )

Co-authored-by: darved2305 <183255054+darved2305@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Lint (ruff) Fix Ruff format drift causing CI Lint (ruff) failure Aug 9, 2026
Copilot AI requested a review from darved2305 August 9, 2026 06:04
@darved2305
darved2305 marked this pull request as ready for review August 9, 2026 06:06
@darved2305
darved2305 merged commit 5b69532 into main Aug 9, 2026
6 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.

2 participants