Skip to content

Bump ruff to 0.16.0 and adopt more default rule set - #760

Merged
Sun Haoran (haoranpb) merged 4 commits into
mainfrom
chore/bump-ruff
Jul 30, 2026
Merged

Bump ruff to 0.16.0 and adopt more default rule set#760
Sun Haoran (haoranpb) merged 4 commits into
mainfrom
chore/bump-ruff

Conversation

@haoranpb

@haoranpb Sun Haoran (haoranpb) commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

Bumping ruff to 0.16.0 and utilize the richer default rule set.

Some other rules we have been ignoring have been enforced.

No functional changes.

Copilot AI review requested due to automatic review settings July 29, 2026 08:30

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.

Pull request overview

Updates Ruff to 0.16.0 and adapts linting, formatting, and CI configuration to its new defaults.

Changes:

  • Upgrades Ruff dependencies and pre-commit hook.
  • Restores selected legacy rules and enables additional lint families.
  • Applies Ruff-driven code simplifications and Markdown formatting support.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
pyproject.toml Updates Ruff and lint configuration.
uv.lock Locks Ruff 0.16.0 artifacts.
.pre-commit-config.yaml Upgrades hooks and enables Markdown formatting.
.github/workflows/CI.yml Enables GitHub annotation output.
tools/altest/bcbench_analyze_artifacts.py Applies a performance lint simplification.
src/bcbench/operations/test_operations.py Removes redundant exception parentheses.
src/bcbench/operations/git_operations.py Removes redundant exception parentheses.
src/bcbench/evaluate/base.py Removes redundant exception parentheses.
src/bcbench/agent/bcal/bc_eval_capi_bridge.py Applies import sorting.

Co-authored-by: haoranpb <27280733+haoranpb@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 29, 2026 09:32

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.

Pull request overview

Copilot reviewed 8 out of 10 changed files in this pull request and generated no new comments.

Copilot AI review requested due to automatic review settings July 30, 2026 09:05
@haoranpb Sun Haoran (haoranpb) changed the title Bump ruff to 0.16.0 Bump ruff to 0.16.0 and adopt more default rule set Jul 30, 2026

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.

Pull request overview

Copilot reviewed 41 out of 43 changed files in this pull request and generated no new comments.

@haoranpb
Sun Haoran (haoranpb) marked this pull request as ready for review July 30, 2026 09:20
@haoranpb
Sun Haoran (haoranpb) merged commit d4c1a2d into main Jul 30, 2026
15 checks passed
@haoranpb
Sun Haoran (haoranpb) deleted the chore/bump-ruff branch July 30, 2026 09:36
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.

4 participants