Skip to content

Conversation

@dnhsieh-intel
Copy link
Contributor

@dnhsieh-intel dnhsieh-intel commented Oct 15, 2024

Description

According to the discussion in issue #580, this PR adds a job in CI to check code formatting using pre-commit with clang-format v19.1.0.

This PR will be rebased after PR #594 is merged. We should have a green clang-format check then.

Fixes #580

Checklist

All Submissions

  • Do all unit tests pass locally? No changes that affect tests.
  • Have you formatted the code using clang-format? N/A

Copy link
Member

@rscohn2 rscohn2 left a comment

Choose a reason for hiding this comment

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

It looks good.

Copy link
Contributor

@mkrainiuk mkrainiuk left a comment

Choose a reason for hiding this comment

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

Finally we won't need to run it manually, thank you for this improvement!

@dnhsieh-intel
Copy link
Contributor Author

@Rbiessy I am merging the PR in case other commits get between this one and the reformatting. I will open a new one if you have suggested changes.

@dnhsieh-intel dnhsieh-intel merged commit 7644873 into uxlfoundation:develop Oct 23, 2024
7 checks passed
@dnhsieh-intel dnhsieh-intel deleted the pre-commit branch October 23, 2024 04:32
@Rbiessy
Copy link
Contributor

Rbiessy commented Oct 23, 2024

I had no concerns with this PR, thanks!

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.

[CI] Add GitHub CI job running clang-format

4 participants