Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deny todo!() macro in product code #378

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Deny todo!() macro in product code #378

merged 1 commit into from
Oct 27, 2023

Conversation

danielocfb
Copy link
Collaborator

Let's employ the help of clippy to prevent todo!() call sites from sneaking into product code. Do so from CI, which is expected to check all crates in the workspace.

Let's employ the help of clippy to prevent todo!() call sites from
sneaking into product code. Do so from CI, which is expected to check
all crates in the workspace.

Signed-off-by: Daniel Müller <[email protected]>
@danielocfb
Copy link
Collaborator Author

@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (aeb0976) 90.31% compared to head (c9188ab) 90.31%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #378   +/-   ##
=======================================
  Coverage   90.31%   90.31%           
=======================================
  Files          40       40           
  Lines        5247     5247           
=======================================
  Hits         4739     4739           
  Misses        508      508           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielocfb danielocfb merged commit 3b0dff3 into libbpf:main Oct 27, 2023
@danielocfb danielocfb deleted the topic/clippy-todo branch October 27, 2023 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants