spirit-code / spirit

Atomistic Spin Simulation Framework
http://spirit-code.github.io
MIT License
118 stars 52 forks source link

clang-format file for homogeneous formatting #560

Closed GPMueller closed 3 years ago

GPMueller commented 4 years ago

The format file is just a basic suggestion, applied to the ui-cpp folder as an example of the results it produces. It is of course easy to format more code, but formatting the core might produce a lot of merge conflicts with other current branches.

Related to issue #550.

See also the ClangFormatStyleOptions.

coveralls commented 4 years ago

Coverage Status

Coverage remained the same at 79.423% when pulling fabc7f7cccb674d9f54858dd734297be75bfc97c on feature-clang-format into 55cc299074d9947a3838d47c31e41f1a1ea691ba on develop.

codecov[bot] commented 4 years ago

Codecov Report

Merging #560 (fabc7f7) into develop (2a740e1) will increase coverage by 2.46%. The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #560      +/-   ##
===========================================
+ Coverage    47.79%   50.26%   +2.46%     
===========================================
  Files           89       88       -1     
  Lines        10651    10179     -472     
===========================================
+ Hits          5091     5116      +25     
+ Misses        5560     5063     -497