Skip to content

Commit ce5f7b6

Browse files
authored
Bump 0.15.0 (#23055)
1 parent b4e40f5 commit ce5f7b6

File tree

12 files changed

+879
-695
lines changed

12 files changed

+879
-695
lines changed

BREAKING_CHANGES.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# Breaking Changes
22

3+
## 0.15.0
4+
5+
- **2026 formatter style guide**
6+
7+
Ruff now formats your code according to the 2026 style guide. See the
8+
formatter section in the changelog or blog post for a detailed list of
9+
changes.
10+
11+
- **Block suppression comments in the linter**
12+
13+
The linter now supports block suppression comments. For example, to suppress
14+
`N803` for all parameters in this function:
15+
16+
```python
17+
# ruff: disable[N803]
18+
def foo(
19+
legacyArg1,
20+
legacyArg2,
21+
legacyArg3,
22+
legacyArg4,
23+
): ...
24+
# ruff: enable[N803]
25+
```
26+
27+
- **Alpine Docker image**
28+
29+
The `ruff:alpine` Docker image is now based on Alpine 3.23 (up from 3.21).
30+
31+
- **Debian Docker image**
32+
33+
The `ruff:debian` and `ruff:debian-slim` Docker images are now based on Debian 13 "Trixie" instead of Debian 12 "Bookworm."
34+
35+
- **`ppc64` binaries**
36+
37+
Binaries for the `ppc64` (64-bit big-endian PowerPC) architecture are no longer included in our releases. It should still be possible to build Ruff manually for this platform, if needed.
38+
39+
- **Default Python version and `extend`**
40+
41+
Ruff now resolves all `extend`ed configuration files before falling back on a default Python version.
42+
343
## 0.14.0
444

545
- **Default to Python 3.10**

CHANGELOG.md

Lines changed: 112 additions & 679 deletions
Large diffs are not rendered by default.

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.14.14/install.sh | sh
156-
powershell -c "irm https://astral.sh/ruff/0.14.14/install.ps1 | iex"
155+
curl -LsSf https://astral.sh/ruff/0.15.0/install.sh | sh
156+
powershell -c "irm https://astral.sh/ruff/0.15.0/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.14.14
189+
rev: v0.15.0
190190
hooks:
191191
# Run the linter.
192192
- id: ruff-check

0 commit comments

Comments
 (0)