From 5037601c6fba922c5bf9e34e1b094cdf7d1bb624 Mon Sep 17 00:00:00 2001 From: xxchan Date: Wed, 17 Jul 2024 11:09:41 +0800 Subject: [PATCH] chore: bump typos (#17710) Signed-off-by: xxchan --- .github/workflows/typo.yml | 2 +- .typos.toml | 4 ++++ Makefile.toml | 2 +- src/connector/src/sink/clickhouse.rs | 2 +- src/storage/src/hummock/sstable/block.rs | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/typo.yml b/.github/workflows/typo.yml index bf2163cdb029..50f0ce89ac06 100644 --- a/.github/workflows/typo.yml +++ b/.github/workflows/typo.yml @@ -10,4 +10,4 @@ jobs: uses: actions/checkout@v3 - name: Check spelling of the entire repository - uses: crate-ci/typos@v1.20.4 + uses: crate-ci/typos@v1.23.2 diff --git a/.typos.toml b/.typos.toml index a7b5570bb766..225e69a6997b 100644 --- a/.typos.toml +++ b/.typos.toml @@ -30,4 +30,8 @@ extend-exclude = [ "**/Cargo.toml", "**/go.mod", "**/go.sum", + # https://github.com/risingwavelabs/risingwave/blob/0ce6228df6a4da183ae91146f2cdfff1ca9cc6a7/src/common/src/cast/mod.rs#L30 + # We don't want to fix "fals" here, but may want in other places. + # Ideally, we should just ignore that line: https://github.com/crate-ci/typos/issues/316 + "src/common/src/cast/mod.rs", ] diff --git a/Makefile.toml b/Makefile.toml index 16b5e6393e9a..6c392384f518 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -1138,7 +1138,7 @@ fi private = true category = "RiseDev - Check" description = "Run cargo typos-cli check" -install_crate = { min_version = "1.20.4", crate_name = "typos-cli", binary = "typos", test_arg = [ +install_crate = { min_version = "1.23.2", crate_name = "typos-cli", binary = "typos", test_arg = [ "--help", ], install_command = "binstall" } script = """ diff --git a/src/connector/src/sink/clickhouse.rs b/src/connector/src/sink/clickhouse.rs index bbeb27aa4514..ac4930460ece 100644 --- a/src/connector/src/sink/clickhouse.rs +++ b/src/connector/src/sink/clickhouse.rs @@ -1011,7 +1011,7 @@ pub fn build_fields_name_type_from_schema(schema: &Schema) -> Result