zim-tools icon indicating copy to clipboard operation
zim-tools copied to clipboard

Apply clang-format to whole codebase

Open ThisIsFineTM opened this issue 11 months ago • 11 comments

The formatting is a little inconsistent from file to file. We have a clang-format config present in the repo already: https://github.com/openzim/zim-tools/blob/main/.clang-format

Could we run clang-format on everything? I can also add precommit hooks in contrib that developers could opt-in to for automatically running clang-format.

ThisIsFineTM avatar Jan 13 '25 22:01 ThisIsFineTM