From 5e039ffc75d39255a736bf66bfb22451a7a666fb Mon Sep 17 00:00:00 2001 From: Kieran Ryan Date: Sun, 30 Nov 2025 22:05:11 +0000 Subject: [PATCH 1/3] docs: Output file option on GitLab integration Specify file to write the linter output to. --- docs/integrations.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/integrations.md b/docs/integrations.md index fc364ae8caa3b4..65553c6bdf24ad 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -88,7 +88,7 @@ You can add the following configuration to `.gitlab-ci.yml` to run a `ruff forma Ruff Check: extends: .base_ruff script: - - ruff check --output-format=gitlab > code-quality-report.json + - ruff check --output-format=gitlab --output-file=code-quality-report.json artifacts: reports: codequality: $CI_PROJECT_DIR/code-quality-report.json From e1cc282cc00e0d84584798bb36deca7f89e0be6a Mon Sep 17 00:00:00 2001 From: Kieran Ryan Date: Sun, 30 Nov 2025 22:06:40 +0000 Subject: [PATCH 2/3] docs: Fix README typo for error correction support Redundant comma --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a95fb77768adb6..bd9d483eb03405 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ An extremely fast Python linter and code formatter, written in Rust. - 🤝 Python 3.14 compatibility - ⚖️ Drop-in parity with [Flake8](https://docs.astral.sh/ruff/faq/#how-does-ruffs-linter-compare-to-flake8), isort, and [Black](https://docs.astral.sh/ruff/faq/#how-does-ruffs-formatter-compare-to-black) - 📦 Built-in caching, to avoid re-analyzing unchanged files -- 🔧 Fix support, for automatic error correction (e.g., automatically remove unused imports) +- 🔧 Fix support, for automatic error correction (e.g. automatically remove unused imports) - 📏 Over [800 built-in rules](https://docs.astral.sh/ruff/rules/), with native re-implementations of popular Flake8 plugins, like flake8-bugbear - ⌨️ First-party [editor integrations](https://docs.astral.sh/ruff/editors) for [VS Code](https://github.com/astral-sh/ruff-vscode) and [more](https://docs.astral.sh/ruff/editors/setup) From 26cdf4ba79a1474a4401949471db60571ec338aa Mon Sep 17 00:00:00 2001 From: Micha Reiser Date: Mon, 1 Dec 2025 11:03:58 +0100 Subject: [PATCH 3/3] Discard changes to README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index bd9d483eb03405..a95fb77768adb6 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ An extremely fast Python linter and code formatter, written in Rust. - 🤝 Python 3.14 compatibility - ⚖️ Drop-in parity with [Flake8](https://docs.astral.sh/ruff/faq/#how-does-ruffs-linter-compare-to-flake8), isort, and [Black](https://docs.astral.sh/ruff/faq/#how-does-ruffs-formatter-compare-to-black) - 📦 Built-in caching, to avoid re-analyzing unchanged files -- 🔧 Fix support, for automatic error correction (e.g. automatically remove unused imports) +- 🔧 Fix support, for automatic error correction (e.g., automatically remove unused imports) - 📏 Over [800 built-in rules](https://docs.astral.sh/ruff/rules/), with native re-implementations of popular Flake8 plugins, like flake8-bugbear - ⌨️ First-party [editor integrations](https://docs.astral.sh/ruff/editors) for [VS Code](https://github.com/astral-sh/ruff-vscode) and [more](https://docs.astral.sh/ruff/editors/setup)