Skip to content

Commit

Permalink
pre-commit: configure and run Clang Format (#992)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Feb 2, 2025
1 parent f62facc commit 14d84c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ repos:
name: run clang-format
description: run ClangFormat on all C files
args: ['--style=file']
exclude: ^src/generated-config/.*\.h$
files: \.(c|h)$
- repo: https://github.com/pycqa/isort
rev: 6.0.0
Expand Down
2 changes: 1 addition & 1 deletion src/ast_layout.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
#include "ast_layout.h"

#include "generated-config/ast_layout_attribute_value_extern.h"
#include "generated-config/ast_layout_type_attributes_values.h"
#include "generated-config/ast_layout_type_attributes_all.h"
#include "generated-config/ast_layout_type_attributes_values.h"

/**
*
Expand Down

0 comments on commit 14d84c5

Please # to comment.