waifod / quant_finance_models

Project containing the implementations of quantitative finance models
MIT License
5 stars 1 forks source link

Run clang-format across the whole codebase #42

Closed david-alvarez-rosa closed 1 year ago

david-alvarez-rosa commented 1 year ago

Fully automated with

find src include -name '*.cpp' -o -name '*.hpp' | xargs -n1 clang-format -i
clang-format -i main.cpp
david-alvarez-rosa commented 1 year ago

Yeah, agreed. Let's try to automate as much as possible with CI/CD.

(It's pretty impressive how many things clang-format is capable of doing.)