Skip to content

[code-improvement] documentation: align Ruff quality paths - #189

Merged
Pedro Henrique Penna (ppenna) merged 1 commit into
devfrom
code-improvement/document-ruff-paths-35769298647-dd5a37902d5f9e2f
Sep 22, 2026
Merged

Pedro Henrique Penna (ppenna) merged 1 commit into
devfrom
code-improvement/document-ruff-paths-35769298647-dd5a37902d5f9e2f

Conversation

@ppenna

Copy link
Copy Markdown
Contributor

Scope

Named category: documentation

doc/setup.md told contributors to run Ruff against benchmarks, but that path does not exist. The authoritative quality action targets scripts and .github/specula, and both Specula Python files are present, so this aligns all three documented Ruff commands with the repository-defined check.

The current dev CI failure was not selected: OpenVMM vmm-tests / Linux / MSHV timed out in the private OpenVMM test suite and cannot be reproduced or fixed in an allowed NVX file without MSHV hardware. Category weighting therefore selected documentation (weight 4).

Live searches found no open issue or pull request changing doc/setup.md or proposing this Ruff-path correction. All 14 recent code-improvement pull requests were merged, with no CHANGES_REQUESTED review or maintainer rejection of this candidate.

Change

  • doc/setup.md: replace the nonexistent benchmarks Ruff target with .github/specula in the check, format-check, and formatter commands.
  • Total patch size: 1 file, 3 additions + 3 deletions = 6 changed lines.

Validation

  • test ! -e benchmarks && test -f .github/specula/ci.py && test -f .github/specula/tests/test_ci.py — passed.
  • python3 -m ruff check scripts .github/specula — passed.
  • python3 -m ruff format --check scripts .github/specula — passed; 34 files already formatted.
  • python3 -m ruff format scripts .github/specula — passed; 34 files unchanged.
  • git diff --check — passed.
  • git diff --numstat3 3 doc/setup.md.
  • git diff --raw — one regular-file modification; no 160000 entry.

No dependency, public API/CLI/ABI, gitlink, or OpenVMM change was made.

Generated by code-improvement · copilot · gpt56 · 88.2 AIC · ⌖ 28.2 AIC · ⊞ 15.9K ·

  • expires on Oct 6, 2026, 7:04 PM UTC

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 22, 2026 19:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

The documentation now matches the quality action and references existing paths.

Review effort: Balanced
Findings: None

What changed in this PR

Aligns contributor Ruff commands with the repository’s authoritative quality checks.

Changes:

  • Replaces nonexistent benchmarks targets with .github/specula.
  • Updates lint, format-check, and formatting commands consistently.
File Description
doc/​setup.md Corrects documented Ruff target paths.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ppenna
Pedro Henrique Penna (ppenna) marked this pull request as ready for review September 22, 2026 20:29
@ppenna
Pedro Henrique Penna (ppenna) merged commit e11be7e into dev Sep 22, 2026
38 checks passed
@ppenna
Pedro Henrique Penna (ppenna) deleted the code-improvement/document-ruff-paths-35769298647-dd5a37902d5f9e2f branch September 22, 2026 20:39
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