Forbid usage of unwrap #179
Loading…
Reference in New Issue
No description provided.
Delete Branch "clippy-unwrap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Weird, CI is showing more errors than local clippy.
Forbid usage of unwrapto WIP: Forbid usage of unwrap838dfa271f
to5268f0b338
WIP: Forbid usage of unwrapto Forbid usage of unwrap5268f0b338
to06085cd6d5
@ -23,6 +23,7 @@ steps:
image: ekidd/rust-musl-builder:1.47.0
commands:
- cargo clippy --workspace --tests --all-targets --all-features -- -D warnings -D deprecated -D clippy::perf -D clippy::complexity -D clippy::dbg_macro
- cargo clippy --workspace -- -D clippy::unwrap_used
Why is this a 2nd command here? Why not add it to the previous?
It also didn't seem to run: https://cloud.drone.io/LemmyNet/lemmy/477/1/5
Actually nm it did run, I scrolled down.
I had it in the same command before, but that also runs for tests and was failing because of that. I'm not sure if we can add comments here.
Ah, that's fine then.
06085cd6d5
to7f56281c26