Bump version to v0.5.4 (#12423) · astral-sh/ruff@3664f85 (original) (raw)
9 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,22 @@ | ||
1 | 1 | # Changelog |
2 | 2 | |
3 | +## 0.5.4 | |
4 | + | |
5 | +### Rule changes | |
6 | + | |
7 | +- \[`ruff` \] Rename `RUF007` to `zip-instead-of-pairwise` ([#12399](https://github.com/astral-sh/ruff/pull/12399)) | |
8 | + | |
9 | +### Bug fixes | |
10 | + | |
11 | +- \[`flake8- builtins` \] A void shadowing diagnostics for `@override` methods ([#12415](https://github.com/astral-sh/ruff/pull/12415)) | |
12 | +- \[`flake8-comprehensions` \] Insert parentheses for multi-argument generators ([#12422](https://github.com/astral-sh/ruff/pull/12422)) | |
13 | +- \[`pydocstyle`\] Handle e scaped docstrings within docstring (`D301`) ([#12192](https://github.com/astral-sh/ruff/pull/12192)) | |
14 | + | |
15 | +### Documentation | |
16 | + | |
17 | +- Fix GitHub link to Neovim setup ([#12410](https://github.com/astral-sh/ruff/pull/12410)) | |
18 | +- Fix `output-format` default in settings reference ([#12409](https://github.com/astral-sh/ruff/pull/12409)) | |
19 | + | |
3 | 20 | ## 0.5.3 |
4 | 21 | |
5 | 22 | **Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -136,8 +136,8 @@ curl -LsSf https://astral.sh/ruff/install.sh | sh | ||
136 | 136 | powershell -c "irm https://astral.sh/ruff/install.ps1 | iex" |
137 | 137 | |
138 | 138 | # For a specific version. |
139 | -curl -LsSf https://astral.sh/ruff/0.5.3/install.sh | sh | |
140 | -powershell -c "irm https://astral.sh/ruff/0.5.3/install.ps1 | iex" | |
139 | +curl -LsSf https://astral.sh/ruff/0.5.4/install.sh | sh | |
140 | +powershell -c "irm https://astral.sh/ruff/0.5.4/install.ps1 | iex" | |
141 | 141 | ``` |
142 | 142 | |
143 | 143 | 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 | ||
170 | 170 | ```yaml |
171 | 171 | - repo: https://github.com/astral-sh/ruff-pre-commit |
172 | 172 | # Ruff version. |
173 | -rev: v0.5.3 | |
173 | +rev: v0.5.4 | |
174 | 174 | hooks: |
175 | 175 | # Run the linter. |
176 | 176 | - 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.5.3" | |
3 | +version = "0.5.4" | |
4 | 4 | publish = true |
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.5.3" | |
3 | +version = "0.5.4" | |
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_wasm" |
3 | -version = "0.5.3" | |
3 | +version = "0.5.4" | |
4 | 4 | publish = false |
5 | 5 | authors = { workspace = true } |
6 | 6 | edition = { workspace = true } |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -78,7 +78,7 @@ Ruff can be used as a [pre-commit](https://pre-commit.com) hook via [`ruff-pre-c | ||
78 | 78 | ```yaml |
79 | 79 | - repo: https://github.com/astral-sh/ruff-pre-commit |
80 | 80 | # Ruff version. |
81 | - rev: v0.5.3 | |
81 | + rev: v0.5.4 | |
82 | 82 | hooks: |
83 | 83 | # Run the linter. |
84 | 84 | - id: ruff |
@@ -91,7 +91,7 @@ To enable lint fixes, add the `--fix` argument to the lint hook: | ||
91 | 91 | ```yaml |
92 | 92 | - repo: https://github.com/astral-sh/ruff-pre-commit |
93 | 93 | # Ruff version. |
94 | - rev: v0.5.3 | |
94 | + rev: v0.5.4 | |
95 | 95 | hooks: |
96 | 96 | # Run the linter. |
97 | 97 | - id: ruff |
@@ -105,7 +105,7 @@ To run the hooks over Jupyter Notebooks too, add `jupyter` to the list of allowe | ||
105 | 105 | ```yaml |
106 | 106 | - repo: https://github.com/astral-sh/ruff-pre-commit |
107 | 107 | # Ruff version. |
108 | - rev: v0.5.3 | |
108 | + rev: v0.5.4 | |
109 | 109 | hooks: |
110 | 110 | # Run the linter. |
111 | 111 | - 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.5.3" | |
7 | +version = "0.5.4" | |
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.5.3" | |
3 | +version = "0.5.4" | |
4 | 4 | description = "" |
5 | 5 | authors = ["Charles Marsh charlie.r.marsh@gmail.com"] |
6 | 6 |