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
Is your feature request related to a problem? Please describe.
At the moment, the coding style is inconsistent (especially in the C++ layer), we should agree to a style and make sure to stick to it with automated tools (e.g. automated linting in the editor, git hooks, CI tooling, etc.)
Describe the solution you'd like
This will be addressed in multiple stages:
Agree on a coding style for C++ (for Python we already use black and the style enforced by it)
Plan, run an automated tool and push changes for the new style
Add an automated way to make sure that the style is adhered to
The text was updated successfully, but these errors were encountered:
As we discussed today, I made some quick research about the C++ styling.
I think that the closest style guide from the major ones is the Google one.
In general, .clang-format seems like a good way to enforce the whichever style we choose on any IDE (e.g. VSCode, Clion, etc) - I tested that both VSCode and CLion produce the same code style with the same .clang-format file on Windows and on WSL.
And there are GH actions that can be used to check the formatting in the code base.
Is your feature request related to a problem? Please describe.
At the moment, the coding style is inconsistent (especially in the C++ layer), we should agree to a style and make sure to stick to it with automated tools (e.g. automated linting in the editor, git hooks, CI tooling, etc.)
Describe the solution you'd like
This will be addressed in multiple stages:
The text was updated successfully, but these errors were encountered: