Skip to content

Commit

Permalink
Reverting to the baseline clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
yassiezar committed Jun 28, 2024
1 parent 344ff3c commit 79b0809
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Install clang-format-12
- name: Install clang-format
run: |
apt update
apt install -y python3-pip clang-format-12 ros-humble-ament-cppcheck
apt install -y python3-pip clang-format ros-humble-ament-cppcheck
git config --global --add safe.directory `pwd`
pip install pre-commit
- name: pre-commit
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ repos:
- id: clang-format
name: clang-format
description: Format files with ClangFormat.
entry: clang-format-12
entry: clang-format
language: system
files: \.(c|cc|cxx|cpp|frag|glsl|h|hpp|hxx|ih|ispc|ipp|java|js|m|proto|vert)$
args: ['-fallback-style=none', '-i']
Expand Down

0 comments on commit 79b0809

Please sign in to comment.