diff --git a/BREAKING_CHANGES.md b/BREAKING_CHANGES.md index 8c68d5ccc294a3..c10e07250f9236 100644 --- a/BREAKING_CHANGES.md +++ b/BREAKING_CHANGES.md @@ -1,6 +1,6 @@ # Breaking Changes -## 0.0.283 +## 0.0.283 / 0.284 ### The target Python version now defaults to 3.8 instead of 3.10 ([#6397](https://github.com/astral-sh/ruff/pull/6397)) @@ -8,6 +8,8 @@ Previously, when a target Python version was not specified, Ruff would use a def (We still support Python 3.7 but since [it has reached EOL](https://devguide.python.org/versions/#unsupported-versions) we've decided not to make it the default here.) +Note this change was announced in 0.0.283 but not active until 0.0.284. + ## 0.0.277 ### `.ipynb_checkpoints`, `.pyenv`, `.pytest_cache`, and `.vscode` are now excluded by default ([#5513](https://github.com/astral-sh/ruff/pull/5513)) diff --git a/Cargo.lock b/Cargo.lock index 8707b07130d4cb..d83d108da5eeef 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -800,7 +800,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flake8-to-ruff" -version = "0.0.283" +version = "0.0.284" dependencies = [ "anyhow", "clap", @@ -2042,7 +2042,7 @@ dependencies = [ [[package]] name = "ruff" -version = "0.0.283" +version = "0.0.284" dependencies = [ "annotate-snippets 0.9.1", "anyhow", @@ -2141,7 +2141,7 @@ dependencies = [ [[package]] name = "ruff_cli" -version = "0.0.283" +version = "0.0.284" dependencies = [ "annotate-snippets 0.9.1", "anyhow", diff --git a/README.md b/README.md index a835da57db7f93..b7439a603ead93 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com) hook: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.283 + rev: v0.0.284 hooks: - id: ruff ``` diff --git a/crates/flake8_to_ruff/Cargo.toml b/crates/flake8_to_ruff/Cargo.toml index bb384cdedb2343..d14ebcc3088200 100644 --- a/crates/flake8_to_ruff/Cargo.toml +++ b/crates/flake8_to_ruff/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flake8-to-ruff" -version = "0.0.283" +version = "0.0.284" description = """ Convert Flake8 configuration files to Ruff configuration files. """ diff --git a/crates/ruff/Cargo.toml b/crates/ruff/Cargo.toml index 9b2f2f7b8781df..89bd53ab002281 100644 --- a/crates/ruff/Cargo.toml +++ b/crates/ruff/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff" -version = "0.0.283" +version = "0.0.284" publish = false authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_cli/Cargo.toml b/crates/ruff_cli/Cargo.toml index 2db880719948e9..ae0afe8e097035 100644 --- a/crates/ruff_cli/Cargo.toml +++ b/crates/ruff_cli/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_cli" -version = "0.0.283" +version = "0.0.284" publish = false authors = { workspace = true } edition = { workspace = true } diff --git a/docs/tutorial.md b/docs/tutorial.md index 39a93315362c4a..15abe9b3394c45 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -242,7 +242,7 @@ This tutorial has focused on Ruff's command-line interface, but Ruff can also be ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.283 + rev: v0.0.284 hooks: - id: ruff ``` diff --git a/docs/usage.md b/docs/usage.md index 7e695f9927b76a..5fffdab953fa03 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -22,7 +22,7 @@ Ruff can also be used as a [pre-commit](https://pre-commit.com) hook: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.283 + rev: v0.0.284 hooks: - id: ruff ``` @@ -32,7 +32,7 @@ Or, to enable autofix: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.283 + rev: v0.0.284 hooks: - id: ruff args: [ --fix, --exit-non-zero-on-fix ] @@ -43,7 +43,7 @@ Or, to run the hook on Jupyter Notebooks too: ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.0.283 + rev: v0.0.284 hooks: - id: ruff types_or: [python, pyi, jupyter] diff --git a/pyproject.toml b/pyproject.toml index 497004e757a849..366670751d15c9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "maturin" [project] name = "ruff" -version = "0.0.283" +version = "0.0.284" description = "An extremely fast Python linter, written in Rust." authors = [{ name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" }] maintainers = [{ name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" }]