vacp2p / nim-libp2p

libp2p implementation in Nim
https://vacp2p.github.io/nim-libp2p/docs/
MIT License
240 stars 52 forks source link

chore(formatting): format the whole codebase using nph 0.5.1 #1118

Closed diegomrsantos closed 2 weeks ago

diegomrsantos commented 3 weeks ago
codecov-commenter commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 89.54832% with 199 lines in your changes missing coverage. Please review.

Project coverage is 84.72%. Comparing base (02c96fc) to head (53ad1bf). Report is 16 commits behind head on master.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118/graphs/tree.svg?width=650&height=150&src=pr&token=M88zHaQffJ&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p)](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p) ```diff @@ Coverage Diff @@ ## master #1118 +/- ## ========================================== + Coverage 84.53% 84.72% +0.18% ========================================== Files 91 92 +1 Lines 15517 16318 +801 ========================================== + Hits 13118 13825 +707 - Misses 2399 2493 +94 ``` | [Files](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p) | Coverage Δ | | |---|---|---| | [libp2p/crypto/chacha20poly1305.nim](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree&filepath=libp2p%2Fcrypto%2Fchacha20poly1305.nim&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p#diff-bGlicDJwL2NyeXB0by9jaGFjaGEyMHBvbHkxMzA1Lm5pbQ==) | `100.00% <100.00%> (ø)` | | | [libp2p/crypto/curve25519.nim](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree&filepath=libp2p%2Fcrypto%2Fcurve25519.nim&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p#diff-bGlicDJwL2NyeXB0by9jdXJ2ZTI1NTE5Lm5pbQ==) | `100.00% <100.00%> (ø)` | | | [libp2p/crypto/hkdf.nim](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree&filepath=libp2p%2Fcrypto%2Fhkdf.nim&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p#diff-bGlicDJwL2NyeXB0by9oa2RmLm5pbQ==) | `100.00% <100.00%> (+7.69%)` | :arrow_up: | | [libp2p/muxers/mplex/coder.nim](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree&filepath=libp2p%2Fmuxers%2Fmplex%2Fcoder.nim&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p#diff-bGlicDJwL211eGVycy9tcGxleC9jb2Rlci5uaW0=) | `92.68% <100.00%> (ø)` | | | [libp2p/nameresolving/mockresolver.nim](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree&filepath=libp2p%2Fnameresolving%2Fmockresolver.nim&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p#diff-bGlicDJwL25hbWVyZXNvbHZpbmcvbW9ja3Jlc29sdmVyLm5pbQ==) | `94.73% <100.00%> (-0.72%)` | :arrow_down: | | [libp2p/protocols/connectivity/autonat/client.nim](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree&filepath=libp2p%2Fprotocols%2Fconnectivity%2Fautonat%2Fclient.nim&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p#diff-bGlicDJwL3Byb3RvY29scy9jb25uZWN0aXZpdHkvYXV0b25hdC9jbGllbnQubmlt) | `100.00% <100.00%> (ø)` | | | [libp2p/protocols/connectivity/autonat/core.nim](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree&filepath=libp2p%2Fprotocols%2Fconnectivity%2Fautonat%2Fcore.nim&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p#diff-bGlicDJwL3Byb3RvY29scy9jb25uZWN0aXZpdHkvYXV0b25hdC9jb3JlLm5pbQ==) | `65.38% <100.00%> (+0.33%)` | :arrow_up: | | [libp2p/protocols/connectivity/dcutr/core.nim](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree&filepath=libp2p%2Fprotocols%2Fconnectivity%2Fdcutr%2Fcore.nim&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p#diff-bGlicDJwL3Byb3RvY29scy9jb25uZWN0aXZpdHkvZGN1dHIvY29yZS5uaW0=) | `100.00% <100.00%> (ø)` | | | [libp2p/protocols/connectivity/relay/rtransport.nim](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree&filepath=libp2p%2Fprotocols%2Fconnectivity%2Frelay%2Frtransport.nim&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p#diff-bGlicDJwL3Byb3RvY29scy9jb25uZWN0aXZpdHkvcmVsYXkvcnRyYW5zcG9ydC5uaW0=) | `92.00% <100.00%> (-0.21%)` | :arrow_down: | | [libp2p/protocols/connectivity/relay/utils.nim](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree&filepath=libp2p%2Fprotocols%2Fconnectivity%2Frelay%2Futils.nim&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p#diff-bGlicDJwL3Byb3RvY29scy9jb25uZWN0aXZpdHkvcmVsYXkvdXRpbHMubmlt) | `94.44% <100.00%> (ø)` | | | ... and [23 more](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p) | | ... and [21 files with indirect coverage changes](https://app.codecov.io/gh/vacp2p/nim-libp2p/pull/1118/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vacp2p)