From 17c4690b5ead2872ed8035d9a03a2af0cb0a1fa1 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Sat, 21 Sep 2024 13:16:36 -0400 Subject: [PATCH] Bump version to v0.6.7 (#13439) --- CHANGELOG.md | 21 +++++++++++++++++++++ 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, 35 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 551b91a87cd09..c640f13d3d20b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # Changelog +## 0.6.7 + +### Preview features + +- Add Python version support to ruff analyze CLI ([#13426](https://github.com/astral-sh/ruff/pull/13426)) +- Add `exclude` support to `ruff analyze` ([#13425](https://github.com/astral-sh/ruff/pull/13425)) +- Fix parentheses around return type annotations ([#13381](https://github.com/astral-sh/ruff/pull/13381)) + +### Rule changes + +- \[`pycodestyle`\] Fix: Don't autofix if the first line ends in a question mark? (D400) ([#13399](https://github.com/astral-sh/ruff/pull/13399)) + +### Bug fixes + +- Respect `lint.exclude` in ruff check `--add-noqa` ([#13427](https://github.com/astral-sh/ruff/pull/13427)) + +### Performance + +- Avoid tracking module resolver files in Salsa ([#13437](https://github.com/astral-sh/ruff/pull/13437)) +- Use `forget` for module resolver database ([#13438](https://github.com/astral-sh/ruff/pull/13438)) + ## 0.6.6 ### Preview features diff --git a/Cargo.lock b/Cargo.lock index 9b1c5620d9bf8..ba39c9202094f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2253,7 +2253,7 @@ dependencies = [ [[package]] name = "ruff" -version = "0.6.6" +version = "0.6.7" dependencies = [ "anyhow", "argfile", @@ -2472,7 +2472,7 @@ dependencies = [ [[package]] name = "ruff_linter" -version = "0.6.6" +version = "0.6.7" dependencies = [ "aho-corasick", "annotate-snippets 0.9.2", @@ -2803,7 +2803,7 @@ dependencies = [ [[package]] name = "ruff_wasm" -version = "0.6.6" +version = "0.6.7" dependencies = [ "console_error_panic_hook", "console_log", diff --git a/README.md b/README.md index da040fbe70e79..95dcc831c371d 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.6.6/install.sh | sh -powershell -c "irm https://astral.sh/ruff/0.6.6/install.ps1 | iex" +curl -LsSf https://astral.sh/ruff/0.6.7/install.sh | sh +powershell -c "irm https://astral.sh/ruff/0.6.7/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.6.6 + rev: v0.6.7 hooks: # Run the linter. - id: ruff diff --git a/crates/ruff/Cargo.toml b/crates/ruff/Cargo.toml index 786ca8e9c2850..cb7e991d38935 100644 --- a/crates/ruff/Cargo.toml +++ b/crates/ruff/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff" -version = "0.6.6" +version = "0.6.7" publish = true authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_linter/Cargo.toml b/crates/ruff_linter/Cargo.toml index e4483a3747687..e6abd9fb000ea 100644 --- a/crates/ruff_linter/Cargo.toml +++ b/crates/ruff_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_linter" -version = "0.6.6" +version = "0.6.7" publish = false authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_wasm/Cargo.toml b/crates/ruff_wasm/Cargo.toml index 9dd0c286526c0..bafb2cebaf4a8 100644 --- a/crates/ruff_wasm/Cargo.toml +++ b/crates/ruff_wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_wasm" -version = "0.6.6" +version = "0.6.7" publish = false authors = { workspace = true } edition = { workspace = true } diff --git a/docs/integrations.md b/docs/integrations.md index e9099e7f0baf0..2998b411b1ed6 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.6.6 + rev: v0.6.7 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.6.6 + rev: v0.6.7 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.6.6 + rev: v0.6.7 hooks: # Run the linter. - id: ruff diff --git a/pyproject.toml b/pyproject.toml index 798f39cfb6c5b..19d0cd99ed077 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "ruff" -version = "0.6.6" +version = "0.6.7" 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 b7ce6cab1d4db..28fd15f0bef05 100644 --- a/scripts/benchmarks/pyproject.toml +++ b/scripts/benchmarks/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "scripts" -version = "0.6.6" +version = "0.6.7" description = "" authors = ["Charles Marsh "]