diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3965ad3486..23ce1b0051 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -29,7 +29,7 @@ jobs: - run: ./target/debug/ruff_dev generate-all - run: git diff --quiet README.md || echo "::error file=README.md::This file is outdated. Run 'cargo dev generate-all'." - run: git diff --quiet ruff.schema.json || echo "::error file=ruff.schema.json::This file is outdated. Run 'cargo dev generate-all'." - - run: git diff --exit-code -- README.md ruff.schema.json + - run: git diff --exit-code -- README.md ruff.schema.json docs cargo-fmt: name: "cargo fmt" diff --git a/docs/configuration.md b/docs/configuration.md index 4417c093e6..5587637c91 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -206,6 +206,8 @@ Options: Run in watch mode by re-running whenever files change --fix-only Fix any fixable lint violations, but don't report on leftover violations. Implies `--fix` + --ignore-noqa + Ignore any `# noqa` comments --format Output serialization format for violations [env: RUFF_FORMAT=] [possible values: text, json, junit, grouped, github, gitlab, pylint] --target-version