-
Notifications
You must be signed in to change notification settings - Fork 61
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
Auto indent using shfmt #215
Conversation
Can you prepare a bash script, e.g. |
@tjhei @koecher this introduces now a CI job very similar to the dealii/dealii indent job. It checks all shell files with the shfmt formatter. Options are Some questions/remarks:
|
@gfcas Thanks! as the code is from deal.II, we keep the original header and maybe include a second one for our changes - similar to candi.sh I'm fine with the date from 2022 on. We should require to use it for a PR. Otherwise we need to do this on our own and nobody has the time for this. |
@tjhei Thanks for taking that over and your review. |
This is the auto indention output using shfmt via the VSC extension shell-format. Just to show you a possible auto indention tool...