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

Define and apply the project style #36

Merged
merged 2 commits into from
May 9, 2019
Merged

Define and apply the project style #36

merged 2 commits into from
May 9, 2019

Conversation

abrauchli
Copy link
Contributor

Define and use the default project style with clang-format

abrauchli added 2 commits May 7, 2019 17:05
* Add a .clang-format file to standardize the project style
* Add makefile helpers to check and fix the style
** Run `make style-check` to check the styling (needs clean git state)
** Run `make style-fix` to apply the default style to the project
Apply automated changes from `make style-fix`
Copy link
Contributor

@rnestler rnestler left a comment

Choose a reason for hiding this comment

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

Awesome 👍 Some changes look a bit funky, but overall very nice.

sps30-uart/sps30.c Show resolved Hide resolved
.clang-format Show resolved Hide resolved
@abrauchli abrauchli merged commit 96d6091 into master May 9, 2019
@abrauchli abrauchli deleted the clang-format branch May 9, 2019 08:27
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.

2 participants