You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current C++ code base follows C and fortran coding style, which is a bit stale given that C++14 is used. We would like to clang-format all the C++ code base and run autopep8 on all the python code base to adapt to the latest industry standards and modern C++ coding.
This can be done in v4.1. @pgmpablo157321 FYI. I can help if needed.
The text was updated successfully, but these errors were encountered:
As mentioned by Pablo, pre-commit hook is not necessarily installed by the developer. Automatically apply the format change in the PR automation is more reasonable.
Note: if automatic reformat is enabled, clang-format config needs to include SortIncludes: false so the functionality of the original code is not affected.
clang-format has many style options and even predefined options (LLVM, Google, Chromium, Mozilla, WebKit, Microsoft). Any thoughts on which one we should adopt?
As a recycled compiler person :), I'd vote for LLVM ;).
The current C++ code base follows C and fortran coding style, which is a bit stale given that C++14 is used. We would like to clang-format all the C++ code base and run autopep8 on all the python code base to adapt to the latest industry standards and modern C++ coding.
This can be done in v4.1.
@pgmpablo157321 FYI. I can help if needed.
The text was updated successfully, but these errors were encountered: