mdolab / .github

0 stars 3 forks source link

Adding option to enable clang formatting #28

Closed eirikurj closed 2 years ago

eirikurj commented 2 years ago

Purpose

Add an option that can be used if clang-format is supposed to be run. This could be included to https://github.com/mdolab/tacs_orig/pull/77 as part of that PR.

The PR does not include the formatting input file .clang-format, but it could. At the moment, its expected to live in the repository itself. See https://github.com/mdolab/tacs_orig/pull/77 that contains a custom file. We could include it here as the default set, and do some check and use the repo one if it exists (similar to flake8).

Expected time until merged

No urgency.

Type of change

Testing

Checklist