Skip to content

Commit c05b1d3

Browse files
authored
Fix release regex (#727)
1 parent c635c6e commit c05b1d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Python linter and code formatter, written in Rust. Available on the [Visual Stud
2121
Ruff can be used to replace Flake8 (plus dozens of plugins), Black, isort, pyupgrade, and more,
2222
all while executing tens or hundreds of times faster than any individual tool.
2323

24-
The extension ships with `ruff==0.10.0`.
24+
The extension ships with `ruff==0.11.1`.
2525

2626
## Highlights
2727

scripts/release.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def update_readme(latest_ruff: Version) -> None:
143143
"""Ensure the README is up to date with respect to our pinned Ruff version."""
144144
readme_text = README_PATH.read_text()
145145
readme_text = re.sub(
146-
r"The extension ships with `ruff==\d\.\d\.\d`\.",
146+
r"The extension ships with `ruff==\d*\.\d*\.\d*`\.",
147147
f"The extension ships with `ruff=={latest_ruff}`.",
148148
readme_text,
149149
)

0 commit comments

Comments
 (0)