lndk-org / lndk

MIT License
76 stars 19 forks source link

Cleanup: cargo fmt max comment length #113

Closed orbitalturtle closed 1 month ago

orbitalturtle commented 1 month ago

Throughout lndk the comment lengths are all over the place. This PR establishes a standard comment length maximum of 100, which is the same max line length as the rest of the code. The PR also updates the github workflows to enforce this new standard.

Contributors now will need to run cargo fmt -- --config unstable_features=true --config wrap_comments=true --config comment_width=100 to make sure comments meet this restriction.

We also sneak in a couple other fixes in this PR:

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 0.00%. Comparing base (4d2d513) to head (27df32b). Report is 24 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #113 +/- ## ====================================== Coverage 0.00% 0.00% ====================================== Files 1 1 Lines 40 77 +37 ====================================== - Misses 40 77 +37 ```

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