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

Increase column limit to 100 for C code #456

Merged
merged 12 commits into from
Jul 24, 2024
10 changes: 6 additions & 4 deletions .github/workflows/c-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions bindings/rust/src/bindings/generated.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/.clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ BinPackArguments: False
BinPackParameters: False
PenaltyReturnTypeOnItsOwnLine: 1000
PenaltyBreakAssignment: 100
ColumnLimit: 100
Loading
Loading