-
Notifications
You must be signed in to change notification settings - Fork 159
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
clang-format 18 #1113
clang-format 18 #1113
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1113 +/- ##
=======================================
Coverage 83.07% 83.07%
=======================================
Files 56 56
Lines 5756 5756
=======================================
Hits 4782 4782
Misses 974 974 ☔ View full report in Codecov by Sentry. |
Use python instead of shell script. Add -i option to edit in place.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳 🎆🎆 🎊🎊🎊🥳
import re | ||
from subprocess import list2cmdline, run | ||
from tempfile import NamedTemporaryFile | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trivial:
# 18.1.6 is the latest version as of June 2024 |
see: awslabs/aws-c-common#1113 remove the `./scripts/format-c.py` script in favor of having the same `./format-check.py -i` script in the same place as every other repo
see: awslabs/aws-c-common#1113 remove the `./scripts/format-c.py` script in favor of having the same `./format-check.py -i` script in the same place as every other repo
Issue:
Description of Changes:
format-check.shasformat-check.py
-i
option to edit files in place./format-check.py
instead of using some 3rdparty Github ActionUpdating your Machine:
brew uninstall llvm@9
brew uninstall clang-format
brew install pipx
pipx ensurepath
pipx install clang-format==18.1.6
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.