mirror of
https://github.com/astral-sh/ruff.git
synced 2026-10-28 10:45:37 +08:00
Bump version to 0.17.3 (#29745)
Co-authored-by: astral-automations-bot[bot] <305554984+astral-automations-bot[bot]@users.noreply.github.com> Co-authored-by: Brent Westbrook <36778786+ntBre@users.noreply.github.com>
This commit is contained in:
1 parent
fb2f921879
commit
ba65abf8ba
93 files changed
+244
-216
No files matched your search
@@ -26,6 +26,6 @@ body:
|
||||
attributes:
|
||||
label: Version
|
||||
description: What version of ruff are you using? (see `ruff version`)
|
||||
placeholder: e.g., ruff 0.17.2
|
||||
placeholder: e.g., ruff 0.17.3
|
||||
validations:
|
||||
required: false
|
||||
@@ -13,6 +13,6 @@ body:
|
||||
attributes:
|
||||
label: Version
|
||||
description: What version of ruff are you using? (see `ruff version`)
|
||||
placeholder: e.g., ruff 0.17.2
|
||||
placeholder: e.g., ruff 0.17.3
|
||||
validations:
|
||||
required: false
|
||||
@@ -1,5 +1,33 @@
|
||||
# Changelog
|
||||
|
||||
## 0.17.3
|
||||
|
||||
Released on 2026-10-26.
|
||||
|
||||
### Preview features
|
||||
|
||||
- \[`suspicious`\] Add `shared-clock-mock` ([#29074](https://github.com/astral-sh/ruff/pull/29074))
|
||||
|
||||
### Bug fixes
|
||||
|
||||
- \[`pyupgrade`\] Avoid incorrect conversions to f-strings (`UP032`) ([#25485](https://github.com/astral-sh/ruff/pull/25485))
|
||||
|
||||
### Performance
|
||||
|
||||
- Buffer stdout in `ruff format` ([#29631](https://github.com/astral-sh/ruff/pull/29631))
|
||||
- Specialize ASCII identifier lexing ([#29503](https://github.com/astral-sh/ruff/pull/29503))
|
||||
- Speed up identifier and keyword lexing ([#29463](https://github.com/astral-sh/ruff/pull/29463))
|
||||
|
||||
### Documentation
|
||||
|
||||
- \[`flake8-bandit`\] Describe what the rule actually checks for `httpx` (`S113`) ([#27936](https://github.com/astral-sh/ruff/pull/27936))
|
||||
|
||||
### Contributors
|
||||
|
||||
- [@itsvedantkumar](https://github.com/itsvedantkumar)
|
||||
- [@charliermarsh](https://github.com/charliermarsh)
|
||||
- [@anishgirianish](https://github.com/anishgirianish)
|
||||
|
||||
## 0.17.2
|
||||
|
||||
Released on 2026-10-22.
|
||||
|
||||
Generated
+41
-41
@@ -3098,7 +3098,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff"
|
||||
version = "0.17.2"
|
||||
version = "0.17.3"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"assert_fs",
|
||||
@@ -3162,7 +3162,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_annotate_snippets"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anstream 1.0.0",
|
||||
"anstyle",
|
||||
@@ -3206,7 +3206,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_cache"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"char_str",
|
||||
"filetime",
|
||||
@@ -3220,14 +3220,14 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_command_line"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"argfile",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ruff_db"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anstyle",
|
||||
"arc-swap",
|
||||
@@ -3319,7 +3319,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_diagnostics"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"get-size2",
|
||||
"is-macro",
|
||||
@@ -3329,7 +3329,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_formatter"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"drop_bomb",
|
||||
"ruff_cache",
|
||||
@@ -3345,7 +3345,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_graph"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"clap",
|
||||
@@ -3366,7 +3366,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_index"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"get-size2",
|
||||
"ruff_macros",
|
||||
@@ -3376,7 +3376,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_linter"
|
||||
version = "0.17.2"
|
||||
version = "0.17.3"
|
||||
dependencies = [
|
||||
"aho-corasick",
|
||||
"anyhow",
|
||||
@@ -3438,7 +3438,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_macros"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"heck",
|
||||
"itertools 0.15.0",
|
||||
@@ -3451,7 +3451,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_markdown"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"insta",
|
||||
"regex",
|
||||
@@ -3482,14 +3482,14 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_memory_usage"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"get-size2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ruff_notebook"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"rand 0.10.3",
|
||||
@@ -3505,14 +3505,14 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_options_metadata"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ruff_python_ast"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"aho-corasick",
|
||||
"arrayvec",
|
||||
@@ -3549,7 +3549,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_python_codegen"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"ruff_python_ast",
|
||||
"ruff_python_literal",
|
||||
@@ -3561,7 +3561,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_python_edits"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"ruff_python_ast",
|
||||
"ruff_python_parser",
|
||||
@@ -3571,7 +3571,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_python_formatter"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"clap",
|
||||
@@ -3604,7 +3604,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_python_importer"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"insta",
|
||||
@@ -3619,7 +3619,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_python_index"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"ruff_python_ast",
|
||||
"ruff_python_parser",
|
||||
@@ -3630,7 +3630,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_python_literal"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"bitflags 2.13.2",
|
||||
"icu_normalizer",
|
||||
@@ -3641,7 +3641,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_python_parser"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bitflags 2.13.2",
|
||||
@@ -3672,7 +3672,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_python_semantic"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"bitflags 2.13.2",
|
||||
"insta",
|
||||
@@ -3693,7 +3693,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_python_stdlib"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"bitflags 2.13.2",
|
||||
"unicode-ident",
|
||||
@@ -3701,7 +3701,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_python_trivia"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"itertools 0.15.0",
|
||||
"memchr",
|
||||
@@ -3724,7 +3724,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_ranged_value"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"get-size2",
|
||||
"ruff_db",
|
||||
@@ -3737,7 +3737,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_server"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"crossbeam",
|
||||
@@ -3781,7 +3781,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_source_file"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"get-size2",
|
||||
"memchr",
|
||||
@@ -3791,7 +3791,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_text_size"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"get-size2",
|
||||
"schemars",
|
||||
@@ -3802,7 +3802,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_unicode_names2"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"phf 0.14.0",
|
||||
"rand 0.10.3",
|
||||
@@ -3811,7 +3811,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_unicode_names2_generator"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"phf_codegen 0.14.0",
|
||||
"rand 0.10.3",
|
||||
@@ -3819,7 +3819,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_wasm"
|
||||
version = "0.17.2"
|
||||
version = "0.17.3"
|
||||
dependencies = [
|
||||
"console_error_panic_hook",
|
||||
"console_log",
|
||||
@@ -3846,7 +3846,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ruff_workspace"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"colored",
|
||||
@@ -4729,7 +4729,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ty_combine"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"ordermap",
|
||||
"ruff_db",
|
||||
@@ -4810,7 +4810,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ty_module_resolver"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"camino",
|
||||
@@ -4891,7 +4891,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ty_python_core"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bitflags 2.13.2",
|
||||
@@ -4926,7 +4926,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ty_python_semantic"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"bitflags 2.13.2",
|
||||
@@ -5027,7 +5027,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ty_site_packages"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"camino",
|
||||
"colored",
|
||||
@@ -5048,7 +5048,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ty_static"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"ruff_macros",
|
||||
]
|
||||
@@ -5081,7 +5081,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "ty_vendored"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
dependencies = [
|
||||
"path-slash",
|
||||
"ruff_db",
|
||||
|
||||
+40
-40
@@ -14,55 +14,55 @@ license = "MIT"
|
||||
|
||||
[workspace.dependencies]
|
||||
char_str = { version = "0.0.4", default-features = false, features = ["std"] }
|
||||
ruff = { version = "0.17.2", path = "crates/ruff" }
|
||||
ruff_annotate_snippets = { version = "0.0.19", path = "crates/ruff_annotate_snippets" }
|
||||
ruff_cache = { version = "0.0.19", path = "crates/ruff_cache" }
|
||||
ruff_command_line = { version = "0.0.19", path = "crates/ruff_command_line" }
|
||||
ruff_db = { version = "0.0.19", path = "crates/ruff_db", default-features = false }
|
||||
ruff_diagnostics = { version = "0.0.19", path = "crates/ruff_diagnostics" }
|
||||
ruff_formatter = { version = "0.0.19", path = "crates/ruff_formatter" }
|
||||
ruff_graph = { version = "0.0.19", path = "crates/ruff_graph" }
|
||||
ruff_index = { version = "0.0.19", path = "crates/ruff_index" }
|
||||
ruff_linter = { version = "0.17.2", path = "crates/ruff_linter" }
|
||||
ruff_macros = { version = "0.0.19", path = "crates/ruff_macros" }
|
||||
ruff_markdown = { version = "0.0.19", path = "crates/ruff_markdown" }
|
||||
ruff_memory_usage = { version = "0.0.19", path = "crates/ruff_memory_usage" }
|
||||
ruff_notebook = { version = "0.0.19", path = "crates/ruff_notebook" }
|
||||
ruff_options_metadata = { version = "0.0.19", path = "crates/ruff_options_metadata" }
|
||||
ruff_python_ast = { version = "0.0.19", path = "crates/ruff_python_ast" }
|
||||
ruff_python_codegen = { version = "0.0.19", path = "crates/ruff_python_codegen" }
|
||||
ruff_python_edits = { version = "0.0.19", path = "crates/ruff_python_edits" }
|
||||
ruff_python_formatter = { version = "0.0.19", path = "crates/ruff_python_formatter" }
|
||||
ruff_python_importer = { version = "0.0.19", path = "crates/ruff_python_importer" }
|
||||
ruff_python_index = { version = "0.0.19", path = "crates/ruff_python_index" }
|
||||
ruff_python_literal = { version = "0.0.19", path = "crates/ruff_python_literal" }
|
||||
ruff_python_parser = { version = "0.0.19", path = "crates/ruff_python_parser" }
|
||||
ruff_python_semantic = { version = "0.0.19", path = "crates/ruff_python_semantic" }
|
||||
ruff_python_stdlib = { version = "0.0.19", path = "crates/ruff_python_stdlib" }
|
||||
ruff_python_trivia = { version = "0.0.19", path = "crates/ruff_python_trivia" }
|
||||
ruff_server = { version = "0.0.19", path = "crates/ruff_server" }
|
||||
ruff_source_file = { version = "0.0.19", path = "crates/ruff_source_file" }
|
||||
ruff = { version = "0.17.3", path = "crates/ruff" }
|
||||
ruff_annotate_snippets = { version = "0.0.20", path = "crates/ruff_annotate_snippets" }
|
||||
ruff_cache = { version = "0.0.20", path = "crates/ruff_cache" }
|
||||
ruff_command_line = { version = "0.0.20", path = "crates/ruff_command_line" }
|
||||
ruff_db = { version = "0.0.20", path = "crates/ruff_db", default-features = false }
|
||||
ruff_diagnostics = { version = "0.0.20", path = "crates/ruff_diagnostics" }
|
||||
ruff_formatter = { version = "0.0.20", path = "crates/ruff_formatter" }
|
||||
ruff_graph = { version = "0.0.20", path = "crates/ruff_graph" }
|
||||
ruff_index = { version = "0.0.20", path = "crates/ruff_index" }
|
||||
ruff_linter = { version = "0.17.3", path = "crates/ruff_linter" }
|
||||
ruff_macros = { version = "0.0.20", path = "crates/ruff_macros" }
|
||||
ruff_markdown = { version = "0.0.20", path = "crates/ruff_markdown" }
|
||||
ruff_memory_usage = { version = "0.0.20", path = "crates/ruff_memory_usage" }
|
||||
ruff_notebook = { version = "0.0.20", path = "crates/ruff_notebook" }
|
||||
ruff_options_metadata = { version = "0.0.20", path = "crates/ruff_options_metadata" }
|
||||
ruff_python_ast = { version = "0.0.20", path = "crates/ruff_python_ast" }
|
||||
ruff_python_codegen = { version = "0.0.20", path = "crates/ruff_python_codegen" }
|
||||
ruff_python_edits = { version = "0.0.20", path = "crates/ruff_python_edits" }
|
||||
ruff_python_formatter = { version = "0.0.20", path = "crates/ruff_python_formatter" }
|
||||
ruff_python_importer = { version = "0.0.20", path = "crates/ruff_python_importer" }
|
||||
ruff_python_index = { version = "0.0.20", path = "crates/ruff_python_index" }
|
||||
ruff_python_literal = { version = "0.0.20", path = "crates/ruff_python_literal" }
|
||||
ruff_python_parser = { version = "0.0.20", path = "crates/ruff_python_parser" }
|
||||
ruff_python_semantic = { version = "0.0.20", path = "crates/ruff_python_semantic" }
|
||||
ruff_python_stdlib = { version = "0.0.20", path = "crates/ruff_python_stdlib" }
|
||||
ruff_python_trivia = { version = "0.0.20", path = "crates/ruff_python_trivia" }
|
||||
ruff_server = { version = "0.0.20", path = "crates/ruff_server" }
|
||||
ruff_source_file = { version = "0.0.20", path = "crates/ruff_source_file" }
|
||||
ruff_mdtest = { path = "crates/ruff_mdtest" }
|
||||
ruff_ranged_value = { version = "0.0.19", path = "crates/ruff_ranged_value" }
|
||||
ruff_text_size = { version = "0.0.19", path = "crates/ruff_text_size" }
|
||||
ruff_unicode_names2 = { version = "0.0.19", path = "crates/ruff_unicode_names2" }
|
||||
ruff_unicode_names2_generator = { version = "0.0.19", path = "crates/ruff_unicode_names2_generator" }
|
||||
ruff_workspace = { version = "0.0.19", path = "crates/ruff_workspace" }
|
||||
ruff_ranged_value = { version = "0.0.20", path = "crates/ruff_ranged_value" }
|
||||
ruff_text_size = { version = "0.0.20", path = "crates/ruff_text_size" }
|
||||
ruff_unicode_names2 = { version = "0.0.20", path = "crates/ruff_unicode_names2" }
|
||||
ruff_unicode_names2_generator = { version = "0.0.20", path = "crates/ruff_unicode_names2_generator" }
|
||||
ruff_workspace = { version = "0.0.20", path = "crates/ruff_workspace" }
|
||||
|
||||
ty = { path = "crates/ty" }
|
||||
ty_combine = { version = "0.0.19", path = "crates/ty_combine" }
|
||||
ty_combine = { version = "0.0.20", 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.19", path = "crates/ty_module_resolver" }
|
||||
ty_module_resolver = { version = "0.0.20", path = "crates/ty_module_resolver" }
|
||||
ty_project = { path = "crates/ty_project", default-features = false }
|
||||
ty_python_semantic = { version = "0.0.19", path = "crates/ty_python_semantic" }
|
||||
ty_python_core = { version = "0.0.19", path = "crates/ty_python_core" }
|
||||
ty_python_semantic = { version = "0.0.20", path = "crates/ty_python_semantic" }
|
||||
ty_python_core = { version = "0.0.20", path = "crates/ty_python_core" }
|
||||
ty_server = { path = "crates/ty_server" }
|
||||
ty_site_packages = { version = "0.0.19", path = "crates/ty_site_packages" }
|
||||
ty_static = { version = "0.0.19", path = "crates/ty_static" }
|
||||
ty_site_packages = { version = "0.0.20", path = "crates/ty_site_packages" }
|
||||
ty_static = { version = "0.0.20", path = "crates/ty_static" }
|
||||
ty_test = { path = "crates/ty_test" }
|
||||
ty_vendored = { version = "0.0.19", path = "crates/ty_vendored" }
|
||||
ty_vendored = { version = "0.0.20", path = "crates/ty_vendored" }
|
||||
|
||||
mdtest = { path = "crates/mdtest" }
|
||||
|
||||
|
||||
@@ -122,8 +122,8 @@ Ruff is available as [`ruff`](https://pypi.org/project/ruff/) on PyPI.
|
||||
Invoke Ruff directly with [`uvx`](https://docs.astral.sh/uv/):
|
||||
|
||||
```shell
|
||||
uvx ruff@0.17.2 check # Lint all files in the current directory.
|
||||
uvx ruff@0.17.2 format # Format all files in the current directory.
|
||||
uvx ruff@0.17.3 check # Lint all files in the current directory.
|
||||
uvx ruff@0.17.3 format # Format all files in the current directory.
|
||||
```
|
||||
|
||||
Or install Ruff with `uv` (recommended), `pip`, or `pipx`:
|
||||
@@ -150,8 +150,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.17.2/install.sh | sh
|
||||
powershell -c "irm https://astral.sh/ruff/0.17.2/install.ps1 | iex"
|
||||
curl -LsSf https://astral.sh/ruff/0.17.3/install.sh | sh
|
||||
powershell -c "irm https://astral.sh/ruff/0.17.3/install.ps1 | iex"
|
||||
```
|
||||
|
||||
You can also install Ruff via [Homebrew](https://formulae.brew.sh/formula/ruff), [Conda](https://anaconda.org/conda-forge/ruff),
|
||||
@@ -184,7 +184,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.17.2
|
||||
rev: v0.17.3
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff-check
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff"
|
||||
version = "0.17.2"
|
||||
version = "0.17.3"
|
||||
description = "An extremely fast Python linter and code formatter"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.17.2. The source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff).
|
||||
This is version 0.17.3. The source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff).
|
||||
|
||||
The following Ruff workspace members are also available:
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_annotate_snippets"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_cache"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_cache).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_cache).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_command_line"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_command_line).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_command_line).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_db"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_db).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_db).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_diagnostics"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_diagnostics).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_diagnostics).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_formatter"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_formatter).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_formatter).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_graph"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_graph).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_graph).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_index"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_index).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_index).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_linter"
|
||||
version = "0.17.2"
|
||||
version = "0.17.3"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.17.2) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_linter).
|
||||
This version (0.17.3) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_linter).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -54,7 +54,7 @@ use crate::codes::Category;
|
||||
/// - [Python documentation: Where to patch](https://docs.python.org/3/library/unittest.mock.html#where-to-patch)
|
||||
/// - [pytest documentation: Monkeypatching](https://docs.pytest.org/en/stable/how-to/monkeypatch.html)
|
||||
#[derive(ViolationMetadata)]
|
||||
#[violation_metadata(preview_since = "NEXT_RUFF_VERSION", category = Category::Suspicious)]
|
||||
#[violation_metadata(preview_since = "0.17.3", category = Category::Suspicious)]
|
||||
pub(crate) struct SharedClockMock {
|
||||
function: String,
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_macros"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_macros).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_macros).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_markdown"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_markdown).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_markdown).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_memory_usage"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_memory_usage).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_memory_usage).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_notebook"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_notebook).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_notebook).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_options_metadata"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_options_metadata).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_options_metadata).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_python_ast"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_python_ast).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_python_ast).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_python_codegen"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_python_codegen).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_python_codegen).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_python_edits"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_python_edits).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_python_edits).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_python_formatter"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_python_formatter).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_python_formatter).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_python_importer"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_python_importer).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_python_importer).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_python_index"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_python_index).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_python_index).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_python_literal"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = ["Charlie Marsh <charlie.r.marsh@gmail.com>", "RustPython Team"]
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_python_literal).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_python_literal).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_python_parser"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = ["Charlie Marsh <charlie.r.marsh@gmail.com>", "RustPython Team"]
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_python_parser).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_python_parser).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_python_semantic"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_python_semantic).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_python_semantic).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_python_stdlib"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_python_stdlib).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_python_stdlib).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_python_trivia"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_python_trivia).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_python_trivia).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_ranged_value"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_ranged_value).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_ranged_value).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_server"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_server).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_server).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_source_file"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_source_file).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_source_file).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_text_size"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_text_size).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_text_size).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_unicode_names2"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_unicode_names2_generator"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_unicode_names2_generator).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_unicode_names2_generator).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_wasm"
|
||||
version = "0.17.2"
|
||||
version = "0.17.3"
|
||||
description = "WebAssembly bindings for Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.17.2) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_wasm).
|
||||
This version (0.17.3) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_wasm).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ruff_workspace"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ruff_workspace).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ruff_workspace).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ty_combine"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
edition.workspace = true
|
||||
rust-version.workspace = true
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ty_combine).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ty_combine).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ty_module_resolver"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ty_module_resolver).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ty_module_resolver).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ty_python_core"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ty_python_core).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ty_python_core).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ty_python_semantic"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ty_python_semantic).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ty_python_semantic).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ty_site_packages"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ty_site_packages).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ty_site_packages).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ty_static"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
edition = { workspace = true }
|
||||
rust-version = { workspace = true }
|
||||
|
||||
@@ -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.19) is a component of [Ruff 0.17.2](https://crates.io/crates/ruff/0.17.2). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.2/crates/ty_static).
|
||||
This version (0.0.20) is a component of [Ruff 0.17.3](https://crates.io/crates/ruff/0.17.3). The
|
||||
source can be found [here](https://github.com/astral-sh/ruff/blob/0.17.3/crates/ty_static).
|
||||
|
||||
See Ruff's [crate versioning policy](https://docs.astral.sh/ruff/versioning/#crate-versioning) for
|
||||
details on versioning.
|
||||
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "ty_vendored"
|
||||
version = "0.0.19"
|
||||
version = "0.0.20"
|
||||
description = "This is an internal component crate of Ruff"
|
||||
authors = { workspace = true }
|
||||
edition = { workspace = true }
|
||||
|
||||
+1
-1
@@ -303,7 +303,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.17.2
|
||||
rev: v0.17.3
|
||||
hooks:
|
||||
- id: ruff-format
|
||||
types_or: [python, pyi, jupyter, markdown]
|
||||
|
||||
@@ -5,8 +5,8 @@ Ruff is available as [`ruff`](https://pypi.org/project/ruff/) on PyPI.
|
||||
Ruff can be invoked directly with [`uvx`](https://docs.astral.sh/uv/):
|
||||
|
||||
```shell
|
||||
uvx ruff@0.17.2 check # Lint all files in the current directory.
|
||||
uvx ruff@0.17.2 format # Format all files in the current directory.
|
||||
uvx ruff@0.17.3 check # Lint all files in the current directory.
|
||||
uvx ruff@0.17.3 format # Format all files in the current directory.
|
||||
```
|
||||
|
||||
Or installed with `uv` (recommended), `pip`, or `pipx`:
|
||||
|
||||
@@ -81,7 +81,7 @@ Add the following configuration to `.gitlab-ci.yml` to run `ruff format` in para
|
||||
stage: build
|
||||
interruptible: true
|
||||
image:
|
||||
name: ghcr.io/astral-sh/ruff:0.17.2-alpine
|
||||
name: ghcr.io/astral-sh/ruff:0.17.3-alpine
|
||||
before_script:
|
||||
- cd $CI_PROJECT_DIR
|
||||
- ruff --version
|
||||
@@ -107,7 +107,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.17.2
|
||||
rev: v0.17.3
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff-check
|
||||
@@ -120,7 +120,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.17.2
|
||||
rev: v0.17.3
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff-check
|
||||
@@ -134,7 +134,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.17.2
|
||||
rev: v0.17.3
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff-check
|
||||
|
||||
+1
-1
@@ -378,7 +378,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.17.2
|
||||
rev: v0.17.3
|
||||
hooks:
|
||||
# Run the linter.
|
||||
- id: ruff-check
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ build-backend = "maturin"
|
||||
|
||||
[project]
|
||||
name = "ruff"
|
||||
version = "0.17.2"
|
||||
version = "0.17.3"
|
||||
description = "An extremely fast Python linter and code formatter, written in Rust."
|
||||
authors = [{ name = "Astral Software Inc.", email = "hey@astral.sh" }]
|
||||
readme = "README.md"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "scripts"
|
||||
version = "0.17.2"
|
||||
version = "0.17.3"
|
||||
description = ""
|
||||
authors = ["Charles Marsh <charlie.r.marsh@gmail.com>"]
|
||||
|
||||
|
||||
Reference in new issue
Block a user