-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase column limit to 100 for C code (#456)
* Increase column limit & run make format * Update section dividers * Remove manual clangformat on/off lines & reformat * Wrap comments to 100 chars * Update dividers in batch cell verification * Update comments in the test file too * Use clang-format-18 * Exclude tinytest.h * Update comments in header file * Only run clang-format on ubuntu * Update Rust binding's generated file
- Loading branch information
Showing
6 changed files
with
445 additions
and
812 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,11 +29,13 @@ jobs: | |
|
||
# Check formatting. | ||
# Only need to check this once. | ||
- name: Check formatting | ||
- name: Run clang-format | ||
if: matrix.os == 'ubuntu-latest' | ||
run: | | ||
make format | ||
git diff --exit-code | ||
uses: jidicula/[email protected] | ||
with: | ||
clang-format-version: '18' | ||
check-path: 'src' | ||
exclude-regex: 'tinytest.h' | ||
|
||
# Build and test. | ||
- name: Build | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.