kworkflow / patch-hub

patch-hub is a TUI that streamlines the interaction of Linux developers with patches archived on lore.kernel.org
GNU General Public License v2.0
7 stars 6 forks source link

Add project level aliases for `cargo clippy` and `cargo fmt` #39

Closed davidbtadokoro closed 3 weeks ago

davidbtadokoro commented 1 month ago

Context:

We recently added formatting and linting to patch-hub through CI jobs and pre-commit hooks.

Proposal:

Also, provide the same clippy and rustfmt commands ran in the CI and the pre-commit hooks by default. There seems to be a possibility of doing this by using cargo aliases.

Setup: