From cedacb43dc21580279c23d51ef16dae4539caaa0 Mon Sep 17 00:00:00 2001 From: magic-akari Date: Fri, 2 Feb 2024 21:59:34 +0800 Subject: [PATCH] chore: Update ruff_formatter and ruff_python_formatter to v0.2.0 --- Cargo.lock | 90 +++++++++++++++++++++++++++--------------------------- Cargo.toml | 4 +-- 2 files changed, 47 insertions(+), 47 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3cd2e57..1b71d39 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -19,9 +19,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.7" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4cd2405b3ac1faab2990b74d728624cd9fd115651fcecc7c2d8daf01376275ba" +checksum = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" dependencies = [ "anstyle", "anstyle-parse", @@ -33,9 +33,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +checksum = "2faccea4cc4ab4a667ce676a30e8ec13922a692c99bb8f5b11f1502c72e04220" [[package]] name = "anstyle-parse" @@ -79,9 +79,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.1" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" [[package]] name = "bstr" @@ -107,9 +107,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "4.4.16" +version = "4.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58e54881c004cec7895b0068a0a954cd5d62da01aef83fa35b1e594497bf5445" +checksum = "1e578d6ec4194633722ccf9544794b71b1385c3c027efe0c55db226fc880865c" dependencies = [ "clap_builder", "clap_derive", @@ -117,9 +117,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.4.16" +version = "4.4.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59cb82d7f531603d2fd1f507441cdd35184fa81beff7bd489570de7f773460bb" +checksum = "4df4df40ec50c46000231c914968278b1eb05098cf8f1b3a518a95030e71d1c7" dependencies = [ "anstream", "anstyle", @@ -240,9 +240,9 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" [[package]] name = "indexmap" -version = "2.1.0" +version = "2.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +checksum = "824b2ae422412366ba479e8111fd301f7b5faece8149317bb81925979a53f520" dependencies = [ "equivalent", "hashbrown", @@ -263,9 +263,9 @@ dependencies = [ [[package]] name = "itertools" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25db6b064527c5d482d0423354fcd07a89a2dfe07b67892e62411946db7f07b0" +checksum = "ba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569" dependencies = [ "either", ] @@ -278,9 +278,9 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "js-sys" -version = "0.3.66" +version = "0.3.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" +checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1" dependencies = [ "wasm-bindgen", ] @@ -293,9 +293,9 @@ checksum = "3f35c735096c0293d313e8f2a641627472b83d01b937177fe76e5e2708d31e0d" [[package]] name = "libc" -version = "0.2.152" +version = "0.2.153" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" +checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd" [[package]] name = "log" @@ -323,9 +323,9 @@ checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" [[package]] name = "proc-macro2" -version = "1.0.76" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" dependencies = [ "unicode-ident", ] @@ -350,9 +350,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.10.2" +version = "1.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" dependencies = [ "aho-corasick", "memchr", @@ -362,9 +362,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cd" dependencies = [ "aho-corasick", "memchr", @@ -386,7 +386,7 @@ checksum = "e898588f33fdd5b9420719948f9f2a32c922a246964576f71ba7f24f80610fbc" [[package]] name = "ruff_cache" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.1.12#55f8f3b2cc64188393e978af8e80a7309714eda4" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.2.0#1fadefa67b26508cc59cf38e6130bde2243c929d" dependencies = [ "filetime", "glob", @@ -436,7 +436,7 @@ dependencies = [ [[package]] name = "ruff_formatter" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.1.12#55f8f3b2cc64188393e978af8e80a7309714eda4" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.2.0#1fadefa67b26508cc59cf38e6130bde2243c929d" dependencies = [ "drop_bomb", "ruff_cache", @@ -452,7 +452,7 @@ dependencies = [ [[package]] name = "ruff_macros" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.1.12#55f8f3b2cc64188393e978af8e80a7309714eda4" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.2.0#1fadefa67b26508cc59cf38e6130bde2243c929d" dependencies = [ "itertools", "proc-macro2", @@ -464,9 +464,9 @@ dependencies = [ [[package]] name = "ruff_python_ast" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.1.12#55f8f3b2cc64188393e978af8e80a7309714eda4" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.2.0#1fadefa67b26508cc59cf38e6130bde2243c929d" dependencies = [ - "bitflags 2.4.1", + "bitflags 2.4.2", "is-macro", "itertools", "ruff_python_trivia", @@ -481,10 +481,10 @@ dependencies = [ [[package]] name = "ruff_python_formatter" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.1.12#55f8f3b2cc64188393e978af8e80a7309714eda4" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.2.0#1fadefa67b26508cc59cf38e6130bde2243c929d" dependencies = [ "anyhow", - "bitflags 2.4.1", + "bitflags 2.4.2", "clap", "countme", "itertools", @@ -512,7 +512,7 @@ dependencies = [ [[package]] name = "ruff_python_index" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.1.12#55f8f3b2cc64188393e978af8e80a7309714eda4" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.2.0#1fadefa67b26508cc59cf38e6130bde2243c929d" dependencies = [ "ruff_python_ast", "ruff_python_parser", @@ -524,10 +524,10 @@ dependencies = [ [[package]] name = "ruff_python_parser" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.1.12#55f8f3b2cc64188393e978af8e80a7309714eda4" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.2.0#1fadefa67b26508cc59cf38e6130bde2243c929d" dependencies = [ "anyhow", - "bitflags 2.4.1", + "bitflags 2.4.2", "is-macro", "itertools", "lalrpop-util", @@ -544,7 +544,7 @@ dependencies = [ [[package]] name = "ruff_python_trivia" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.1.12#55f8f3b2cc64188393e978af8e80a7309714eda4" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.2.0#1fadefa67b26508cc59cf38e6130bde2243c929d" dependencies = [ "itertools", "ruff_source_file", @@ -555,7 +555,7 @@ dependencies = [ [[package]] name = "ruff_source_file" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.1.12#55f8f3b2cc64188393e978af8e80a7309714eda4" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.2.0#1fadefa67b26508cc59cf38e6130bde2243c929d" dependencies = [ "memchr", "once_cell", @@ -566,7 +566,7 @@ dependencies = [ [[package]] name = "ruff_text_size" version = "0.0.0" -source = "git+https://github.com/astral-sh/ruff.git?tag=v0.1.12#55f8f3b2cc64188393e978af8e80a7309714eda4" +source = "git+https://github.com/astral-sh/ruff.git?tag=v0.2.0#1fadefa67b26508cc59cf38e6130bde2243c929d" dependencies = [ "serde", ] @@ -591,9 +591,9 @@ checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" [[package]] name = "serde" -version = "1.0.195" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02" +checksum = "870026e60fa08c69f064aa766c10f10b1d62db9ccd4d0abb206472bee0ce3b32" dependencies = [ "serde_derive", ] @@ -611,9 +611,9 @@ dependencies = [ [[package]] name = "serde_derive" -version = "1.0.195" +version = "1.0.196" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c" +checksum = "33c85360c95e7d137454dc81d9a4ed2b8efd8fbe19cee57357b32b9771fccb67" dependencies = [ "proc-macro2", "quote", @@ -622,9 +622,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.111" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4" +checksum = "69801b70b1c3dac963ecb03a364ba0ceda9cf60c71cfe475e99864759c8b8a79" dependencies = [ "indexmap", "itoa", @@ -634,9 +634,9 @@ dependencies = [ [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" [[package]] name = "static_assertions" diff --git a/Cargo.toml b/Cargo.toml index 12b8bef..7b3f395 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,8 +17,8 @@ resolver = "2" [workspace.dependencies] ruff_fmt_config = { path = "crates/ruff_fmt_config" } - ruff_formatter = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.1.12" } - ruff_python_formatter = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.1.12" } + ruff_formatter = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.2.0" } + ruff_python_formatter = { git = "https://github.com/astral-sh/ruff.git", tag = "v0.2.0" } serde = { version = "1.0" } serde_json = { version = "1.0" } wasm-bindgen = "0.2.90"