diff --git a/src/.pre-commit-config.yaml b/src/.pre-commit-config.yaml index ec57537..a871251 100644 --- a/src/.pre-commit-config.yaml +++ b/src/.pre-commit-config.yaml @@ -6,16 +6,16 @@ default_stages: [commit] repos: - repo: local hooks: - - id: nac3-cargo-fmt - name: nac3 cargo format + - id: cargo-fmt + name: artiq-zynq cargo format entry: nix language: system types: [file, rust] pass_filenames: false description: Runs cargo fmt on the codebase. args: [develop, -c, cargo, fmt, --manifest-path, src/Cargo.toml, --all] - - id: nac3-cargo-clippy - name: nac3 cargo clippy + - id: cargo-clippy + name: artiq-zynq cargo clippy entry: nix language: system types: [file, rust] @@ -26,7 +26,7 @@ repos: rev: v19.1.0 hooks: - id: clang-format - name: clang-format + name: artiq-zynq-clang-format description: Runs clang-format on the codebase. files: \.(cpp|h|hpp|c)$ args: [-style=file, -fallback-style=none, -assume-filename=src/.clang-format]