Bump version to v0.3.2 (#10304) · astral-sh/ruff@a892fc7 (original) (raw)

9 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
1 1 # Changelog
2 2
3 +## 0.3.2
4 +
5 +### Preview features
6 +
7 +- Improve single-`with` item formatting for Python 3.8 or older ([#10276](https://github.com/astral-sh/ruff/pull/10276))
8 +
9 +### Rule changes
10 +
11 +- \[`pyupgrade`\] Allow fixes for f-string rule regardless of line length (`UP032`) ([#10263](https://github.com/astral-sh/ruff/pull/10263))
12 +- \[`pycodestyle`\] Include actual conditions in E712 diagnostics ([#10254](https://github.com/astral-sh/ruff/pull/10254))
13 +
14 +### Bug fixes
15 +
16 +- Fix trailing kwargs end of line comment after slash ([#10297](https://github.com/astral-sh/ruff/pull/10297))
17 +- Fix unstable `with` items formatting ([#10274](https://github.com/astral-sh/ruff/pull/10274))
18 +- Avoid repeating function calls in f-string conversions ([#10265](https://github.com/astral-sh/ruff/pull/10265))
19 +- Fix E203 false positive for slices in format strings ([#10280](https://github.com/astral-sh/ruff/pull/10280))
20 +- Fix incorrect `Parameter` range for `*args` and `**kwargs` ([#10283](https://github.com/astral-sh/ruff/pull/10283))
21 +- Treat `typing.Annotated` subscripts as type definitions ([#10285](https://github.com/astral-sh/ruff/pull/10285))
22 +
3 23 ## 0.3.1
4 24
5 25 ### Preview features
Original file line number Diff line number Diff line change
@@ -151,7 +151,7 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com/) hook via [`ruff
151 151 ```yaml
152 152 - repo: https://github.com/astral-sh/ruff-pre-commit
153 153 # Ruff version.
154 -rev: v0.3.1
154 +rev: v0.3.2
155 155 hooks:
156 156 # Run the linter.
157 157 - id: ruff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1 1 [package]
2 2 name = "ruff"
3 -version = "0.3.1"
3 +version = "0.3.2"
4 4 publish = false
5 5 authors = { workspace = true }
6 6 edition = { workspace = true }
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1 1 [package]
2 2 name = "ruff_linter"
3 -version = "0.3.1"
3 +version = "0.3.2"
4 4 publish = false
5 5 authors = { workspace = true }
6 6 edition = { workspace = true }
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1 1 [package]
2 2 name = "ruff_shrinking"
3 -version = "0.3.1"
3 +version = "0.3.2"
4 4 edition = "2021"
5 5
6 6 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ Ruff can be used as a [pre-commit](https://pre-commit.com) hook via [`ruff-pre-c
14 14 ```yaml
15 15 - repo: https://github.com/astral-sh/ruff-pre-commit
16 16 # Ruff version.
17 -rev: v0.3.1
17 +rev: v0.3.2
18 18 hooks:
19 19 # Run the linter.
20 20 - id: ruff
@@ -27,7 +27,7 @@ To enable lint fixes, add the `--fix` argument to the lint hook:
27 27 ```yaml
28 28 - repo: https://github.com/astral-sh/ruff-pre-commit
29 29 # Ruff version.
30 - rev: v0.3.1
30 + rev: v0.3.2
31 31 hooks:
32 32 # Run the linter.
33 33 - id: ruff
@@ -41,7 +41,7 @@ To run the hooks over Jupyter Notebooks too, add `jupyter` to the list of allowe
41 41 ```yaml
42 42 - repo: https://github.com/astral-sh/ruff-pre-commit
43 43 # Ruff version.
44 - rev: v0.3.1
44 + rev: v0.3.2
45 45 hooks:
46 46 # Run the linter.
47 47 - id: ruff
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
4 4
5 5 [project]
6 6 name = "ruff"
7 -version = "0.3.1"
7 +version = "0.3.2"
8 8 description = "An extremely fast Python linter and code formatter, written in Rust."
9 9 authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
10 10 readme = "README.md"
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1 1 [tool.poetry]
2 2 name = "scripts"
3 -version = "0.3.1"
3 +version = "0.3.2"
4 4 description = ""
5 5 authors = ["Charles Marsh charlie.r.marsh@gmail.com"]
6 6