diff --git a/CHANGELOG.md b/CHANGELOG.md index 44e8150171..d8eff74ef4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,73 @@ # Changelog +## 0.15.21 + +Released on 2026-07-09. + +### Preview features + +- Add `--add-ignore` for adding `ruff:ignore` comments ([#26346](https://github.com/astral-sh/ruff/pull/26346)) +- \[`flake8-comprehensions`\] Drop `C409` tuple comprehension preview behavior ([#25707](https://github.com/astral-sh/ruff/pull/25707)) +- Avoid whitespace normalization when formatting comments ([#26455](https://github.com/astral-sh/ruff/pull/26455)) +- \[`pyupgrade`\] Lint and fix use of deprecated `abc` decorators (`UP051`) ([#26417](https://github.com/astral-sh/ruff/pull/26417)) + +### Bug fixes + +- Refine non-empty f-string detection ([#26526](https://github.com/astral-sh/ruff/pull/26526)) +- Detect syntax errors in individual notebook cells ([#26419](https://github.com/astral-sh/ruff/pull/26419)) +- \[`flake8-implicit-str-concat`\] Fix `ISC003` autofix incorrectly stripping `+` from comments ([#26554](https://github.com/astral-sh/ruff/pull/26554)) + +### Rule changes + +- \[`flake8-executable`\] Mark `EXE004` fix as unsafe ([#26033](https://github.com/astral-sh/ruff/pull/26033)) +- \[`flake8-pyi`\] Mark `PYI061` fixes as unsafe in Python files ([#26533](https://github.com/astral-sh/ruff/pull/26533)) +- \[`pydocstyle`\] Skip `overload-with-docstring` in stub files (`D418`) ([#26318](https://github.com/astral-sh/ruff/pull/26318)) + +### Performance + +- Avoid per-token source index visitor calls ([#26506](https://github.com/astral-sh/ruff/pull/26506)) +- Cache parenthesized expression boundaries in the formatter ([#26344](https://github.com/astral-sh/ruff/pull/26344)) +- Improve performance of rendering edits in preview mode ([#26565](https://github.com/astral-sh/ruff/pull/26565)) +- Inline `fits_element` in formatter ([#26429](https://github.com/astral-sh/ruff/pull/26429)) +- Inline formatter printing hot paths ([#26504](https://github.com/astral-sh/ruff/pull/26504)) +- Lazily create builtin bindings ([#26510](https://github.com/astral-sh/ruff/pull/26510)) +- Skip empty trivia scans in the source indexer ([#26507](https://github.com/astral-sh/ruff/pull/26507)) +- Use ICF for macOS release builds ([#25780](https://github.com/astral-sh/ruff/pull/25780)) + +### Formatter + +- Add `--extend-exclude` to `ruff format` ([#26372](https://github.com/astral-sh/ruff/pull/26372)) + +### Documentation + +- Add "How does Ruff's import sorting compare to isort?" link to README ([#26530](https://github.com/astral-sh/ruff/pull/26530)) +- Fix Mozilla Firefox repository link in README ([#26537](https://github.com/astral-sh/ruff/pull/26537)) +- \[`flake8-bandit`\] Fix misleading docstring for `mako-templates` (`S702`) ([#26432](https://github.com/astral-sh/ruff/pull/26432)) +- \[`ruff`\] Fix non-triggering example for `if-key-in-dict-del` (`RUF051`) ([#26433](https://github.com/astral-sh/ruff/pull/26433)) + +### Contributors + +- [@EkriirkE](https://github.com/EkriirkE) +- [@tingerrr](https://github.com/tingerrr) +- [@s-rigaud](https://github.com/s-rigaud) +- [@nikolauspschuetz](https://github.com/nikolauspschuetz) +- [@Avasam](https://github.com/Avasam) +- [@ntBre](https://github.com/ntBre) +- [@omar-y-abdi](https://github.com/omar-y-abdi) +- [@AlexWaygood](https://github.com/AlexWaygood) +- [@sylvestre](https://github.com/sylvestre) +- [@shaanmajid](https://github.com/shaanmajid) +- [@lerebear](https://github.com/lerebear) +- [@baltasarblanco](https://github.com/baltasarblanco) +- [@Sanjays2402](https://github.com/Sanjays2402) +- [@ZedThree](https://github.com/ZedThree) +- [@servusdei2018](https://github.com/servusdei2018) +- [@charliermarsh](https://github.com/charliermarsh) +- [@jesco-absolute](https://github.com/jesco-absolut) +- [@velikodniy](https://github.com/velikodniy) +- [@zaniebot](https://github.com/zaniebot) +- [@epage](https://github.com/epage) + ## 0.15.20 Released on 2026-06-25. diff --git a/Cargo.lock b/Cargo.lock index e74b251cfd..407f6c57a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3067,7 +3067,7 @@ dependencies = [ [[package]] name = "ruff" -version = "0.15.20" +version = "0.15.21" dependencies = [ "anyhow", "argfile", @@ -3131,7 +3131,7 @@ dependencies = [ [[package]] name = "ruff_annotate_snippets" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anstream 1.0.0", "anstyle", @@ -3172,7 +3172,7 @@ dependencies = [ [[package]] name = "ruff_cache" -version = "0.0.3" +version = "0.0.4" dependencies = [ "filetime", "glob", @@ -3185,7 +3185,7 @@ dependencies = [ [[package]] name = "ruff_db" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anstyle", "arc-swap", @@ -3276,7 +3276,7 @@ dependencies = [ [[package]] name = "ruff_diagnostics" -version = "0.0.3" +version = "0.0.4" dependencies = [ "get-size2", "is-macro", @@ -3286,7 +3286,7 @@ dependencies = [ [[package]] name = "ruff_formatter" -version = "0.0.3" +version = "0.0.4" dependencies = [ "drop_bomb", "ruff_cache", @@ -3302,7 +3302,7 @@ dependencies = [ [[package]] name = "ruff_graph" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anyhow", "clap", @@ -3323,7 +3323,7 @@ dependencies = [ [[package]] name = "ruff_index" -version = "0.0.3" +version = "0.0.4" dependencies = [ "get-size2", "ruff_macros", @@ -3333,7 +3333,7 @@ dependencies = [ [[package]] name = "ruff_linter" -version = "0.15.20" +version = "0.15.21" dependencies = [ "aho-corasick", "anyhow", @@ -3396,7 +3396,7 @@ dependencies = [ [[package]] name = "ruff_macros" -version = "0.0.3" +version = "0.0.4" dependencies = [ "heck", "itertools 0.15.0", @@ -3409,7 +3409,7 @@ dependencies = [ [[package]] name = "ruff_markdown" -version = "0.0.3" +version = "0.0.4" dependencies = [ "insta", "regex", @@ -3440,14 +3440,14 @@ dependencies = [ [[package]] name = "ruff_memory_usage" -version = "0.0.3" +version = "0.0.4" dependencies = [ "get-size2", ] [[package]] name = "ruff_notebook" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anyhow", "itertools 0.15.0", @@ -3464,14 +3464,14 @@ dependencies = [ [[package]] name = "ruff_options_metadata" -version = "0.0.3" +version = "0.0.4" dependencies = [ "serde", ] [[package]] name = "ruff_python_ast" -version = "0.0.3" +version = "0.0.4" dependencies = [ "aho-corasick", "arrayvec", @@ -3507,7 +3507,7 @@ dependencies = [ [[package]] name = "ruff_python_codegen" -version = "0.0.3" +version = "0.0.4" dependencies = [ "ruff_python_ast", "ruff_python_literal", @@ -3519,7 +3519,7 @@ dependencies = [ [[package]] name = "ruff_python_formatter" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anyhow", "clap", @@ -3552,7 +3552,7 @@ dependencies = [ [[package]] name = "ruff_python_importer" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anyhow", "insta", @@ -3567,7 +3567,7 @@ dependencies = [ [[package]] name = "ruff_python_index" -version = "0.0.3" +version = "0.0.4" dependencies = [ "ruff_python_ast", "ruff_python_parser", @@ -3578,7 +3578,7 @@ dependencies = [ [[package]] name = "ruff_python_literal" -version = "0.0.3" +version = "0.0.4" dependencies = [ "bitflags 2.13.0", "icu_properties", @@ -3588,7 +3588,7 @@ dependencies = [ [[package]] name = "ruff_python_parser" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anyhow", "bitflags 2.13.0", @@ -3617,7 +3617,7 @@ dependencies = [ [[package]] name = "ruff_python_semantic" -version = "0.0.3" +version = "0.0.4" dependencies = [ "bitflags 2.13.0", "insta", @@ -3638,7 +3638,7 @@ dependencies = [ [[package]] name = "ruff_python_stdlib" -version = "0.0.3" +version = "0.0.4" dependencies = [ "bitflags 2.13.0", "unicode-ident", @@ -3646,7 +3646,7 @@ dependencies = [ [[package]] name = "ruff_python_trivia" -version = "0.0.3" +version = "0.0.4" dependencies = [ "itertools 0.15.0", "ruff_source_file", @@ -3667,7 +3667,7 @@ dependencies = [ [[package]] name = "ruff_ranged_value" -version = "0.0.3" +version = "0.0.4" dependencies = [ "get-size2", "ruff_db", @@ -3679,7 +3679,7 @@ dependencies = [ [[package]] name = "ruff_server" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anyhow", "crossbeam", @@ -3722,7 +3722,7 @@ dependencies = [ [[package]] name = "ruff_source_file" -version = "0.0.3" +version = "0.0.4" dependencies = [ "get-size2", "memchr", @@ -3732,7 +3732,7 @@ dependencies = [ [[package]] name = "ruff_text_size" -version = "0.0.3" +version = "0.0.4" dependencies = [ "get-size2", "schemars", @@ -3743,7 +3743,7 @@ dependencies = [ [[package]] name = "ruff_wasm" -version = "0.15.20" +version = "0.15.21" dependencies = [ "console_error_panic_hook", "console_log", @@ -3770,7 +3770,7 @@ dependencies = [ [[package]] name = "ruff_workspace" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anyhow", "colored", @@ -4656,7 +4656,7 @@ dependencies = [ [[package]] name = "ty_combine" -version = "0.0.3" +version = "0.0.4" dependencies = [ "ordermap", "ruff_db", @@ -4739,7 +4739,7 @@ dependencies = [ [[package]] name = "ty_module_resolver" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anyhow", "camino", @@ -4812,7 +4812,7 @@ dependencies = [ [[package]] name = "ty_python_core" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anyhow", "bitflags 2.13.0", @@ -4845,7 +4845,7 @@ dependencies = [ [[package]] name = "ty_python_semantic" -version = "0.0.3" +version = "0.0.4" dependencies = [ "anyhow", "bitflags 2.13.0", @@ -4937,7 +4937,7 @@ dependencies = [ [[package]] name = "ty_site_packages" -version = "0.0.3" +version = "0.0.4" dependencies = [ "camino", "colored", @@ -4958,7 +4958,7 @@ dependencies = [ [[package]] name = "ty_static" -version = "0.0.3" +version = "0.0.4" dependencies = [ "ruff_macros", ] @@ -4989,7 +4989,7 @@ dependencies = [ [[package]] name = "ty_vendored" -version = "0.0.3" +version = "0.0.4" dependencies = [ "path-slash", "ruff_db", diff --git a/Cargo.toml b/Cargo.toml index 8d805f6964..c6675c2eda 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,51 +13,51 @@ authors = ["Charlie Marsh "] license = "MIT" [workspace.dependencies] -ruff = { version = "0.15.20", path = "crates/ruff" } -ruff_annotate_snippets = { version = "0.0.3", path = "crates/ruff_annotate_snippets" } -ruff_cache = { version = "0.0.3", path = "crates/ruff_cache" } -ruff_db = { version = "0.0.3", path = "crates/ruff_db", default-features = false } -ruff_diagnostics = { version = "0.0.3", path = "crates/ruff_diagnostics" } -ruff_formatter = { version = "0.0.3", path = "crates/ruff_formatter" } -ruff_graph = { version = "0.0.3", path = "crates/ruff_graph" } -ruff_index = { version = "0.0.3", path = "crates/ruff_index" } -ruff_linter = { version = "0.15.20", path = "crates/ruff_linter" } -ruff_macros = { version = "0.0.3", path = "crates/ruff_macros" } -ruff_markdown = { version = "0.0.3", path = "crates/ruff_markdown" } -ruff_memory_usage = { version = "0.0.3", path = "crates/ruff_memory_usage" } -ruff_notebook = { version = "0.0.3", path = "crates/ruff_notebook" } -ruff_options_metadata = { version = "0.0.3", path = "crates/ruff_options_metadata" } -ruff_python_ast = { version = "0.0.3", path = "crates/ruff_python_ast" } -ruff_python_codegen = { version = "0.0.3", path = "crates/ruff_python_codegen" } -ruff_python_formatter = { version = "0.0.3", path = "crates/ruff_python_formatter" } -ruff_python_importer = { version = "0.0.3", path = "crates/ruff_python_importer" } -ruff_python_index = { version = "0.0.3", path = "crates/ruff_python_index" } -ruff_python_literal = { version = "0.0.3", path = "crates/ruff_python_literal" } -ruff_python_parser = { version = "0.0.3", path = "crates/ruff_python_parser" } -ruff_python_semantic = { version = "0.0.3", path = "crates/ruff_python_semantic" } -ruff_python_stdlib = { version = "0.0.3", path = "crates/ruff_python_stdlib" } -ruff_python_trivia = { version = "0.0.3", path = "crates/ruff_python_trivia" } -ruff_server = { version = "0.0.3", path = "crates/ruff_server" } -ruff_source_file = { version = "0.0.3", path = "crates/ruff_source_file" } +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_mdtest = { path = "crates/ruff_mdtest" } -ruff_ranged_value = { version = "0.0.3", path = "crates/ruff_ranged_value" } -ruff_text_size = { version = "0.0.3", path = "crates/ruff_text_size" } -ruff_workspace = { version = "0.0.3", path = "crates/ruff_workspace" } +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" } ty = { path = "crates/ty" } -ty_combine = { version = "0.0.3", path = "crates/ty_combine" } +ty_combine = { version = "0.0.4", 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.3", path = "crates/ty_module_resolver" } +ty_module_resolver = { version = "0.0.4", path = "crates/ty_module_resolver" } ty_project = { path = "crates/ty_project", default-features = false } -ty_python_semantic = { version = "0.0.3", path = "crates/ty_python_semantic" } -ty_python_core = { version = "0.0.3", path = "crates/ty_python_core" } +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_server = { path = "crates/ty_server" } -ty_site_packages = { version = "0.0.3", path = "crates/ty_site_packages" } -ty_static = { version = "0.0.3", path = "crates/ty_static" } +ty_site_packages = { version = "0.0.4", path = "crates/ty_site_packages" } +ty_static = { version = "0.0.4", path = "crates/ty_static" } ty_test = { path = "crates/ty_test" } -ty_vendored = { version = "0.0.3", path = "crates/ty_vendored" } +ty_vendored = { version = "0.0.4", path = "crates/ty_vendored" } mdtest = { path = "crates/mdtest" } diff --git a/README.md b/README.md index d6d51bedb9..1302a04aea 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.20/install.sh | sh -powershell -c "irm https://astral.sh/ruff/0.15.20/install.ps1 | iex" +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" ``` 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.20 + rev: v0.15.21 hooks: # Run the linter. - id: ruff-check diff --git a/crates/ruff/Cargo.toml b/crates/ruff/Cargo.toml index 66ce7f0109..9a7ed66590 100644 --- a/crates/ruff/Cargo.toml +++ b/crates/ruff/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff" -version = "0.15.20" +version = "0.15.21" 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 51d723d72f..e6e92a36f7 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.20. The source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff). +This is version 0.15.21. The source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.21/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 c92ae41a1b..d039a84724 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.3" +version = "0.0.4" 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 42d2299e0f..cad5e6a3c9 100644 --- a/crates/ruff_cache/Cargo.toml +++ b/crates/ruff_cache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_cache" -version = "0.0.3" +version = "0.0.4" 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 582b8013ba..db062d35fe 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_cache). +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). 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 bd08540a43..35cc319e1c 100644 --- a/crates/ruff_db/Cargo.toml +++ b/crates/ruff_db/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_db" -version = "0.0.3" +version = "0.0.4" 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 e901a90ee5..d22b4fe108 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_db). +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). 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 cc716d94eb..e887f1a94d 100644 --- a/crates/ruff_diagnostics/Cargo.toml +++ b/crates/ruff_diagnostics/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_diagnostics" -version = "0.0.3" +version = "0.0.4" 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 8b27f8294e..481a3ecff2 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_diagnostics). +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). 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 6dc3c46140..0292a467ba 100644 --- a/crates/ruff_formatter/Cargo.toml +++ b/crates/ruff_formatter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_formatter" -version = "0.0.3" +version = "0.0.4" 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 7dd4045a38..4ba4ae9fb3 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_formatter). +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). 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 478008aaa9..7ad3961578 100644 --- a/crates/ruff_graph/Cargo.toml +++ b/crates/ruff_graph/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_graph" -version = "0.0.3" +version = "0.0.4" 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 9646468294..a529146b33 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_graph). +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). 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 f9395adadf..639ba89c2d 100644 --- a/crates/ruff_index/Cargo.toml +++ b/crates/ruff_index/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_index" -version = "0.0.3" +version = "0.0.4" 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 61b53e2524..ca40eb9e69 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_index). +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). 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 d62d2f11b9..ff47dc150d 100644 --- a/crates/ruff_linter/Cargo.toml +++ b/crates/ruff_linter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_linter" -version = "0.15.20" +version = "0.15.21" 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 3c3bbb91f1..f71ed24dda 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.20) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_linter). +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). 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/pyupgrade/rules/deprecated_abc_decorator.rs b/crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_abc_decorator.rs index 5cf42362a9..a9ad1786f6 100644 --- a/crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_abc_decorator.rs +++ b/crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_abc_decorator.rs @@ -52,7 +52,7 @@ use crate::{AlwaysFixableViolation, Edit, Fix}; /// def prop(self): ... /// ``` #[derive(ViolationMetadata)] -#[violation_metadata(preview_since = "NEXT_RUFF_VERSION")] +#[violation_metadata(preview_since = "0.15.21")] pub(crate) struct DeprecatedAbcDecorator { from: &'static str, to: &'static str, diff --git a/crates/ruff_macros/Cargo.toml b/crates/ruff_macros/Cargo.toml index 94305e6c55..3a609b4a26 100644 --- a/crates/ruff_macros/Cargo.toml +++ b/crates/ruff_macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_macros" -version = "0.0.3" +version = "0.0.4" 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 aad888cbe8..af4e570a9e 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_macros). +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). 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 ef8731bee7..f6587b2368 100644 --- a/crates/ruff_markdown/Cargo.toml +++ b/crates/ruff_markdown/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_markdown" -version = "0.0.3" +version = "0.0.4" 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 752b559894..343703f403 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_markdown). +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). 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 2116532457..442cdaeb73 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.3" +version = "0.0.4" 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 64a49b411d..f3e37905d6 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_memory_usage). +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). 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 da17f6cb12..f211741de7 100644 --- a/crates/ruff_notebook/Cargo.toml +++ b/crates/ruff_notebook/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_notebook" -version = "0.0.3" +version = "0.0.4" 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 1721084d3e..6d4cd2d05c 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_notebook). +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). 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 7d2e973c01..d35695f9ac 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.3" +version = "0.0.4" 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 25383ceb42..f5b989fd51 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_options_metadata). +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). 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 c64a942561..338af11d14 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.3" +version = "0.0.4" 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 7cf1b68d16..738181eb10 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_python_ast). +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). 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 be037f47a0..739a1ed45b 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.3" +version = "0.0.4" 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 257d31e608..4be1cdc562 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_python_codegen). +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). 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 b5d48a6aff..a215af3cbe 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.3" +version = "0.0.4" 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 24ceef9085..ea88a40106 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_python_formatter). +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). 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 365c950536..d1d675d0fd 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.3" +version = "0.0.4" 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 4e2a6a5df8..eba92d21dc 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_python_importer). +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). 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 12f32a1643..f47cbe0a58 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.3" +version = "0.0.4" 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 837ade593e..1ea8ebedde 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_python_index). +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). 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 e19602e4dd..47096437d6 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.3" +version = "0.0.4" 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 c8afd008f7..1d271bf256 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_python_literal). +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). 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 8de52b7625..480589a5a6 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.3" +version = "0.0.4" 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 115815a968..2b24f98eba 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_python_parser). +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). 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 e7bea78d47..c5fd2f388e 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.3" +version = "0.0.4" 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 deba3ddcb4..10abff75e1 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_python_semantic). +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). 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 f0962516a2..7714197cc5 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.3" +version = "0.0.4" 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 3af6d34366..5903367dfe 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_python_stdlib). +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). 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 73ff8f20b6..1849b6de16 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.3" +version = "0.0.4" 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 a2e29f72ca..b9bcb1c7e1 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_python_trivia). +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). 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 6fc498c503..d43902559d 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.3" +version = "0.0.4" 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 dd5fef539f..023af142c3 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_ranged_value). +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). 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 932e088b1d..abffd61924 100644 --- a/crates/ruff_server/Cargo.toml +++ b/crates/ruff_server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_server" -version = "0.0.3" +version = "0.0.4" 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 2eaf34042d..e9bec02362 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_server). +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). 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 e8167e479d..3c1ae15c81 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.3" +version = "0.0.4" 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 2edc9a4b4b..1e7a464240 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_source_file). +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). 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 1da6e86d52..5e69e00997 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.3" +version = "0.0.4" 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 d12c578060..cbb2505bcc 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_text_size). +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). 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 3cc0288120..5986913722 100644 --- a/crates/ruff_wasm/Cargo.toml +++ b/crates/ruff_wasm/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_wasm" -version = "0.15.20" +version = "0.15.21" 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 bc5edd6e5f..7881507b87 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.20) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_wasm). +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). 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 e384a0ab3b..b35ce34304 100644 --- a/crates/ruff_workspace/Cargo.toml +++ b/crates/ruff_workspace/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ruff_workspace" -version = "0.0.3" +version = "0.0.4" 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 21f59a4b52..40a1db01bd 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ruff_workspace). +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). 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 e70fb2e9a8..b27ab8d12e 100644 --- a/crates/ty_combine/Cargo.toml +++ b/crates/ty_combine/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ty_combine" -version = "0.0.3" +version = "0.0.4" 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 8f86d231d1..e929516dc9 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ty_combine). +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). 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 0d4e9aa5a4..3ae75426f0 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.3" +version = "0.0.4" 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 f82cda8a04..6d0a6be112 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ty_module_resolver). +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). 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 3dfbfc76f6..08bef060c2 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.3" +version = "0.0.4" 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 a189fc573a..9510919965 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ty_python_core). +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). 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 ffc6045e3c..d70a876753 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.3" +version = "0.0.4" 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 846be96c0a..cf3010067a 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ty_python_semantic). +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). 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 7acb0110be..76560f7afa 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.3" +version = "0.0.4" 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 73dd87cc8d..3952b325da 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ty_site_packages). +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). 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 4ed95f879e..9de7f22d66 100644 --- a/crates/ty_static/Cargo.toml +++ b/crates/ty_static/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ty_static" -version = "0.0.3" +version = "0.0.4" 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 6341fb6ab0..55834c7bd6 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.3) is a component of [Ruff 0.15.20](https://crates.io/crates/ruff/0.15.20). The -source can be found [here](https://github.com/astral-sh/ruff/blob/0.15.20/crates/ty_static). +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). 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 0f57374c16..dc0b928a66 100644 --- a/crates/ty_vendored/Cargo.toml +++ b/crates/ty_vendored/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ty_vendored" -version = "0.0.3" +version = "0.0.4" 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 3a9c34ae92..87e7296bc0 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.20 + rev: v0.15.21 hooks: - id: ruff-format types_or: [python, pyi, jupyter, markdown] diff --git a/docs/integrations.md b/docs/integrations.md index f1b1c20b07..b2ddc6ad07 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.20-alpine + name: ghcr.io/astral-sh/ruff:0.15.21-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.20 + rev: v0.15.21 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.20 + rev: v0.15.21 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.20 + rev: v0.15.21 hooks: # Run the linter. - id: ruff-check diff --git a/docs/tutorial.md b/docs/tutorial.md index dd96fc9a87..ce731e35d3 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.20 + rev: v0.15.21 hooks: # Run the linter. - id: ruff-check diff --git a/pyproject.toml b/pyproject.toml index cb8349f6fc..9ad90e2532 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "maturin" [project] name = "ruff" -version = "0.15.20" +version = "0.15.21" 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 0cc1511ac8..0ae5a78981 100644 --- a/scripts/benchmarks/pyproject.toml +++ b/scripts/benchmarks/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "scripts" -version = "0.15.20" +version = "0.15.21" description = "" authors = ["Charles Marsh "] diff --git a/uv.lock b/uv.lock index 17c38b44c5..fe94650f2f 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.20" +version = "0.15.21" 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 = [