stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 667 forks source link

Chore: Clippy Code Cleanup Story Ticket #3934

Open jferrant opened 1 year ago

jferrant commented 1 year ago

This is a main story ticket for cleaning up the stacks-blockchain repo by addressing clippy errors throughout the entire code base.

To run clippy on just the offending package : cargo clippy -p PACKAGE_TO_CHECK --no-deps

Subtasks include:

obycode commented 11 months ago

I'd suggest we use -- -D warnings to treat the warnings as errors too.

obycode commented 11 months ago

Adding a note here that once develop is merged into next, including the clippy checks, we should enable those checks for PRs against next as well (it's currently only enabled for PRs against develop).