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

Add clang-format configuration and format check workflow #405

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

GaryOderNichts
Copy link
Contributor

This draft is based on #195 and adds a clang-format configuration which matches the existing code base more closely.
It also adds a workflow for pull requests to ensure correct formatting.

@GaryOderNichts GaryOderNichts force-pushed the clang_format/init branch 2 times, most recently from d653dc8 to d14c4a9 Compare November 21, 2024 18:43
@GaryOderNichts GaryOderNichts marked this pull request as ready for review November 21, 2024 18:49
GaryOderNichts and others added 3 commits December 7, 2024 20:35
Co-authored-by: Maschell <[email protected]>
`find . -regex '.*\.\(cpp\|hpp\|cu\|cuh\|c\|h\)' -exec clang-format -style=file -i {} \;`
Bundle clang-format-diff with workflow
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