From 8958c9e10f20a1cf83fe0efea6c4c0420b84e977 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Tue, 2 Apr 2024 21:02:25 -0400 Subject: [PATCH] Suppress typos in `basic.conf` (#10099) This PR updates the `typos` configuration to suppress some typos in `basic.conf`. AFAICT there must have been an update to `typos` that caused this new warning to appear. Release Notes: - N/A --- script/squawk | 2 ++ typos.toml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/script/squawk b/script/squawk index cb3a76bf51..d310795fd9 100755 --- a/script/squawk +++ b/script/squawk @@ -17,6 +17,8 @@ SQUAWK_ARGS="--assume-in-transaction --config script/lib/squawk.toml" if [ ! -f "$SQUAWK_BIN" ]; then pkgutil --pkg-info com.apple.pkg.RosettaUpdateAuto || /usr/sbin/softwareupdate --install-rosetta --agree-to-license + # When bootstrapping a brand new CI machine, the `target` directory may not exist yet. + mkdir -p "./target" curl -L -o "$SQUAWK_BIN" "https://github.com/sbdchd/squawk/releases/download/v$SQUAWK_VERSION/squawk-darwin-x86_64" chmod +x "$SQUAWK_BIN" fi diff --git a/typos.toml b/typos.toml index 23dd801729..9885793498 100644 --- a/typos.toml +++ b/typos.toml @@ -17,8 +17,10 @@ extend-exclude = [ "crates/editor/src/editor_tests.rs", # Clojure uses .edn filename extension, which is not a misspelling of "end" "extensions/clojure/languages/clojure/config.toml", - # Windows likes it's abbreviations + # Windows likes its abbreviations "crates/gpui/src/platform/windows/", + # False positive in one of the configuration values. + "crates/collab/basic.conf" ] [default]