Skip to content

Commit 499c0bd

Browse files
AlexWaygooddhruvmanilaMichaReiser
authored
Bump version to 0.6.1 (#12937)
Co-authored-by: Dhruv Manilawala <[email protected]> Co-authored-by: Micha Reiser <[email protected]>
1 parent 4cb30b5 commit 499c0bd

File tree

9 files changed

+38
-14
lines changed

9 files changed

+38
-14
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
## 0.6.1
4+
5+
This is a hotfix release to address an issue with `ruff-pre-commit`. In v0.6,
6+
Ruff changed its behavior to lint and format Jupyter notebooks by default;
7+
however, due to an oversight, these files were still excluded by default if
8+
Ruff was run via pre-commit, leading to inconsistent behavior.
9+
This has [now been fixed](https://github.com/astral-sh/ruff-pre-commit/pull/96).
10+
11+
### Preview features
12+
13+
- \[`fastapi`\] Implement `fast-api-unused-path-parameter` (`FAST003`) ([#12638](https://github.com/astral-sh/ruff/pull/12638))
14+
15+
### Rule changes
16+
17+
- \[`pylint`\] Rename `too-many-positional` to `too-many-positional-arguments` (`R0917`) ([#12905](https://github.com/astral-sh/ruff/pull/12905))
18+
19+
### Server
20+
21+
- Fix crash when applying "fix-all" code-action to notebook cells ([#12929](https://github.com/astral-sh/ruff/pull/12929))
22+
23+
### Other changes
24+
25+
- \[`flake8-naming`\]: Respect import conventions (`N817`) ([#12922](https://github.com/astral-sh/ruff/pull/12922))
26+
327
## 0.6.0
428

529
Check out the [blog post](https://astral.sh/blog/ruff-v0.6.0) for a migration guide and overview of the changes!

Cargo.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ curl -LsSf https://astral.sh/ruff/install.sh | sh
136136
powershell -c "irm https://astral.sh/ruff/install.ps1 | iex"
137137

138138
# For a specific version.
139-
curl -LsSf https://astral.sh/ruff/0.6.0/install.sh | sh
140-
powershell -c "irm https://astral.sh/ruff/0.6.0/install.ps1 | iex"
139+
curl -LsSf https://astral.sh/ruff/0.6.1/install.sh | sh
140+
powershell -c "irm https://astral.sh/ruff/0.6.1/install.ps1 | iex"
141141
```
142142

143143
You can also install Ruff via [Homebrew](https://formulae.brew.sh/formula/ruff), [Conda](https://anaconda.org/conda-forge/ruff),
@@ -170,7 +170,7 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com/) hook via [`ruff
170170
```yaml
171171
- repo: https://github.com/astral-sh/ruff-pre-commit
172172
# Ruff version.
173-
rev: v0.6.0
173+
rev: v0.6.1
174174
hooks:
175175
# Run the linter.
176176
- id: ruff

crates/ruff/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ruff"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
publish = true
55
authors = { workspace = true }
66
edition = { workspace = true }

crates/ruff_linter/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ruff_linter"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
publish = false
55
authors = { workspace = true }
66
edition = { workspace = true }

crates/ruff_wasm/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ruff_wasm"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
publish = false
55
authors = { workspace = true }
66
edition = { workspace = true }

docs/integrations.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Ruff can be used as a [pre-commit](https://pre-commit.com) hook via [`ruff-pre-c
7878
```yaml
7979
- repo: https://github.com/astral-sh/ruff-pre-commit
8080
# Ruff version.
81-
rev: v0.6.0
81+
rev: v0.6.1
8282
hooks:
8383
# Run the linter.
8484
- id: ruff
@@ -91,7 +91,7 @@ To enable lint fixes, add the `--fix` argument to the lint hook:
9191
```yaml
9292
- repo: https://github.com/astral-sh/ruff-pre-commit
9393
# Ruff version.
94-
rev: v0.6.0
94+
rev: v0.6.1
9595
hooks:
9696
# Run the linter.
9797
- id: ruff
@@ -105,7 +105,7 @@ To run the hooks over Jupyter Notebooks too, add `jupyter` to the list of allowe
105105
```yaml
106106
- repo: https://github.com/astral-sh/ruff-pre-commit
107107
# Ruff version.
108-
rev: v0.6.0
108+
rev: v0.6.1
109109
hooks:
110110
# Run the linter.
111111
- id: ruff

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "ruff"
7-
version = "0.6.0"
7+
version = "0.6.1"
88
description = "An extremely fast Python linter and code formatter, written in Rust."
99
authors = [{ name = "Astral Software Inc.", email = "[email protected]" }]
1010
readme = "README.md"

scripts/benchmarks/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "scripts"
3-
version = "0.6.0"
3+
version = "0.6.1"
44
description = ""
55
authors = ["Charles Marsh <[email protected]>"]
66

0 commit comments

Comments
 (0)