From 3664f85f4505b502a83af5abf01265582471d3f1 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sat, 20 Jul 2024 13:28:13 -0400 Subject: [PATCH] Bump version to v0.5.4 (#12423) --- CHANGELOG.md | 17 +++++++++++++++++ Cargo.lock | 6 +++--- README.md | 6 +++--- crates/ruff/Cargo.toml | 2 +- crates/ruff_linter/Cargo.toml | 2 +- crates/ruff_wasm/Cargo.toml | 2 +- docs/integrations.md | 6 +++--- pyproject.toml | 2 +- scripts/benchmarks/pyproject.toml | 2 +- 9 files changed, 31 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0aa89dc003f53..549ec866a0506 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 0.5.4 + +### Rule changes + +- \[`ruff` \] Rename `RUF007` to `zip-instead-of-pairwise` ([#12399](https://github.com/astral-sh/ruff/pull/12399)) + +### Bug fixes + +- \[`flake8- builtins` \] A void shadowing diagnostics for `@override` methods ([#12415](https://github.com/astral-sh/ruff/pull/12415)) +- \[`flake8-comprehensions` \] Insert parentheses for multi-argument generators ([#12422](https://github.com/astral-sh/ruff/pull/12422)) +- \[`pydocstyle`\] Handle e scaped docstrings within docstring (`D301`) ([#12192](https://github.com/astral-sh/ruff/pull/12192)) + +### Documentation + +- Fix GitHub link to Neovim setup ([#12410](https://github.com/astral-sh/ruff/pull/12410)) +- Fix `output-format` default in settings reference ([#12409](https://github.com/astral-sh/ruff/pull/12409)) + ## 0.5.3 **Ruff 0.5.3 marks the stable release of the Ruff language server and introduces revamped diff --git a/Cargo.lock b/Cargo.lock index c0c9a40b172ee..17b61df9f335c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1992,7 +1992,7 @@ dependencies = [ [[package]] name = "ruff" -version = "0.5.3" +version = "0.5.4" dependencies = [ "anyhow", "argfile", @@ -2176,7 +2176,7 @@ dependencies = [ [[package]] name = "ruff_linter" -version = "0.5.3" +version = "0.5.4" dependencies = [ "aho-corasick", "annotate-snippets 0.9.2", @@ -2491,7 +2491,7 @@ dependencies = [ [[package]] name = "ruff_wasm" -version = "0.5.3" +version = "0.5.4" dependencies = [ "console_error_panic_hook", "console_log", diff --git a/README.md b/README.md index 94787bd0f836f..bc85d8fe11ee9 100644 --- a/README.md +++ b/README.md @@ -136,8 +136,8 @@ curl -LsSf https://astral.sh/ruff/install.sh | sh powershell -c "irm https://astral.sh/ruff/install.ps1 | iex" # For a specific version. -curl -LsSf https://astral.sh/ruff/0.5.3/install.sh | sh -powershell -c "irm https://astral.sh/ruff/0.5.3/install.ps1 | iex" +curl -LsSf https://astral.sh/ruff/0.5.4/install.sh | sh +powershell -c "irm https://astral.sh/ruff/0.5.4/install.ps1 | iex" ``` 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 ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.5.3 + rev: v0.5.4 hooks: # Run the linter. - id: ruff diff --git a/crates/ruff/Cargo.toml b/crates/ruff/Cargo.toml index 995af53d67751..8105f6aa3e1f0 100644 --- a/crates/ruff/Cargo.toml +++ b/crates/ruff/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff" -version = "0.5.3" +version = "0.5.4" publish = true authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_linter/Cargo.toml b/crates/ruff_linter/Cargo.toml index 23a38ebcd45b2..f006d5314c612 100644 --- a/crates/ruff_linter/Cargo.toml +++ b/crates/ruff_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_linter" -version = "0.5.3" +version = "0.5.4" publish = false authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_wasm/Cargo.toml b/crates/ruff_wasm/Cargo.toml index c64ac792e30bd..dd919f06d16c7 100644 --- a/crates/ruff_wasm/Cargo.toml +++ b/crates/ruff_wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_wasm" -version = "0.5.3" +version = "0.5.4" publish = false authors = { workspace = true } edition = { workspace = true } diff --git a/docs/integrations.md b/docs/integrations.md index 2dc280c607ece..c6ac9e3b5b5bf 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -78,7 +78,7 @@ Ruff can be used as a [pre-commit](https://pre-commit.com) hook via [`ruff-pre-c ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.5.3 + rev: v0.5.4 hooks: # Run the linter. - id: ruff @@ -91,7 +91,7 @@ To enable lint fixes, add the `--fix` argument to the lint hook: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.5.3 + rev: v0.5.4 hooks: # Run the linter. - id: ruff @@ -105,7 +105,7 @@ To run the hooks over Jupyter Notebooks too, add `jupyter` to the list of allowe ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.5.3 + rev: v0.5.4 hooks: # Run the linter. - id: ruff diff --git a/pyproject.toml b/pyproject.toml index 34bf9609e7d49..60dff7f9627b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "ruff" -version = "0.5.3" +version = "0.5.4" description = "An extremely fast Python linter and code formatter, written in Rust." authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }] readme = "README.md" diff --git a/scripts/benchmarks/pyproject.toml b/scripts/benchmarks/pyproject.toml index 5f57ba5fe4f36..d956218d0f433 100644 --- a/scripts/benchmarks/pyproject.toml +++ b/scripts/benchmarks/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "scripts" -version = "0.5.3" +version = "0.5.4" description = "" authors = ["Charles Marsh "]