Skip to content

Commit 66f93cf

Browse files
authored
Bump 0.15.12 (#24815)
1 parent 476a4d0 commit 66f93cf

12 files changed

Lines changed: 59 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# Changelog
22

3+
## 0.15.12
4+
5+
Released on 2026-04-24.
6+
7+
### Preview features
8+
9+
- Implement `#ruff:file-ignore` file-level suppressions ([#23599](https://github.com/astral-sh/ruff/pull/23599))
10+
- Implement `#ruff:ignore` logical-line suppressions ([#23404](https://github.com/astral-sh/ruff/pull/23404))
11+
- Revert preview changes to displayed diagnostic severity in LSP ([#24789](https://github.com/astral-sh/ruff/pull/24789))
12+
- \[`airflow`\] Implement `task-branch-as-short-circuit` (`AIR004`) ([#23579](https://github.com/astral-sh/ruff/pull/23579))
13+
- \[`flake8-bugbear`\] Fix `break`/`continue` handling in `loop-iterator-mutation` (`B909`) ([#24440](https://github.com/astral-sh/ruff/pull/24440))
14+
- \[`pylint`\] Fix `PLC2701` for type parameter scopes ([#24576](https://github.com/astral-sh/ruff/pull/24576))
15+
16+
### Rule changes
17+
18+
- \[`pandas-vet`\] Suggest `.array` as well in `PD011` ([#24805](https://github.com/astral-sh/ruff/pull/24805))
19+
20+
### CLI
21+
22+
- Respect default Unix permissions for cache files ([#24794](https://github.com/astral-sh/ruff/pull/24794))
23+
24+
### Documentation
25+
26+
- \[`pylint`\] Fix `PLR0124` description not to claim self-comparison always returns the same value ([#24749](https://github.com/astral-sh/ruff/pull/24749))
27+
- \[`pyupgrade`\] Expand docs on reusable `TypeVar`s and scoping (`UP046`) ([#24153](https://github.com/astral-sh/ruff/pull/24153))
28+
- Improve rules table accessibility ([#24711](https://github.com/astral-sh/ruff/pull/24711))
29+
30+
### Contributors
31+
32+
- [@dylwil3](https://github.com/dylwil3)
33+
- [@AlexWaygood](https://github.com/AlexWaygood)
34+
- [@woodruffw](https://github.com/woodruffw)
35+
- [@avasis-ai](https://github.com/avasis-ai)
36+
- [@Dev-iL](https://github.com/Dev-iL)
37+
- [@denyszhak](https://github.com/denyszhak)
38+
- [@ShipItAndPray](https://github.com/ShipItAndPray)
39+
- [@anishgirianish](https://github.com/anishgirianish)
40+
- [@augustelalande](https://github.com/augustelalande)
41+
- [@amyreese](https://github.com/amyreese)
42+
- [@majiayu000](https://github.com/majiayu000)
43+
344
## 0.15.11
445

546
Released on 2026-04-16.

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ curl -LsSf https://astral.sh/ruff/install.sh | sh
152152
powershell -c "irm https://astral.sh/ruff/install.ps1 | iex"
153153

154154
# For a specific version.
155-
curl -LsSf https://astral.sh/ruff/0.15.11/install.sh | sh
156-
powershell -c "irm https://astral.sh/ruff/0.15.11/install.ps1 | iex"
155+
curl -LsSf https://astral.sh/ruff/0.15.12/install.sh | sh
156+
powershell -c "irm https://astral.sh/ruff/0.15.12/install.ps1 | iex"
157157
```
158158

159159
You can also install Ruff via [Homebrew](https://formulae.brew.sh/formula/ruff), [Conda](https://anaconda.org/conda-forge/ruff),
@@ -186,7 +186,7 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com/) hook via [`ruff
186186
```yaml
187187
- repo: https://github.com/astral-sh/ruff-pre-commit
188188
# Ruff version.
189-
rev: v0.15.11
189+
rev: v0.15.12
190190
hooks:
191191
# Run the linter.
192192
- id: ruff-check

crates/ruff/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ruff"
3-
version = "0.15.11"
3+
version = "0.15.12"
44
publish = true
55
authors = { workspace = true }
66
edition = { workspace = true }

crates/ruff_linter/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ruff_linter"
3-
version = "0.15.11"
3+
version = "0.15.12"
44
publish = false
55
authors = { workspace = true }
66
edition = { workspace = true }

crates/ruff_linter/src/rules/airflow/rules/task_branch_as_short_circuit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ use crate::rules::airflow::helpers::is_airflow_task_variant;
7070
/// task = ShortCircuitOperator(task_id="my_task", python_callable=my_callable)
7171
/// ```
7272
#[derive(ViolationMetadata)]
73-
#[violation_metadata(preview_since = "NEXT_RUFF_VERSION")]
73+
#[violation_metadata(preview_since = "0.15.12")]
7474
pub(crate) struct AirflowTaskBranchAsShortCircuit {
7575
kind: BranchKind,
7676
}

crates/ruff_wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ruff_wasm"
3-
version = "0.15.11"
3+
version = "0.15.12"
44
publish = false
55
authors = { workspace = true }
66
edition = { workspace = true }

docs/formatter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ support needs to be explicitly included by adding it to `types_or`:
306306
```yaml title=".pre-commit-config.yaml"
307307
repos:
308308
- repo: https://github.com/astral-sh/ruff-pre-commit
309-
rev: v0.15.11
309+
rev: v0.15.12
310310
hooks:
311311
- id: ruff-format
312312
types_or: [python, pyi, jupyter, markdown]

docs/integrations.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ You can add the following configuration to `.gitlab-ci.yml` to run a `ruff forma
8080
stage: build
8181
interruptible: true
8282
image:
83-
name: ghcr.io/astral-sh/ruff:0.15.11-alpine
83+
name: ghcr.io/astral-sh/ruff:0.15.12-alpine
8484
before_script:
8585
- cd $CI_PROJECT_DIR
8686
- ruff --version
@@ -106,7 +106,7 @@ Ruff can be used as a [pre-commit](https://pre-commit.com) hook via [`ruff-pre-c
106106
```yaml
107107
- repo: https://github.com/astral-sh/ruff-pre-commit
108108
# Ruff version.
109-
rev: v0.15.11
109+
rev: v0.15.12
110110
hooks:
111111
# Run the linter.
112112
- id: ruff-check
@@ -119,7 +119,7 @@ To enable lint fixes, add the `--fix` argument to the lint hook:
119119
```yaml
120120
- repo: https://github.com/astral-sh/ruff-pre-commit
121121
# Ruff version.
122-
rev: v0.15.11
122+
rev: v0.15.12
123123
hooks:
124124
# Run the linter.
125125
- id: ruff-check
@@ -133,7 +133,7 @@ To avoid running on Jupyter Notebooks, remove `jupyter` from the list of allowed
133133
```yaml
134134
- repo: https://github.com/astral-sh/ruff-pre-commit
135135
# Ruff version.
136-
rev: v0.15.11
136+
rev: v0.15.12
137137
hooks:
138138
# Run the linter.
139139
- id: ruff-check

docs/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ This tutorial has focused on Ruff's command-line interface, but Ruff can also be
369369
```yaml
370370
- repo: https://github.com/astral-sh/ruff-pre-commit
371371
# Ruff version.
372-
rev: v0.15.11
372+
rev: v0.15.12
373373
hooks:
374374
# Run the linter.
375375
- id: ruff-check

0 commit comments

Comments
 (0)