From 7fdea2913aabab23d0ad03897fea55b7f45d10ae Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Tue, 2 Jul 2024 18:29:52 +0100 Subject: [PATCH] chore: don't treat clippy warnings as errors --- .forgejo/workflows/push-next.yml | 2 +- bacon.toml | 11 +---------- justfile | 2 +- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/.forgejo/workflows/push-next.yml b/.forgejo/workflows/push-next.yml index 1c2990d..a798566 100644 --- a/.forgejo/workflows/push-next.yml +++ b/.forgejo/workflows/push-next.yml @@ -25,7 +25,7 @@ jobs: - name: Clippy uses: https://git.kemitix.net/kemitix/rust@v0.3.1 with: - args: clippy -- -D warnings + args: clippy - name: Build uses: https://git.kemitix.net/kemitix/rust@v0.3.1 diff --git a/bacon.toml b/bacon.toml index 5b78b58..3534669 100644 --- a/bacon.toml +++ b/bacon.toml @@ -24,16 +24,7 @@ command = ["cargo", "check", "--all-targets", "--color", "always"] need_stdout = false [jobs.clippy] -command = [ - "cargo", - "clippy", - "--all-targets", - "--color", - "always", - "--", - "-Dwarnings", -] -# "-Wclippy::pedantic", +command = ["cargo", "clippy", "--all-targets", "--color", "always"] need_stdout = false [jobs.test] diff --git a/justfile b/justfile index 071a1f7..b64c557 100644 --- a/justfile +++ b/justfile @@ -7,7 +7,7 @@ validate-dev-branch: git rebase -i origin/main -x 'cargo fmt --check' git rebase -i origin/main -x 'cargo build' git rebase -i origin/main -x 'cargo test' - git rebase -i origin/main -x 'cargo clippy -- -D warnings' + git rebase -i origin/main -x 'cargo clippy' start-ngrok: #!/usr/bin/env bash