Skip to content

Commit 2afb467

Browse files
authored
Bump 0.15.13 (#25157)
1 parent 3008796 commit 2afb467

12 files changed

Lines changed: 80 additions & 18 deletions

File tree

CHANGELOG.md

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

3+
## 0.15.13
4+
5+
Released on 2026-05-14.
6+
7+
### Preview features
8+
9+
- Add a rule to flag lazy imports that are eagerly evaluated ([#25016](https://github.com/astral-sh/ruff/pull/25016))
10+
- \[`pylint`\] Standardize diagnostic message (`PLR0914`, `PLR0917`) ([#24996](https://github.com/astral-sh/ruff/pull/24996))
11+
12+
### Bug fixes
13+
14+
- Fix `F811` false positive for class methods ([#24933](https://github.com/astral-sh/ruff/pull/24933))
15+
- Fix setting selection for multi-folder workspace ([#24819](https://github.com/astral-sh/ruff/pull/24819))
16+
- \[`eradicate`\] Fix false positive for lines with leading whitespace (`ERA001`) ([#25122](https://github.com/astral-sh/ruff/pull/25122))
17+
- \[`flake8-pyi`\] Fix false positive for f-string debug specifier (`PYI016`) ([#24098](https://github.com/astral-sh/ruff/pull/24098))
18+
19+
### Rule changes
20+
21+
- Always include panic payload in panic diagnostic message ([#24873](https://github.com/astral-sh/ruff/pull/24873))
22+
- Restrict `PYI034` for in-place operations to enclosing class ([#24511](https://github.com/astral-sh/ruff/pull/24511))
23+
- Improve error message for parameters that are declared `global` ([#24902](https://github.com/astral-sh/ruff/pull/24902))
24+
- Update known stdlib ([#25103](https://github.com/astral-sh/ruff/pull/25103))
25+
26+
### Performance
27+
28+
- \[`isort`\] Avoid constructing `glob::Pattern`s for literal known modules ([#25123](https://github.com/astral-sh/ruff/pull/25123))
29+
30+
### CLI
31+
32+
- Add TOML examples to `--config` help text ([#25013](https://github.com/astral-sh/ruff/pull/25013))
33+
- Colorize ruff check 'All checks passed' ([#25085](https://github.com/astral-sh/ruff/pull/25085))
34+
35+
### Configuration
36+
37+
- Increase max allowed value of `line-length` setting ([#24962](https://github.com/astral-sh/ruff/pull/24962))
38+
39+
### Documentation
40+
41+
- Add `D203` to rules that conflict with the formatter ([#25044](https://github.com/astral-sh/ruff/pull/25044))
42+
- Clarify `COM819` and formatter interaction ([#25045](https://github.com/astral-sh/ruff/pull/25045))
43+
- Clarify that `NotImplemented` is a value, not an exception (`F901`) ([#25054](https://github.com/astral-sh/ruff/pull/25054))
44+
- Update number of lint rules supported ([#24942](https://github.com/astral-sh/ruff/pull/24942))
45+
46+
### Other changes
47+
48+
- Simplify the playground's markdown template ([#24924](https://github.com/astral-sh/ruff/pull/24924))
49+
50+
### Contributors
51+
52+
- [@MichaReiser](https://github.com/MichaReiser)
53+
- [@brian-c11](https://github.com/brian-c11)
54+
- [@Andrej730](https://github.com/Andrej730)
55+
- [@denyszhak](https://github.com/denyszhak)
56+
- [@darestack](https://github.com/darestack)
57+
- [@sharkdp](https://github.com/sharkdp)
58+
- [@charliermarsh](https://github.com/charliermarsh)
59+
- [@EkriirkE](https://github.com/EkriirkE)
60+
- [@eyupcanakman](https://github.com/eyupcanakman)
61+
- [@Hrk84ya](https://github.com/Hrk84ya)
62+
- [@thernstig](https://github.com/thernstig)
63+
- [@ntBre](https://github.com/ntBre)
64+
365
## 0.15.12
466

567
Released on 2026-04-24.

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.12/install.sh | sh
156-
powershell -c "irm https://astral.sh/ruff/0.15.12/install.ps1 | iex"
155+
curl -LsSf https://astral.sh/ruff/0.15.13/install.sh | sh
156+
powershell -c "irm https://astral.sh/ruff/0.15.13/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.12
189+
rev: v0.15.13
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.12"
3+
version = "0.15.13"
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.12"
3+
version = "0.15.13"
44
publish = false
55
authors = { workspace = true }
66
edition = { workspace = true }

crates/ruff_linter/src/rules/flake8_tidy_imports/rules/lazy_import_immediately_resolved.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ use crate::{Edit, Fix, FixAvailability, Violation};
4646
/// member, since removing `lazy` from a multi-member import would make every
4747
/// imported member eager, including names that may not be resolved immediately.
4848
#[derive(ViolationMetadata)]
49-
#[violation_metadata(preview_since = "NEXT_RUFF_VERSION")]
49+
#[violation_metadata(preview_since = "0.15.13")]
5050
pub(crate) struct LazyImportImmediatelyResolved {
5151
name: String,
5252
fixable: bool,

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.12"
3+
version = "0.15.13"
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.12
309+
rev: v0.15.13
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.12-alpine
83+
name: ghcr.io/astral-sh/ruff:0.15.13-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.12
109+
rev: v0.15.13
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.12
122+
rev: v0.15.13
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.12
136+
rev: v0.15.13
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.12
372+
rev: v0.15.13
373373
hooks:
374374
# Run the linter.
375375
- id: ruff-check

0 commit comments

Comments
 (0)