ArcticDB
ArcticDB copied to clipboard
Code formatting
Enforce code formatting with Black and clang-format. See the linting.md
file I added in docs/
for notes on usage and changes from the default settings.
No changes to default Black formatting.
clang-format file is generated from
clang-format -style=llvm -dump-config > .clang-format
This PR doesn't actually reformat the codebase yet, except on a couple of example files. I'll do that as a last step once we're happy with the approach. This PR shows the effect though https://github.com/man-group/ArcticDB/pull/1822 . Its CI shows that the linting checks pass after the reformatting.
d85c3aaea1720424e38de2910b6b2fe6ff05393b shows the effect of the reformatting on a couple of files.