Skip to content

Add pre-commit hooks #434

@JSOD11

Description

@JSOD11

Right now, before any commit I manually run

cargo fmt --all

and then

cargo clippy --all-targets --all-features -- -D warnings

These are run in our CI checks. We could just add them as pre-commit hooks so that they are automatically run whenever a contributor tries to make a commit. This way, it is impossible to forget and then have the issue be caught later in CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions