Skip to content

Commit

Permalink
chore: Add cargo doc check to pre-commit (#966)
Browse files Browse the repository at this point in the history
This is the check run in CI, so it should be also included in the hooks
  • Loading branch information
aborgna-q authored Apr 23, 2024
1 parent 73c1336 commit 81d358f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,10 @@ repos:
language: system
files: \.rs$
pass_filenames: false
- id: cargo-doc
name: cargo doc
description: Generate documentation with `cargo doc`.
entry: cargo doc --no-deps --all-features --workspace
language: system
files: \.rs$
pass_filenames: false

0 comments on commit 81d358f

Please sign in to comment.