From fefc7e81999fb504f4024f9f108c8c9e02e743b7 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Tue, 2 Jan 2024 18:46:06 -0400 Subject: [PATCH] Bump version to 0.1.11 (#9370) --- CHANGELOG.md | 15 +++++++++++++++ Cargo.lock | 6 +++--- README.md | 2 +- crates/ruff_cli/Cargo.toml | 2 +- crates/ruff_linter/Cargo.toml | 2 +- crates/ruff_shrinking/Cargo.toml | 2 +- docs/integrations.md | 6 +++--- pyproject.toml | 2 +- scripts/benchmarks/pyproject.toml | 2 +- 9 files changed, 27 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index baf2fc4e511b9..855ca109a5534 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 0.1.11 + +### Preview features + +- \[`pylint`\] Implement `super-without-brackets` (`W0245`) ([#9257](https://github.com/astral-sh/ruff/pull/9257)) + +### Bug fixes + +- Check path string properly in `python -m ruff` invocations ([#9367](https://github.com/astral-sh/ruff/pull/9367)) + +### Documentation + +- Tweak `relative-imports` message ([#9365](https://github.com/astral-sh/ruff/pull/9365)) +- Add fix safety note for `yield-in-for-loop` ([#9364](https://github.com/astral-sh/ruff/pull/9364)) + ## 0.1.10 ### Preview features diff --git a/Cargo.lock b/Cargo.lock index c4e87d82ad695..9e31c4bdf3f88 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2049,7 +2049,7 @@ dependencies = [ [[package]] name = "ruff_cli" -version = "0.1.10" +version = "0.1.11" dependencies = [ "anyhow", "argfile", @@ -2176,7 +2176,7 @@ dependencies = [ [[package]] name = "ruff_linter" -version = "0.1.10" +version = "0.1.11" dependencies = [ "aho-corasick", "annotate-snippets 0.9.2", @@ -2427,7 +2427,7 @@ dependencies = [ [[package]] name = "ruff_shrinking" -version = "0.1.10" +version = "0.1.11" dependencies = [ "anyhow", "clap", diff --git a/README.md b/README.md index ecde50a9ea557..65e2bf2da7f99 100644 --- a/README.md +++ b/README.md @@ -150,7 +150,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.1.10 + rev: v0.1.11 hooks: # Run the linter. - id: ruff diff --git a/crates/ruff_cli/Cargo.toml b/crates/ruff_cli/Cargo.toml index ffe33c33b5712..6239d783777b8 100644 --- a/crates/ruff_cli/Cargo.toml +++ b/crates/ruff_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_cli" -version = "0.1.10" +version = "0.1.11" publish = false authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_linter/Cargo.toml b/crates/ruff_linter/Cargo.toml index d72a969dbf0b7..6bc6f9f2f4b2b 100644 --- a/crates/ruff_linter/Cargo.toml +++ b/crates/ruff_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_linter" -version = "0.1.10" +version = "0.1.11" publish = false authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_shrinking/Cargo.toml b/crates/ruff_shrinking/Cargo.toml index 6b458c1ff3611..11fc479599194 100644 --- a/crates/ruff_shrinking/Cargo.toml +++ b/crates/ruff_shrinking/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_shrinking" -version = "0.1.10" +version = "0.1.11" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/docs/integrations.md b/docs/integrations.md index 11c117da382a4..c57f9d3250df7 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -14,7 +14,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.1.10 + rev: v0.1.11 hooks: # Run the linter. - id: ruff @@ -27,7 +27,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.1.10 + rev: v0.1.11 hooks: # Run the linter. - id: ruff @@ -41,7 +41,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.1.10 + rev: v0.1.11 hooks: # Run the linter. - id: ruff diff --git a/pyproject.toml b/pyproject.toml index ede1a723773b6..35bc607452619 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "ruff" -version = "0.1.10" +version = "0.1.11" 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 b82659e1f4fd0..38d189688eb30 100644 --- a/scripts/benchmarks/pyproject.toml +++ b/scripts/benchmarks/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "scripts" -version = "0.1.10" +version = "0.1.11" description = "" authors = ["Charles Marsh "]