diff --git a/CHANGELOG.md b/CHANGELOG.md index d8eff74ef4..e92d24f1b8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,49 @@ # Changelog +## 0.15.22 + +Released on 2026-07-16. + +### Preview features + +- \[`pycodestyle`\] Add an autofix for `E402` ([#22212](https://github.com/astral-sh/ruff/pull/22212)) +- \[`refurb`\] Allow subclassing builtins in stub files (`FURB189`) ([#26812](https://github.com/astral-sh/ruff/pull/26812)) +- \[`ruff`\] Add rule to replace `noqa` comments with `ruff:ignore` (`RUF105`) ([#26423](https://github.com/astral-sh/ruff/pull/26423)) +- \[`ruff`\] Add rule to use human-readable names in `ruff:ignore` comments (`RUF106`) ([#26682](https://github.com/astral-sh/ruff/pull/26682)) +- \[`ruff`\] Add rule to use human-readable names in configuration selectors (`RUF201`) ([#26772](https://github.com/astral-sh/ruff/pull/26772)) + +### Bug fixes + +- \[`flake8-pyi`\] Fix false positive in `__all__` (`PYI053`) ([#26872](https://github.com/astral-sh/ruff/pull/26872)) + +### Rule changes + +- \[`pylint`\] Ignore mutable type updates in `redefined-loop-name` (`PLW2901`) ([#25733](https://github.com/astral-sh/ruff/pull/25733)) + +### Performance + +- Avoid redundant lexer token bookkeeping ([#26765](https://github.com/astral-sh/ruff/pull/26765)) +- Avoid redundant pending-indentation writes ([#26774](https://github.com/astral-sh/ruff/pull/26774)) +- Avoid unnecessary identifier lookahead ([#26525](https://github.com/astral-sh/ruff/pull/26525)) +- Reuse parser scratch buffers ([#26798](https://github.com/astral-sh/ruff/pull/26798)) + +### Documentation + +- Document argfile support ([#26803](https://github.com/astral-sh/ruff/pull/26803)) +- \[`flake8-datetimez`\] Clarify naming guidance for `datetime.today` (`DTZ002`) ([#26658](https://github.com/astral-sh/ruff/pull/26658)) +- \[`pycodestyle`\] Document `E731` fix safety ([#26847](https://github.com/astral-sh/ruff/pull/26847)) +- \[`ruff`\] Clarify intentional async contexts for `unused-async` (`RUF029`) ([#26641](https://github.com/astral-sh/ruff/pull/26641)) + +### Contributors + +- [@dwego](https://github.com/dwego) +- [@MichaReiser](https://github.com/MichaReiser) +- [@Joosboy](https://github.com/Joosboy) +- [@KaufmanDmitriy](https://github.com/KaufmanDmitriy) +- [@PeterJCLaw](https://github.com/PeterJCLaw) +- [@ntBre](https://github.com/ntBre) +- [@charliermarsh](https://github.com/charliermarsh) + ## 0.15.21 Released on 2026-07-09. diff --git a/Cargo.lock b/Cargo.lock index 52e8a3ac14..61d491c2e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3067,7 +3067,7 @@ dependencies = [ [[package]] name = "ruff" -version = "0.15.21" +version = "0.15.22" dependencies = [ "anyhow", "argfile", @@ -3131,7 +3131,7 @@ dependencies = [ [[package]] name = "ruff_annotate_snippets" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anstream 1.0.0", "anstyle", @@ -3172,7 +3172,7 @@ dependencies = [ [[package]] name = "ruff_cache" -version = "0.0.4" +version = "0.0.5" dependencies = [ "filetime", "glob", @@ -3185,7 +3185,7 @@ dependencies = [ [[package]] name = "ruff_db" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anstyle", "arc-swap", @@ -3276,7 +3276,7 @@ dependencies = [ [[package]] name = "ruff_diagnostics" -version = "0.0.4" +version = "0.0.5" dependencies = [ "get-size2", "is-macro", @@ -3286,7 +3286,7 @@ dependencies = [ [[package]] name = "ruff_formatter" -version = "0.0.4" +version = "0.0.5" dependencies = [ "drop_bomb", "ruff_cache", @@ -3302,7 +3302,7 @@ dependencies = [ [[package]] name = "ruff_graph" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anyhow", "clap", @@ -3323,7 +3323,7 @@ dependencies = [ [[package]] name = "ruff_index" -version = "0.0.4" +version = "0.0.5" dependencies = [ "get-size2", "ruff_macros", @@ -3333,7 +3333,7 @@ dependencies = [ [[package]] name = "ruff_linter" -version = "0.15.21" +version = "0.15.22" dependencies = [ "aho-corasick", "anyhow", @@ -3396,7 +3396,7 @@ dependencies = [ [[package]] name = "ruff_macros" -version = "0.0.4" +version = "0.0.5" dependencies = [ "heck", "itertools 0.15.0", @@ -3409,7 +3409,7 @@ dependencies = [ [[package]] name = "ruff_markdown" -version = "0.0.4" +version = "0.0.5" dependencies = [ "insta", "regex", @@ -3440,14 +3440,14 @@ dependencies = [ [[package]] name = "ruff_memory_usage" -version = "0.0.4" +version = "0.0.5" dependencies = [ "get-size2", ] [[package]] name = "ruff_notebook" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anyhow", "rand 0.10.2", @@ -3463,14 +3463,14 @@ dependencies = [ [[package]] name = "ruff_options_metadata" -version = "0.0.4" +version = "0.0.5" dependencies = [ "serde", ] [[package]] name = "ruff_python_ast" -version = "0.0.4" +version = "0.0.5" dependencies = [ "aho-corasick", "arrayvec", @@ -3506,7 +3506,7 @@ dependencies = [ [[package]] name = "ruff_python_codegen" -version = "0.0.4" +version = "0.0.5" dependencies = [ "ruff_python_ast", "ruff_python_literal", @@ -3518,7 +3518,7 @@ dependencies = [ [[package]] name = "ruff_python_formatter" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anyhow", "clap", @@ -3551,7 +3551,7 @@ dependencies = [ [[package]] name = "ruff_python_importer" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anyhow", "insta", @@ -3566,7 +3566,7 @@ dependencies = [ [[package]] name = "ruff_python_index" -version = "0.0.4" +version = "0.0.5" dependencies = [ "ruff_python_ast", "ruff_python_parser", @@ -3577,7 +3577,7 @@ dependencies = [ [[package]] name = "ruff_python_literal" -version = "0.0.4" +version = "0.0.5" dependencies = [ "bitflags 2.13.0", "icu_properties", @@ -3587,7 +3587,7 @@ dependencies = [ [[package]] name = "ruff_python_parser" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anyhow", "bitflags 2.13.0", @@ -3617,7 +3617,7 @@ dependencies = [ [[package]] name = "ruff_python_semantic" -version = "0.0.4" +version = "0.0.5" dependencies = [ "bitflags 2.13.0", "insta", @@ -3638,7 +3638,7 @@ dependencies = [ [[package]] name = "ruff_python_stdlib" -version = "0.0.4" +version = "0.0.5" dependencies = [ "bitflags 2.13.0", "unicode-ident", @@ -3646,7 +3646,7 @@ dependencies = [ [[package]] name = "ruff_python_trivia" -version = "0.0.4" +version = "0.0.5" dependencies = [ "itertools 0.15.0", "ruff_source_file", @@ -3667,7 +3667,7 @@ dependencies = [ [[package]] name = "ruff_ranged_value" -version = "0.0.4" +version = "0.0.5" dependencies = [ "get-size2", "ruff_db", @@ -3679,7 +3679,7 @@ dependencies = [ [[package]] name = "ruff_server" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anyhow", "crossbeam", @@ -3722,7 +3722,7 @@ dependencies = [ [[package]] name = "ruff_source_file" -version = "0.0.4" +version = "0.0.5" dependencies = [ "get-size2", "memchr", @@ -3732,7 +3732,7 @@ dependencies = [ [[package]] name = "ruff_text_size" -version = "0.0.4" +version = "0.0.5" dependencies = [ "get-size2", "schemars", @@ -3743,7 +3743,7 @@ dependencies = [ [[package]] name = "ruff_wasm" -version = "0.15.21" +version = "0.15.22" dependencies = [ "console_error_panic_hook", "console_log", @@ -3770,7 +3770,7 @@ dependencies = [ [[package]] name = "ruff_workspace" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anyhow", "colored", @@ -4655,7 +4655,7 @@ dependencies = [ [[package]] name = "ty_combine" -version = "0.0.4" +version = "0.0.5" dependencies = [ "ordermap", "ruff_db", @@ -4738,7 +4738,7 @@ dependencies = [ [[package]] name = "ty_module_resolver" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anyhow", "camino", @@ -4810,7 +4810,7 @@ dependencies = [ [[package]] name = "ty_python_core" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anyhow", "bitflags 2.13.0", @@ -4843,7 +4843,7 @@ dependencies = [ [[package]] name = "ty_python_semantic" -version = "0.0.4" +version = "0.0.5" dependencies = [ "anyhow", "bitflags 2.13.0", @@ -4935,7 +4935,7 @@ dependencies = [ [[package]] name = "ty_site_packages" -version = "0.0.4" +version = "0.0.5" dependencies = [ "camino", "colored", @@ -4956,7 +4956,7 @@ dependencies = [ [[package]] name = "ty_static" -version = "0.0.4" +version = "0.0.5" dependencies = [ "ruff_macros", ] @@ -4987,7 +4987,7 @@ dependencies = [ [[package]] name = "ty_vendored" -version = "0.0.4" +version = "0.0.5" dependencies = [ "path-slash", "ruff_db", diff --git a/Cargo.toml b/Cargo.toml index 17d0e852ee..e76e79ad67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,51 +13,51 @@ authors = ["Charlie Marsh "] license = "MIT" [workspace.dependencies] -ruff = { version = "0.15.21", path = "crates/ruff" } -ruff_annotate_snippets = { version = "0.0.4", path = "crates/ruff_annotate_snippets" } -ruff_cache = { version = "0.0.4", path = "crates/ruff_cache" } -ruff_db = { version = "0.0.4", path = "crates/ruff_db", default-features = false } -ruff_diagnostics = { version = "0.0.4", path = "crates/ruff_diagnostics" } -ruff_formatter = { version = "0.0.4", path = "crates/ruff_formatter" } -ruff_graph = { version = "0.0.4", path = "crates/ruff_graph" } -ruff_index = { version = "0.0.4", path = "crates/ruff_index" } -ruff_linter = { version = "0.15.21", path = "crates/ruff_linter" } -ruff_macros = { version = "0.0.4", path = "crates/ruff_macros" } -ruff_markdown = { version = "0.0.4", path = "crates/ruff_markdown" } -ruff_memory_usage = { version = "0.0.4", path = "crates/ruff_memory_usage" } -ruff_notebook = { version = "0.0.4", path = "crates/ruff_notebook" } -ruff_options_metadata = { version = "0.0.4", path = "crates/ruff_options_metadata" } -ruff_python_ast = { version = "0.0.4", path = "crates/ruff_python_ast" } -ruff_python_codegen = { version = "0.0.4", path = "crates/ruff_python_codegen" } -ruff_python_formatter = { version = "0.0.4", path = "crates/ruff_python_formatter" } -ruff_python_importer = { version = "0.0.4", path = "crates/ruff_python_importer" } -ruff_python_index = { version = "0.0.4", path = "crates/ruff_python_index" } -ruff_python_literal = { version = "0.0.4", path = "crates/ruff_python_literal" } -ruff_python_parser = { version = "0.0.4", path = "crates/ruff_python_parser" } -ruff_python_semantic = { version = "0.0.4", path = "crates/ruff_python_semantic" } -ruff_python_stdlib = { version = "0.0.4", path = "crates/ruff_python_stdlib" } -ruff_python_trivia = { version = "0.0.4", path = "crates/ruff_python_trivia" } -ruff_server = { version = "0.0.4", path = "crates/ruff_server" } -ruff_source_file = { version = "0.0.4", path = "crates/ruff_source_file" } +ruff = { version = "0.15.22", path = "crates/ruff" } +ruff_annotate_snippets = { version = "0.0.5", path = "crates/ruff_annotate_snippets" } +ruff_cache = { version = "0.0.5", path = "crates/ruff_cache" } +ruff_db = { version = "0.0.5", path = "crates/ruff_db", default-features = false } +ruff_diagnostics = { version = "0.0.5", path = "crates/ruff_diagnostics" } +ruff_formatter = { version = "0.0.5", path = "crates/ruff_formatter" } +ruff_graph = { version = "0.0.5", path = "crates/ruff_graph" } +ruff_index = { version = "0.0.5", path = "crates/ruff_index" } +ruff_linter = { version = "0.15.22", path = "crates/ruff_linter" } +ruff_macros = { version = "0.0.5", path = "crates/ruff_macros" } +ruff_markdown = { version = "0.0.5", path = "crates/ruff_markdown" } +ruff_memory_usage = { version = "0.0.5", path = "crates/ruff_memory_usage" } +ruff_notebook = { version = "0.0.5", path = "crates/ruff_notebook" } +ruff_options_metadata = { version = "0.0.5", path = "crates/ruff_options_metadata" } +ruff_python_ast = { version = "0.0.5", path = "crates/ruff_python_ast" } +ruff_python_codegen = { version = "0.0.5", path = "crates/ruff_python_codegen" } +ruff_python_formatter = { version = "0.0.5", path = "crates/ruff_python_formatter" } +ruff_python_importer = { version = "0.0.5", path = "crates/ruff_python_importer" } +ruff_python_index = { version = "0.0.5", path = "crates/ruff_python_index" } +ruff_python_literal = { version = "0.0.5", path = "crates/ruff_python_literal" } +ruff_python_parser = { version = "0.0.5", path = "crates/ruff_python_parser" } +ruff_python_semantic = { version = "0.0.5", path = "crates/ruff_python_semantic" } +ruff_python_stdlib = { version = "0.0.5", path = "crates/ruff_python_stdlib" } +ruff_python_trivia = { version = "0.0.5", path = "crates/ruff_python_trivia" } +ruff_server = { version = "0.0.5", path = "crates/ruff_server" } +ruff_source_file = { version = "0.0.5", path = "crates/ruff_source_file" } ruff_mdtest = { path = "crates/ruff_mdtest" } -ruff_ranged_value = { version = "0.0.4", path = "crates/ruff_ranged_value" } -ruff_text_size = { version = "0.0.4", path = "crates/ruff_text_size" } -ruff_workspace = { version = "0.0.4", path = "crates/ruff_workspace" } +ruff_ranged_value = { version = "0.0.5", path = "crates/ruff_ranged_value" } +ruff_text_size = { version = "0.0.5", path = "crates/ruff_text_size" } +ruff_workspace = { version = "0.0.5", path = "crates/ruff_workspace" } ty = { path = "crates/ty" } -ty_combine = { version = "0.0.4", path = "crates/ty_combine" } +ty_combine = { version = "0.0.5", path = "crates/ty_combine" } ty_completion_bench = { path = "crates/ty_completion_bench" } ty_completion_eval = { path = "crates/ty_completion_eval" } ty_ide = { path = "crates/ty_ide" } -ty_module_resolver = { version = "0.0.4", path = "crates/ty_module_resolver" } +ty_module_resolver = { version = "0.0.5", path = "crates/ty_module_resolver" } ty_project = { path = "crates/ty_project", default-features = false } -ty_python_semantic = { version = "0.0.4", path = "crates/ty_python_semantic" } -ty_python_core = { version = "0.0.4", path = "crates/ty_python_core" } +ty_python_semantic = { version = "0.0.5", path = "crates/ty_python_semantic" } +ty_python_core = { version = "0.0.5", path = "crates/ty_python_core" } ty_server = { path = "crates/ty_server" } -ty_site_packages = { version = "0.0.4", path = "crates/ty_site_packages" } -ty_static = { version = "0.0.4", path = "crates/ty_static" } +ty_site_packages = { version = "0.0.5", path = "crates/ty_site_packages" } +ty_static = { version = "0.0.5", path = "crates/ty_static" } ty_test = { path = "crates/ty_test" } -ty_vendored = { version = "0.0.4", path = "crates/ty_vendored" } +ty_vendored = { version = "0.0.5", path = "crates/ty_vendored" } mdtest = { path = "crates/mdtest" } diff --git a/README.md b/README.md index 1302a04aea..e77738e943 100644 --- a/README.md +++ b/README.md @@ -152,8 +152,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.15.21/install.sh | sh -powershell -c "irm https://astral.sh/ruff/0.15.21/install.ps1 | iex" +curl -LsSf https://astral.sh/ruff/0.15.22/install.sh | sh +powershell -c "irm https://astral.sh/ruff/0.15.22/install.ps1 | iex" ``` You can also install Ruff via [Homebrew](https://formulae.brew.sh/formula/ruff), [Conda](https://anaconda.org/conda-forge/ruff), @@ -186,7 +186,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.15.21 + rev: v0.15.22 hooks: # Run the linter. - id: ruff-check diff --git a/crates/ruff/Cargo.toml b/crates/ruff/Cargo.toml index 9a7ed66590..0a1533cda3 100644 --- a/crates/ruff/Cargo.toml +++ b/crates/ruff/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff" -version = "0.15.21" +version = "0.15.22" description = "An extremely fast Python linter and code formatter" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff/README.md b/crates/ruff/README.md index e6e92a36f7..f9aa90fe1b 100644 --- a/crates/ruff/README.md +++ b/crates/ruff/README.md @@ -10,7 +10,7 @@ See the [documentation](https://docs.astral.sh/ruff/) or This crate is the entry point to the Ruff command-line interface. The Rust API exposed here is not considered public interface. -This is version 0.15.21. The source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff). +This is version 0.15.22. The source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff). The following Ruff workspace members are also available: diff --git a/crates/ruff_annotate_snippets/Cargo.toml b/crates/ruff_annotate_snippets/Cargo.toml index d039a84724..d40beddeec 100644 --- a/crates/ruff_annotate_snippets/Cargo.toml +++ b/crates/ruff_annotate_snippets/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_annotate_snippets" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_cache/Cargo.toml b/crates/ruff_cache/Cargo.toml index cad5e6a3c9..697f7e65b6 100644 --- a/crates/ruff_cache/Cargo.toml +++ b/crates/ruff_cache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_cache" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_cache/README.md b/crates/ruff_cache/README.md index db062d35fe..2a8e9a65a2 100644 --- a/crates/ruff_cache/README.md +++ b/crates/ruff_cache/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_cache). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_cache). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_db/Cargo.toml b/crates/ruff_db/Cargo.toml index 35cc319e1c..757321d855 100644 --- a/crates/ruff_db/Cargo.toml +++ b/crates/ruff_db/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_db" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_db/README.md b/crates/ruff_db/README.md index d22b4fe108..d755d0a8bd 100644 --- a/crates/ruff_db/README.md +++ b/crates/ruff_db/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_db). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_db). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_diagnostics/Cargo.toml b/crates/ruff_diagnostics/Cargo.toml index e887f1a94d..233189ed8e 100644 --- a/crates/ruff_diagnostics/Cargo.toml +++ b/crates/ruff_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_diagnostics" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_diagnostics/README.md b/crates/ruff_diagnostics/README.md index 481a3ecff2..c606f2fa91 100644 --- a/crates/ruff_diagnostics/README.md +++ b/crates/ruff_diagnostics/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_diagnostics). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_diagnostics). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_formatter/Cargo.toml b/crates/ruff_formatter/Cargo.toml index 0292a467ba..fd5568e375 100644 --- a/crates/ruff_formatter/Cargo.toml +++ b/crates/ruff_formatter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_formatter" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_formatter/README.md b/crates/ruff_formatter/README.md index 4ba4ae9fb3..4701c296b6 100644 --- a/crates/ruff_formatter/README.md +++ b/crates/ruff_formatter/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_formatter). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_formatter). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_graph/Cargo.toml b/crates/ruff_graph/Cargo.toml index 7ad3961578..c239f328e8 100644 --- a/crates/ruff_graph/Cargo.toml +++ b/crates/ruff_graph/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_graph" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" edition.workspace = true rust-version.workspace = true diff --git a/crates/ruff_graph/README.md b/crates/ruff_graph/README.md index a529146b33..6100ed4cc0 100644 --- a/crates/ruff_graph/README.md +++ b/crates/ruff_graph/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_graph). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_graph). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_index/Cargo.toml b/crates/ruff_index/Cargo.toml index 639ba89c2d..b9817e75b5 100644 --- a/crates/ruff_index/Cargo.toml +++ b/crates/ruff_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_index" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_index/README.md b/crates/ruff_index/README.md index ca40eb9e69..d99bf84ffb 100644 --- a/crates/ruff_index/README.md +++ b/crates/ruff_index/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_index). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_index). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_linter/Cargo.toml b/crates/ruff_linter/Cargo.toml index ff47dc150d..77c7b8a4cb 100644 --- a/crates/ruff_linter/Cargo.toml +++ b/crates/ruff_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_linter" -version = "0.15.21" +version = "0.15.22" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_linter/README.md b/crates/ruff_linter/README.md index f71ed24dda..ba776d0d57 100644 --- a/crates/ruff_linter/README.md +++ b/crates/ruff_linter/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.15.21) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_linter). +This version (0.15.22) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_linter). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_linter/src/rules/ruff/rules/noqa_comments.rs b/crates/ruff_linter/src/rules/ruff/rules/noqa_comments.rs index c255d5ea53..d01abd0e6d 100644 --- a/crates/ruff_linter/src/rules/ruff/rules/noqa_comments.rs +++ b/crates/ruff_linter/src/rules/ruff/rules/noqa_comments.rs @@ -58,7 +58,7 @@ use crate::{ /// `unused-noqa` for a rule that will remove these and allow the remaining codes to be moved into a /// `ruff:ignore` comment. #[derive(ViolationMetadata)] -#[violation_metadata(preview_since = "NEXT_RUFF_VERSION")] +#[violation_metadata(preview_since = "0.15.22")] pub(crate) struct NoqaComments { file_level: bool, } diff --git a/crates/ruff_linter/src/rules/ruff/rules/rule_codes_in_selectors.rs b/crates/ruff_linter/src/rules/ruff/rules/rule_codes_in_selectors.rs index 9b99508579..9179f982c8 100644 --- a/crates/ruff_linter/src/rules/ruff/rules/rule_codes_in_selectors.rs +++ b/crates/ruff_linter/src/rules/ruff/rules/rule_codes_in_selectors.rs @@ -35,7 +35,7 @@ use crate::{ /// select = ["unused-import"] /// ``` #[derive(ViolationMetadata)] -#[violation_metadata(preview_since = "NEXT_RUFF_VERSION")] +#[violation_metadata(preview_since = "0.15.22")] pub(crate) struct RuleCodesInSelectors { selector: &'static str, name: &'static str, diff --git a/crates/ruff_linter/src/rules/ruff/rules/rule_codes_in_suppression_comments.rs b/crates/ruff_linter/src/rules/ruff/rules/rule_codes_in_suppression_comments.rs index 0ee0ff0742..53d42e3cc5 100644 --- a/crates/ruff_linter/src/rules/ruff/rules/rule_codes_in_suppression_comments.rs +++ b/crates/ruff_linter/src/rules/ruff/rules/rule_codes_in_suppression_comments.rs @@ -25,7 +25,7 @@ use crate::AlwaysFixableViolation; /// import os # ruff:ignore[unused-import] /// ``` #[derive(ViolationMetadata)] -#[violation_metadata(preview_since = "NEXT_RUFF_VERSION")] +#[violation_metadata(preview_since = "0.15.22")] pub(crate) struct RuleCodesInSuppressionComments; impl AlwaysFixableViolation for RuleCodesInSuppressionComments { diff --git a/crates/ruff_macros/Cargo.toml b/crates/ruff_macros/Cargo.toml index 3a609b4a26..3b0320b491 100644 --- a/crates/ruff_macros/Cargo.toml +++ b/crates/ruff_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_macros" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_macros/README.md b/crates/ruff_macros/README.md index af4e570a9e..127dbd027c 100644 --- a/crates/ruff_macros/README.md +++ b/crates/ruff_macros/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_macros). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_macros). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_markdown/Cargo.toml b/crates/ruff_markdown/Cargo.toml index f6587b2368..e7106dcf34 100644 --- a/crates/ruff_markdown/Cargo.toml +++ b/crates/ruff_markdown/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_markdown" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" edition = { workspace = true } rust-version = { workspace = true } diff --git a/crates/ruff_markdown/README.md b/crates/ruff_markdown/README.md index 343703f403..f6007c1178 100644 --- a/crates/ruff_markdown/README.md +++ b/crates/ruff_markdown/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_markdown). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_markdown). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_memory_usage/Cargo.toml b/crates/ruff_memory_usage/Cargo.toml index 442cdaeb73..5758dc8979 100644 --- a/crates/ruff_memory_usage/Cargo.toml +++ b/crates/ruff_memory_usage/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_memory_usage" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_memory_usage/README.md b/crates/ruff_memory_usage/README.md index f3e37905d6..75700ae5d3 100644 --- a/crates/ruff_memory_usage/README.md +++ b/crates/ruff_memory_usage/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_memory_usage). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_memory_usage). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_notebook/Cargo.toml b/crates/ruff_notebook/Cargo.toml index 8802dd74cd..c5216cb7e2 100644 --- a/crates/ruff_notebook/Cargo.toml +++ b/crates/ruff_notebook/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_notebook" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_notebook/README.md b/crates/ruff_notebook/README.md index 6d4cd2d05c..1f01efbdc5 100644 --- a/crates/ruff_notebook/README.md +++ b/crates/ruff_notebook/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_notebook). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_notebook). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_options_metadata/Cargo.toml b/crates/ruff_options_metadata/Cargo.toml index d35695f9ac..4e6b438efe 100644 --- a/crates/ruff_options_metadata/Cargo.toml +++ b/crates/ruff_options_metadata/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_options_metadata" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_options_metadata/README.md b/crates/ruff_options_metadata/README.md index f5b989fd51..4a425586f4 100644 --- a/crates/ruff_options_metadata/README.md +++ b/crates/ruff_options_metadata/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_options_metadata). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_options_metadata). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_python_ast/Cargo.toml b/crates/ruff_python_ast/Cargo.toml index 338af11d14..48a4d38e05 100644 --- a/crates/ruff_python_ast/Cargo.toml +++ b/crates/ruff_python_ast/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_python_ast" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_python_ast/README.md b/crates/ruff_python_ast/README.md index 738181eb10..246cbdc200 100644 --- a/crates/ruff_python_ast/README.md +++ b/crates/ruff_python_ast/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_python_ast). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_python_ast). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_python_codegen/Cargo.toml b/crates/ruff_python_codegen/Cargo.toml index 739a1ed45b..14d83eaf54 100644 --- a/crates/ruff_python_codegen/Cargo.toml +++ b/crates/ruff_python_codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_python_codegen" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_python_codegen/README.md b/crates/ruff_python_codegen/README.md index 4be1cdc562..c998c19eaf 100644 --- a/crates/ruff_python_codegen/README.md +++ b/crates/ruff_python_codegen/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_python_codegen). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_python_codegen). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_python_formatter/Cargo.toml b/crates/ruff_python_formatter/Cargo.toml index a215af3cbe..c7fe7d8f8d 100644 --- a/crates/ruff_python_formatter/Cargo.toml +++ b/crates/ruff_python_formatter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_python_formatter" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_python_formatter/README.md b/crates/ruff_python_formatter/README.md index ea88a40106..af1d9cb289 100644 --- a/crates/ruff_python_formatter/README.md +++ b/crates/ruff_python_formatter/README.md @@ -32,8 +32,8 @@ Head to [The Ruff Formatter](https://docs.astral.sh/ruff/formatter/) for usage i This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_python_formatter). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_python_formatter). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_python_importer/Cargo.toml b/crates/ruff_python_importer/Cargo.toml index d1d675d0fd..2f65a28a62 100644 --- a/crates/ruff_python_importer/Cargo.toml +++ b/crates/ruff_python_importer/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_python_importer" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_python_importer/README.md b/crates/ruff_python_importer/README.md index eba92d21dc..594ef8b98b 100644 --- a/crates/ruff_python_importer/README.md +++ b/crates/ruff_python_importer/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_python_importer). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_python_importer). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_python_index/Cargo.toml b/crates/ruff_python_index/Cargo.toml index f47cbe0a58..8278131bbd 100644 --- a/crates/ruff_python_index/Cargo.toml +++ b/crates/ruff_python_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_python_index" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_python_index/README.md b/crates/ruff_python_index/README.md index 1ea8ebedde..0a11540f61 100644 --- a/crates/ruff_python_index/README.md +++ b/crates/ruff_python_index/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_python_index). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_python_index). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_python_literal/Cargo.toml b/crates/ruff_python_literal/Cargo.toml index 47096437d6..1fd8bebb7f 100644 --- a/crates/ruff_python_literal/Cargo.toml +++ b/crates/ruff_python_literal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_python_literal" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = ["Charlie Marsh ", "RustPython Team"] edition = { workspace = true } diff --git a/crates/ruff_python_literal/README.md b/crates/ruff_python_literal/README.md index 1d271bf256..afdcd0368b 100644 --- a/crates/ruff_python_literal/README.md +++ b/crates/ruff_python_literal/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_python_literal). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_python_literal). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_python_parser/Cargo.toml b/crates/ruff_python_parser/Cargo.toml index c88c116faf..9d92940929 100644 --- a/crates/ruff_python_parser/Cargo.toml +++ b/crates/ruff_python_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_python_parser" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = ["Charlie Marsh ", "RustPython Team"] edition = { workspace = true } diff --git a/crates/ruff_python_parser/README.md b/crates/ruff_python_parser/README.md index 2b24f98eba..e8a07ae1e2 100644 --- a/crates/ruff_python_parser/README.md +++ b/crates/ruff_python_parser/README.md @@ -19,8 +19,8 @@ Refer to the [contributing guidelines](./CONTRIBUTING.md) to get started and Git This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_python_parser). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_python_parser). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_python_semantic/Cargo.toml b/crates/ruff_python_semantic/Cargo.toml index c5fd2f388e..ed753c2ed0 100644 --- a/crates/ruff_python_semantic/Cargo.toml +++ b/crates/ruff_python_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_python_semantic" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_python_semantic/README.md b/crates/ruff_python_semantic/README.md index 10abff75e1..bd19e639c7 100644 --- a/crates/ruff_python_semantic/README.md +++ b/crates/ruff_python_semantic/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_python_semantic). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_python_semantic). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_python_stdlib/Cargo.toml b/crates/ruff_python_stdlib/Cargo.toml index 7714197cc5..61e9b6309f 100644 --- a/crates/ruff_python_stdlib/Cargo.toml +++ b/crates/ruff_python_stdlib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_python_stdlib" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_python_stdlib/README.md b/crates/ruff_python_stdlib/README.md index 5903367dfe..720253982a 100644 --- a/crates/ruff_python_stdlib/README.md +++ b/crates/ruff_python_stdlib/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_python_stdlib). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_python_stdlib). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_python_trivia/Cargo.toml b/crates/ruff_python_trivia/Cargo.toml index 1849b6de16..e00ccd86b4 100644 --- a/crates/ruff_python_trivia/Cargo.toml +++ b/crates/ruff_python_trivia/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_python_trivia" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_python_trivia/README.md b/crates/ruff_python_trivia/README.md index b9bcb1c7e1..ea990d2d33 100644 --- a/crates/ruff_python_trivia/README.md +++ b/crates/ruff_python_trivia/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_python_trivia). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_python_trivia). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_ranged_value/Cargo.toml b/crates/ruff_ranged_value/Cargo.toml index d43902559d..df3e113867 100644 --- a/crates/ruff_ranged_value/Cargo.toml +++ b/crates/ruff_ranged_value/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_ranged_value" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_ranged_value/README.md b/crates/ruff_ranged_value/README.md index 023af142c3..eb36cea302 100644 --- a/crates/ruff_ranged_value/README.md +++ b/crates/ruff_ranged_value/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_ranged_value). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_ranged_value). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_server/Cargo.toml b/crates/ruff_server/Cargo.toml index abffd61924..808f812876 100644 --- a/crates/ruff_server/Cargo.toml +++ b/crates/ruff_server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_server" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_server/README.md b/crates/ruff_server/README.md index e9bec02362..9f1ed8c62f 100644 --- a/crates/ruff_server/README.md +++ b/crates/ruff_server/README.md @@ -24,8 +24,8 @@ You can also join us on [**Discord**](https://discord.com/invite/astral-sh). This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_server). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_server). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_source_file/Cargo.toml b/crates/ruff_source_file/Cargo.toml index 3c1ae15c81..b713313d5a 100644 --- a/crates/ruff_source_file/Cargo.toml +++ b/crates/ruff_source_file/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_source_file" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_source_file/README.md b/crates/ruff_source_file/README.md index 1e7a464240..693ee2da7a 100644 --- a/crates/ruff_source_file/README.md +++ b/crates/ruff_source_file/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_source_file). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_source_file). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_text_size/Cargo.toml b/crates/ruff_text_size/Cargo.toml index 5e69e00997..fcd8305cde 100644 --- a/crates/ruff_text_size/Cargo.toml +++ b/crates/ruff_text_size/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_text_size" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_text_size/README.md b/crates/ruff_text_size/README.md index cbb2505bcc..21887ec343 100644 --- a/crates/ruff_text_size/README.md +++ b/crates/ruff_text_size/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_text_size). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_text_size). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_wasm/Cargo.toml b/crates/ruff_wasm/Cargo.toml index 5986913722..f7c7ac1871 100644 --- a/crates/ruff_wasm/Cargo.toml +++ b/crates/ruff_wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_wasm" -version = "0.15.21" +version = "0.15.22" description = "WebAssembly bindings for Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_wasm/README.md b/crates/ruff_wasm/README.md index 7881507b87..b58015c3f6 100644 --- a/crates/ruff_wasm/README.md +++ b/crates/ruff_wasm/README.md @@ -55,8 +55,8 @@ const formatted = workspace.format(exampleDocument); This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.15.21) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_wasm). +This version (0.15.22) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_wasm). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ruff_workspace/Cargo.toml b/crates/ruff_workspace/Cargo.toml index b35ce34304..7aaae335ca 100644 --- a/crates/ruff_workspace/Cargo.toml +++ b/crates/ruff_workspace/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_workspace" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ruff_workspace/README.md b/crates/ruff_workspace/README.md index 40a1db01bd..6a9c1eb472 100644 --- a/crates/ruff_workspace/README.md +++ b/crates/ruff_workspace/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ruff_workspace). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ruff_workspace). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ty_combine/Cargo.toml b/crates/ty_combine/Cargo.toml index b27ab8d12e..acafd2457a 100644 --- a/crates/ty_combine/Cargo.toml +++ b/crates/ty_combine/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ty_combine" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" edition.workspace = true rust-version.workspace = true diff --git a/crates/ty_combine/README.md b/crates/ty_combine/README.md index e929516dc9..6542e860cc 100644 --- a/crates/ty_combine/README.md +++ b/crates/ty_combine/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ty_combine). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ty_combine). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ty_module_resolver/Cargo.toml b/crates/ty_module_resolver/Cargo.toml index 3ae75426f0..d75f8c4548 100644 --- a/crates/ty_module_resolver/Cargo.toml +++ b/crates/ty_module_resolver/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ty_module_resolver" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ty_module_resolver/README.md b/crates/ty_module_resolver/README.md index 6d0a6be112..3c34b69455 100644 --- a/crates/ty_module_resolver/README.md +++ b/crates/ty_module_resolver/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ty_module_resolver). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ty_module_resolver). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ty_python_core/Cargo.toml b/crates/ty_python_core/Cargo.toml index 08bef060c2..0fda750f44 100644 --- a/crates/ty_python_core/Cargo.toml +++ b/crates/ty_python_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ty_python_core" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ty_python_core/README.md b/crates/ty_python_core/README.md index 9510919965..7b9226b17f 100644 --- a/crates/ty_python_core/README.md +++ b/crates/ty_python_core/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ty_python_core). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ty_python_core). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ty_python_semantic/Cargo.toml b/crates/ty_python_semantic/Cargo.toml index d70a876753..5885ee9ba9 100644 --- a/crates/ty_python_semantic/Cargo.toml +++ b/crates/ty_python_semantic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ty_python_semantic" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ty_python_semantic/README.md b/crates/ty_python_semantic/README.md index cf3010067a..0e52fd63d6 100644 --- a/crates/ty_python_semantic/README.md +++ b/crates/ty_python_semantic/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ty_python_semantic). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ty_python_semantic). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ty_site_packages/Cargo.toml b/crates/ty_site_packages/Cargo.toml index 76560f7afa..65dae5d5c4 100644 --- a/crates/ty_site_packages/Cargo.toml +++ b/crates/ty_site_packages/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ty_site_packages" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/crates/ty_site_packages/README.md b/crates/ty_site_packages/README.md index 3952b325da..935980dcbf 100644 --- a/crates/ty_site_packages/README.md +++ b/crates/ty_site_packages/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ty_site_packages). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ty_site_packages). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ty_static/Cargo.toml b/crates/ty_static/Cargo.toml index 9de7f22d66..dd649170e8 100644 --- a/crates/ty_static/Cargo.toml +++ b/crates/ty_static/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ty_static" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" edition = { workspace = true } rust-version = { workspace = true } diff --git a/crates/ty_static/README.md b/crates/ty_static/README.md index 55834c7bd6..34c43bf209 100644 --- a/crates/ty_static/README.md +++ b/crates/ty_static/README.md @@ -5,8 +5,8 @@ This crate is an internal component of [Ruff](https://crates.io/crates/ruff). The Rust API exposed here is unstable and will have frequent breaking changes. -This version (0.0.4) is a component of [Ruff 0.15.21](https://crates.io/crates/ruff/0.15.21). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/crates/ty_static). +This version (0.0.5) is a component of [Ruff 0.15.22](https://crates.io/crates/ruff/0.15.22). The +source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.22/crates/ty_static). See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for details on versioning. diff --git a/crates/ty_vendored/Cargo.toml b/crates/ty_vendored/Cargo.toml index dc0b928a66..2ba738ffc7 100644 --- a/crates/ty_vendored/Cargo.toml +++ b/crates/ty_vendored/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ty_vendored" -version = "0.0.4" +version = "0.0.5" description = "This is an internal component crate of Ruff" authors = { workspace = true } edition = { workspace = true } diff --git a/docs/formatter.md b/docs/formatter.md index 87e7296bc0..aee65ee133 100644 --- a/docs/formatter.md +++ b/docs/formatter.md @@ -306,7 +306,7 @@ support needs to be explicitly included by adding it to `types_or`: ```yaml title=".pre-commit-config.yaml" repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.21 + rev: v0.15.22 hooks: - id: ruff-format types_or: [python, pyi, jupyter, markdown] diff --git a/docs/integrations.md b/docs/integrations.md index b2ddc6ad07..2645d5ab7a 100644 --- a/docs/integrations.md +++ b/docs/integrations.md @@ -80,7 +80,7 @@ You can add the following configuration to `.gitlab-ci.yml` to run a `ruff forma stage: build interruptible: true image: - name: ghcr.io/astral-sh/ruff:0.15.21-alpine + name: ghcr.io/astral-sh/ruff:0.15.22-alpine before_script: - cd $CI_PROJECT_DIR - ruff --version @@ -106,7 +106,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.15.21 + rev: v0.15.22 hooks: # Run the linter. - id: ruff-check @@ -119,7 +119,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.15.21 + rev: v0.15.22 hooks: # Run the linter. - id: ruff-check @@ -133,7 +133,7 @@ To avoid running on Jupyter Notebooks, remove `jupyter` from the list of allowed ```yaml - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.15.21 + rev: v0.15.22 hooks: # Run the linter. - id: ruff-check diff --git a/docs/tutorial.md b/docs/tutorial.md index ce731e35d3..450dbc81df 100644 --- a/docs/tutorial.md +++ b/docs/tutorial.md @@ -372,7 +372,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.15.21 + rev: v0.15.22 hooks: # Run the linter. - id: ruff-check diff --git a/pyproject.toml b/pyproject.toml index b8aab55786..897f46a027 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "ruff" -version = "0.15.21" +version = "0.15.22" 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 0ae5a78981..72d3f15a68 100644 --- a/scripts/benchmarks/pyproject.toml +++ b/scripts/benchmarks/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "scripts" -version = "0.15.21" +version = "0.15.22" description = "" authors = ["Charles Marsh "] diff --git a/uv.lock b/uv.lock index ba760a617d..a5e12af15b 100644 --- a/uv.lock +++ b/uv.lock @@ -30,8 +30,8 @@ name = "anyio" version = "4.14.1" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "idna" }, - { name = "typing-extensions", marker = "python_full_version < '3.13'" }, + { name = "idna", marker = "python_full_version >= '3.12'" }, + { name = "typing-extensions", marker = "python_full_version == '3.12.*'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/3b/72/5562aabb8dd7181e8e860622a38bea08d17842b99ecd4c91f84ac95251b0/anyio-4.14.1.tar.gz", hash = "sha256:8d648a3544c1a700e3ff78615cd679e4c5c3f149904287e73687b2596963629e", size = 254831, upload-time = "2026-06-24T20:56:06.017Z" } wheels = [ @@ -43,7 +43,7 @@ name = "anysqlite" version = "0.0.5" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "anyio" }, + { name = "anyio", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/0f/4b/cd5d66b9f87e773bc71344a368b9472987e33514e6627e28342b9c3e7c43/anysqlite-0.0.5.tar.gz", hash = "sha256:9dfcf87baf6b93426ad1d9118088c41dbf24ef01b445eea4a5d486bac2755cce", size = 3432, upload-time = "2023-10-02T13:49:25.135Z" } wheels = [ @@ -64,7 +64,7 @@ name = "cffi" version = "2.0.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "pycparser", marker = "implementation_name != 'PyPy'" }, + { name = "pycparser", marker = "python_full_version >= '3.12' and implementation_name != 'PyPy'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/eb/56/b1ba7935a17738ae8453301356628e8147c79dbb825bcbc73dc7401f9846/cffi-2.0.0.tar.gz", hash = "sha256:44d1b5909021139fe36001ae048dbdde8214afa20200eda0f64c068cac5d5529", size = 523588, upload-time = "2025-09-08T23:24:04.541Z" } wheels = [ @@ -176,11 +176,11 @@ name = "hishel" version = "0.1.5" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "anyio" }, - { name = "anysqlite" }, - { name = "httpx" }, - { name = "msgpack" }, - { name = "typing-extensions" }, + { name = "anyio", marker = "python_full_version >= '3.12'" }, + { name = "anysqlite", marker = "python_full_version >= '3.12'" }, + { name = "httpx", marker = "python_full_version >= '3.12'" }, + { name = "msgpack", marker = "python_full_version >= '3.12'" }, + { name = "typing-extensions", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/e5/64/a104ccac48f123f853254483617b16e0efc1649bd7e35bcdc5a5a5ef0ae2/hishel-0.1.5.tar.gz", hash = "sha256:9d40c682cd94fd6e1394fb05713ae20a75ed8aeba6f5272380444039ce6257f2", size = 75468, upload-time = "2025-10-18T13:32:41.854Z" } wheels = [ @@ -192,8 +192,8 @@ name = "httpcore" version = "1.0.9" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "certifi" }, - { name = "h11" }, + { name = "certifi", marker = "python_full_version >= '3.12'" }, + { name = "h11", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/06/94/82699a10bca87a5556c9c59b5963f2d039dbd239f25bc2a63907a05a14cb/httpcore-1.0.9.tar.gz", hash = "sha256:6e34463af53fd2ab5d807f399a9b45ea31c3dfa2276f15a2c3f00afff6e176e8", size = 85484, upload-time = "2025-04-24T22:06:22.219Z" } wheels = [ @@ -205,10 +205,10 @@ name = "httpx" version = "0.28.1" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "anyio" }, - { name = "certifi" }, - { name = "httpcore" }, - { name = "idna" }, + { name = "anyio", marker = "python_full_version >= '3.12'" }, + { name = "certifi", marker = "python_full_version >= '3.12'" }, + { name = "httpcore", marker = "python_full_version >= '3.12'" }, + { name = "idna", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/b1/df/48c586a5fe32a0f01324ee087459e112ebb7224f646c0b5023f5e79e9956/httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc", size = 141406, upload-time = "2024-12-06T15:37:23.222Z" } wheels = [ @@ -229,7 +229,7 @@ name = "markdown-it-py" version = "4.2.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "mdurl" }, + { name = "mdurl", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/06/ff/7841249c247aa650a76b9ee4bbaeae59370dc8bfd2f6c01f3630c35eb134/markdown_it_py-4.2.0.tar.gz", hash = "sha256:04a21681d6fbb623de53f6f364d352309d4094dd4194040a10fd51833e418d49", size = 82454, upload-time = "2026-05-07T12:08:28.36Z" } wheels = [ @@ -374,10 +374,10 @@ name = "pydantic" version = "2.13.4" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "annotated-types" }, - { name = "pydantic-core" }, - { name = "typing-extensions" }, - { name = "typing-inspection" }, + { name = "annotated-types", marker = "python_full_version >= '3.12'" }, + { name = "pydantic-core", marker = "python_full_version >= '3.12'" }, + { name = "typing-extensions", marker = "python_full_version >= '3.12'" }, + { name = "typing-inspection", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/18/a5/b60d21ac674192f8ab0ba4e9fd860690f9b4a6e51ca5df118733b487d8d6/pydantic-2.13.4.tar.gz", hash = "sha256:c40756b57adaa8b1efeeced5c196f3f3b7c435f90e84ea7f443901bec8099ef6", size = 844775, upload-time = "2026-05-06T13:43:05.343Z" } wheels = [ @@ -389,7 +389,7 @@ name = "pydantic-core" version = "2.46.4" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "typing-extensions" }, + { name = "typing-extensions", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/9d/56/921726b776ace8d8f5db44c4ef961006580d91dc52b803c489fafd1aa249/pydantic_core-2.46.4.tar.gz", hash = "sha256:62f875393d7f270851f20523dd2e29f082bcc82292d66db2b64ea71f64b6e1c1", size = 471464, upload-time = "2026-05-06T13:37:06.98Z" } wheels = [ @@ -519,7 +519,7 @@ name = "pygit2" version = "1.19.3" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "cffi" }, + { name = "cffi", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/a6/44/415aa93422b4bfc21a6448acb7e16280d5f33a9a3fae38a384e37b046ae4/pygit2-1.19.3.tar.gz", hash = "sha256:a543e6d4ebb43825564935758dc234e770016fed673b84370d46ae9580558831", size = 810489, upload-time = "2026-06-13T08:06:04.982Z" } wheels = [ @@ -594,8 +594,8 @@ name = "rich" version = "15.0.0" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "markdown-it-py" }, - { name = "pygments" }, + { name = "markdown-it-py", marker = "python_full_version >= '3.12'" }, + { name = "pygments", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/c0/8f/0722ca900cc807c13a6a0c696dacf35430f72e0ec571c4275d2371fca3e9/rich-15.0.0.tar.gz", hash = "sha256:edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36", size = 230680, upload-time = "2026-04-12T08:24:00.75Z" } wheels = [ @@ -607,14 +607,14 @@ name = "rooster" version = "0.1.1" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "hishel" }, - { name = "httpx" }, - { name = "marko" }, - { name = "packaging" }, - { name = "pydantic" }, - { name = "pygit2" }, - { name = "tqdm" }, - { name = "typer" }, + { name = "hishel", marker = "python_full_version >= '3.12'" }, + { name = "httpx", marker = "python_full_version >= '3.12'" }, + { name = "marko", marker = "python_full_version >= '3.12'" }, + { name = "packaging", marker = "python_full_version >= '3.12'" }, + { name = "pydantic", marker = "python_full_version >= '3.12'" }, + { name = "pygit2", marker = "python_full_version >= '3.12'" }, + { name = "tqdm", marker = "python_full_version >= '3.12'" }, + { name = "typer", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/f3/02/8ce565271dc52bd0d0d812043b12ec60111d947f81dc30301d19d7bfd453/rooster-0.1.1.tar.gz", hash = "sha256:c9823122f0c2b035985e70384323cdd353477af988e0f065bc302646a49da482", size = 18608, upload-time = "2025-10-29T15:18:49.478Z" } wheels = [ @@ -623,7 +623,7 @@ wheels = [ [[package]] name = "ruff" -version = "0.15.21" +version = "0.15.22" source = { editable = "." } [package.dev-dependencies] @@ -654,7 +654,7 @@ name = "tqdm" version = "4.68.3" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "colorama", marker = "sys_platform == 'win32'" }, + { name = "colorama", marker = "python_full_version >= '3.12' and sys_platform == 'win32'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/87/d7/0535a28b1f5f24f6612fb3ff1e89fb1a8d160fee0f976e0aa6803862134b/tqdm-4.68.3.tar.gz", hash = "sha256:00dfa48452b6b6cfae3dd9885636c23d3422d1ec97c66d96818cbd5e0821d482", size = 170596, upload-time = "2026-06-17T07:36:52.105Z" } wheels = [ @@ -666,10 +666,10 @@ name = "typer" version = "0.26.8" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "annotated-doc" }, - { name = "colorama", marker = "sys_platform == 'win32'" }, - { name = "rich" }, - { name = "shellingham" }, + { name = "annotated-doc", marker = "python_full_version >= '3.12'" }, + { name = "colorama", marker = "python_full_version >= '3.12' and sys_platform == 'win32'" }, + { name = "rich", marker = "python_full_version >= '3.12'" }, + { name = "shellingham", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/7c/f7/68adc395201b20b872d68e975386832e8005ffeacedd43a1d837a32815be/typer-0.26.8.tar.gz", hash = "sha256:c244a6bd558886fe3f8780efb6bdd28bb9aff005a94eedebaa5cb32926fe2f7e", size = 202097, upload-time = "2026-06-26T09:22:45.705Z" } wheels = [ @@ -690,7 +690,7 @@ name = "typing-inspection" version = "0.4.2" source = { registry = "https://pypi.org/simple" } dependencies = [ - { name = "typing-extensions" }, + { name = "typing-extensions", marker = "python_full_version >= '3.12'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/55/e3/70399cb7dd41c10ac53367ae42139cf4b1ca5f36bb3dc6c9d33acdb43655/typing_inspection-0.4.2.tar.gz", hash = "sha256:ba561c48a67c5958007083d386c3295464928b01faa735ab8547c5692e87f464", size = 75949, upload-time = "2025-10-01T02:14:41.687Z" } wheels = [