Skip to content

Commit d091fbc

Browse files
committed
Fix pre-commit stuff
1 parent 1ff556c commit d091fbc

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
- id: fmt
2424
args: ["--all", "--", "--check"]
2525
- id: clippy
26-
args: ["--all-targets", "--", "-D", "warnings"]
26+
args: ["--all-targets", "--all-features", "--", "-D", "warnings"]
2727

2828
- repo: https://github.com/adrienverge/yamllint
2929
rev: 81e9f98ffd059efe8aa9c1b1a42e5cce61b640c6 # 1.35.1

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ hooks are:
6565
- [`yamllint`](https://github.com/adrienverge/yamllint): Runs linting on all YAML files
6666
- [`markdownlint`](https://github.com/igorshubovych/markdownlint-cli): Runs linting on all Markdown files
6767
- [`prettier`](https://github.com/pre-commit/mirrors-prettier): Runs prettier on files located in `web`
68-
- `cargo clippy -- -D warnings`: Runs Clippy on all files and errors on warnings
68+
- `cargo clippy --all-targets --all-features -- -D warnings`: Runs Clippy on all files and errors on warnings
6969
- `cargo fmt -- --check`: Checks if Rust code needs formatting
7070
- `cargo xtask gen-comp`: Runs shell completions generation for `stackablectl`
7171
- `cargo xtask gen-man`: Runs man page generation for `stackablectl`
@@ -77,4 +77,3 @@ hooks are:
7777
[pre-commit]: https://pre-commit.com/
7878
[web-readme]: ./web/README.md
7979
[lib-readme]: ./rust/stackable-cockpit/README.md
80-
[xtasks]: ./xtask/src/main.rs

crate-hashes.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)