cpp-linter / cpp-linter-rs

A CLI tool that scans a batch of files with clang-tidy and/or clang-format, then provides feedback in the form of comments, annotations, summaries, and reviews.
https://cpp-linter.github.io/cpp-linter-rs/
MIT License
1 stars 0 forks source link

Refactor files #38

Closed 2bndy5 closed 2 months ago

2bndy5 commented 2 months ago

This is intended to allow calling both rust lib and python lib "cpp-linter" when installing with cargo or pip.

Also when using python, the entry point script is now the same as it is in v1.x: cpp_linter.main().

I also decided to split up the 1000 lines of code in src/rest_api/github_api.rs (into 3 files). This should make much easier to add support for other REST API clients.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 97.95022% with 14 lines in your changes missing coverage. Please review.

Project coverage is 98.50%. Comparing base (9189e86) to head (7da7084). Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
cpp-linter/src/rest_api/github/mod.rs 97.74% 7 Missing :warning:
cpp-linter/src/rest_api/github/specific_api.rs 98.02% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #38 +/- ## ======================================= Coverage 98.50% 98.50% ======================================= Files 12 14 +2 Lines 3144 3144 ======================================= Hits 3097 3097 Misses 47 47 ```

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