diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d5188dae3c..55adbb87b6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: v0.0.210 + rev: v0.0.211 hooks: - id: ruff diff --git a/Cargo.lock b/Cargo.lock index b881a6cfe5..e1f6593cbc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -744,7 +744,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flake8-to-ruff" -version = "0.0.210-dev.0" +version = "0.0.211-dev.0" dependencies = [ "anyhow", "clap 4.0.32", @@ -1873,7 +1873,7 @@ dependencies = [ [[package]] name = "ruff" -version = "0.0.210" +version = "0.0.211" dependencies = [ "annotate-snippets 0.9.1", "anyhow", @@ -1941,7 +1941,7 @@ dependencies = [ [[package]] name = "ruff_dev" -version = "0.0.210" +version = "0.0.211" dependencies = [ "anyhow", "clap 4.0.32", @@ -1962,7 +1962,7 @@ dependencies = [ [[package]] name = "ruff_macros" -version = "0.0.210" +version = "0.0.211" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 52051abebf..1b69230741 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,7 +6,7 @@ members = [ [package] name = "ruff" -version = "0.0.210" +version = "0.0.211" authors = ["Charlie Marsh "] edition = "2021" rust-version = "1.65.0" @@ -51,7 +51,7 @@ path-absolutize = { version = "3.0.14", features = ["once_cell_cache", "use_unix quick-junit = { version = "0.3.2" } regex = { version = "1.6.0" } ropey = { version = "1.5.0", features = ["cr_lines", "simd"], default-features = false } -ruff_macros = { version = "0.0.210", path = "ruff_macros" } +ruff_macros = { version = "0.0.211", path = "ruff_macros" } rustc-hash = { version = "1.1.0" } rustpython-ast = { features = ["unparse"], git = "https://github.com/RustPython/RustPython.git", rev = "4d53c7cb27c0379adf8b51c4d3d0d2174f41d590" } rustpython-common = { git = "https://github.com/RustPython/RustPython.git", rev = "4d53c7cb27c0379adf8b51c4d3d0d2174f41d590" } diff --git a/README.md b/README.md index ff2957a3dc..d08d2e64f4 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ Ruff also works with [pre-commit](https://pre-commit.com): ```yaml - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.210' + rev: 'v0.0.211' hooks: - id: ruff # Respect `exclude` and `extend-exclude` settings. diff --git a/flake8_to_ruff/Cargo.lock b/flake8_to_ruff/Cargo.lock index d1049d4e3a..2e22706892 100644 --- a/flake8_to_ruff/Cargo.lock +++ b/flake8_to_ruff/Cargo.lock @@ -771,7 +771,7 @@ checksum = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" [[package]] name = "flake8_to_ruff" -version = "0.0.210" +version = "0.0.211" dependencies = [ "anyhow", "clap", @@ -1975,7 +1975,7 @@ dependencies = [ [[package]] name = "ruff" -version = "0.0.210" +version = "0.0.211" dependencies = [ "anyhow", "bincode", diff --git a/flake8_to_ruff/Cargo.toml b/flake8_to_ruff/Cargo.toml index 9455cda0bf..9a53991e4b 100644 --- a/flake8_to_ruff/Cargo.toml +++ b/flake8_to_ruff/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "flake8-to-ruff" -version = "0.0.210-dev.0" +version = "0.0.211-dev.0" edition = "2021" [lib] diff --git a/pyproject.toml b/pyproject.toml index 2aebb99e76..ebbe986669 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "ruff" -version = "0.0.210" +version = "0.0.211" description = "An extremely fast Python linter, written in Rust." authors = [ { name = "Charlie Marsh", email = "charlie.r.marsh@gmail.com" }, diff --git a/ruff.schema.json b/ruff.schema.json index 2ae6d03b94..2b97da8dc7 100644 --- a/ruff.schema.json +++ b/ruff.schema.json @@ -934,6 +934,8 @@ "SIM105", "SIM107", "SIM11", + "SIM110", + "SIM111", "SIM117", "SIM118", "SIM2", diff --git a/ruff_dev/Cargo.toml b/ruff_dev/Cargo.toml index 3e503f69e3..348fea6434 100644 --- a/ruff_dev/Cargo.toml +++ b/ruff_dev/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_dev" -version = "0.0.210" +version = "0.0.211" edition = "2021" [dependencies] diff --git a/ruff_macros/Cargo.toml b/ruff_macros/Cargo.toml index f265144211..82018b8ee5 100644 --- a/ruff_macros/Cargo.toml +++ b/ruff_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_macros" -version = "0.0.210" +version = "0.0.211" edition = "2021" [lib]