Add cargo clippy and cargo fmt to pre-commit hooks #413

Merged
sb10q merged 1 commits from misc/workflow-updates into master 2024-08-17 17:37:21 +08:00
Collaborator
  • Deny clippy::all warnings by default
  • Add more warnings, including Rust 2024 edition compatibility warnings
  • Add pre-commit hooks to check for style and format violations

I would prefer this to be merged once everyone is done with their currently-active feature to minimize conflicts.

- Deny `clippy::all` warnings by default - Add more warnings, including Rust 2024 edition compatibility warnings - Add `pre-commit` hooks to check for style and format violations I would prefer this to be merged once everyone is done with their currently-active feature to minimize conflicts.
derppening requested review from sb10q 2024-06-12 15:40:05 +08:00
Owner

Let's just take care of #408 and then merge this.

Let's just take care of #408 and then merge this.
Owner

Needs rewriting the fmt commit

Needs rewriting the fmt commit
derppening force-pushed misc/workflow-updates from 01ea93706d to 2c9b1f5330 2024-06-12 16:06:47 +08:00 Compare
Author
Collaborator

v2: Rebased onto master, added Rustrover configuration files

v2: Rebased onto master, added Rustrover configuration files
Owner

added Rustrover configuration files

Please remove them, we generally don't include settings for any particular IDE in our projects.

> added Rustrover configuration files Please remove them, we generally don't include settings for any particular IDE in our projects.
derppening force-pushed misc/workflow-updates from 2c9b1f5330 to be55e2ac80 2024-06-12 16:11:42 +08:00 Compare
Author
Collaborator

v3: Removed Rustrover configurations

v3: Removed Rustrover configurations
sb10q merged commit be55e2ac80 into master 2024-06-12 16:12:19 +08:00
sb10q deleted branch misc/workflow-updates 2024-06-12 16:12:20 +08:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/nac3#413
No description provided.