Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set clang-format version as part of pre-commit config #1533

Merged
merged 2 commits into from
Nov 8, 2024

Conversation

KrisThielemans
Copy link
Collaborator

Previously, the pre-commit check would use whatever clang-format is in the path of the user, which might be different from what we're using in CI.

Potentially, we could remove clang-format from pre-commit-environment.yml, but I'm leaving it in for now, as it might affect editor settings, until I understand better how/if editors pick up versions from .pre-commit-config.yaml.

@KrisThielemans KrisThielemans added this to the v6.3 milestone Nov 7, 2024
@KrisThielemans KrisThielemans self-assigned this Nov 7, 2024
@KrisThielemans KrisThielemans merged commit 9d8c508 into UCL:master Nov 8, 2024
7 of 8 checks passed
@KrisThielemans KrisThielemans deleted the pre-commit-clangformat branch November 8, 2024 10:16
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.

1 participant