canonical / dqlite

Embeddable, replicated and fault-tolerant SQL engine.
https://dqlite.io
Other
3.85k stars 216 forks source link

Add STYLE.md #573

Closed cole-miller closed 3 months ago

cole-miller commented 7 months ago

Let's use this PR to arrive at a consensus about what style new dqlite code should follow. Once that consensus is reached, I'll add more commits updating .clang-format and .clang-tidy and reformatting existing code as needed.

Signed-off-by: Cole Miller cole.miller@canonical.com

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.21%. Comparing base (e814a1c) to head (e60adcd). Report is 19 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #573 +/- ## ========================================== - Coverage 81.23% 81.21% -0.02% ========================================== Files 192 192 Lines 27061 27061 Branches 4980 4984 +4 ========================================== - Hits 21982 21978 -4 - Misses 3436 3490 +54 + Partials 1643 1593 -50 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

cole-miller commented 7 months ago

Okay, going to experiment with automated reformatting/rewriting now...