Skip to content

chore(format): align python and c++ file formatting#2001

Open
myysy wants to merge 1 commit into
mainfrom
chore/format-python-cpp
Open

chore(format): align python and c++ file formatting#2001
myysy wants to merge 1 commit into
mainfrom
chore/format-python-cpp

Conversation

@myysy
Copy link
Copy Markdown
Collaborator

@myysy myysy commented May 12, 2026

Description

This PR aligns Python and C++ source files with the repository's current formatting standards.
It applies repository-standard formatting across tracked Python and C++ files to reduce style drift, keep diffs consistent, and make future PR checks easier to pass.

Related Issue

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactoring (no functional changes)
  • Performance improvement
  • Test update

Changes Made

  • Formatted Python files using the repository's Ruff formatting configuration.
  • Formatted C++ files using the repository root .clang-format configuration.
  • Applied formatting-only updates across tracked source and test files without introducing intended functional changes.

Testing

  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have tested this on the following platforms:
    • Linux
    • macOS
    • Windows
      Additional verification performed:
  • ruff format --check bot build_support openviking tests passed after formatting.
  • ruff check bot build_support openviking tests still reports pre-existing lint issues outside the scope of this formatting-only PR.

Checklist

  • My code follows the project's coding style
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published

Screenshots (if applicable)

N/A

Additional Notes

This PR is intended to be formatting-only.
Scope notes:

  • Python formatting follows the PR lint workflow and pyproject.toml Ruff settings.
  • C++ formatting follows the repository root .clang-format.
  • third_party/ content was not reformatted.
  • Existing ruff check lint findings remain and are not addressed in this PR.

@github-actions
Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

⏱️ Estimated effort to review: 1 🔵⚪⚪⚪⚪
🏅 Score: 95
🧪 No relevant tests
🔒 No security concerns identified
✅ No TODO sections
🔀 No multiple PR themes
⚡ No major issues detected

@github-actions
Copy link
Copy Markdown

PR Code Suggestions ✨

No code suggestions found for the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant