fix: cleanup typos with typos:off/on comments (#7301)

* fix: cleanup typos with typos:off/on comments

* tombi

* bump tombi version
This commit is contained in:
aecsocket
2026-08-25 15:18:27 +00:00
committed by GitHub
parent bb35950340
commit e33ef5f252
9 changed files with 28 additions and 65 deletions
+2 -2
View File
@@ -20,8 +20,8 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: taiki-e/install-action@fd2f5e3d644b484055ebf4268f474c565f148f25 # v2.81.9 - uses: taiki-e/install-action@b6ff580856c41316412a0b9b60540fbc6f8c82cc # v2.86.7
with: with:
tool: tombi tool: tombi@1.4.1
- run: tombi lint - run: tombi lint
- run: tombi fmt --check - run: tombi fmt --check
+3 -10
View File
@@ -42,9 +42,7 @@ async-stripe = { version = "0.41.0", default-features = false, features = [
"runtime-tokio-hyper-rustls", "runtime-tokio-hyper-rustls",
] } ] }
async-trait = "0.1.89" async-trait = "0.1.89"
async-tungstenite = { version = "0.31.0", default-features = false, features = [ async-tungstenite = { version = "0.31.0", default-features = false, features = ["futures-03-sink"] }
"futures-03-sink"
] }
async-walkdir = "2.1.0" async-walkdir = "2.1.0"
async_zip = "0.0.18" async_zip = "0.0.18"
aws-sdk-s3 = { version = "=1.122.0", default-features = false, features = [ aws-sdk-s3 = { version = "=1.122.0", default-features = false, features = [
@@ -61,9 +59,7 @@ censor = "0.3.0"
chardetng = "0.1.17" chardetng = "0.1.17"
chrono = "0.4.42" chrono = "0.4.42"
chumsky = "0.9.3" chumsky = "0.9.3"
cidre = { version = "0.15.0", default-features = false, features = [ cidre = { version = "0.15.0", default-features = false, features = ["macos_15_0"] }
"macos_15_0"
] }
clap = "4.5.48" clap = "4.5.48"
clickhouse = "0.14.0" clickhouse = "0.14.0"
color-eyre = "0.6.5" color-eyre = "0.6.5"
@@ -163,10 +159,7 @@ redis = "1.4.1"
regex = "1.12.2" regex = "1.12.2"
reqwest = { version = "0.12.24", default-features = false } reqwest = { version = "0.12.24", default-features = false }
rgb = "0.8.52" rgb = "0.8.52"
rust_decimal = { version = "1.39.0", features = [ rust_decimal = { version = "1.39.0", features = ["serde-with-float", "serde-with-str"] }
"serde-with-float",
"serde-with-str"
] }
rust_iso3166 = "0.1.14" rust_iso3166 = "0.1.14"
rust-s3 = { version = "0.37.0", default-features = false, features = [ rust-s3 = { version = "0.37.0", default-features = false, features = [
"fail-on-err", "fail-on-err",
+10 -5
View File
@@ -6,11 +6,16 @@ extend-exclude = [
"packages/utils/", "packages/utils/",
"packages/ui/", "packages/ui/",
"packages/blog/", "packages/blog/",
# contains licenses like `CC-BY-ND-4.0` ]
"packages/moderation/src/data/stages/license.ts",
"packages/moderation/src/utils.ts", [default]
# contains payment card IDs like `IY1VMST1MOXS` which are flagged extend-ignore-re = [
"apps/labrinth/src/queue/payouts/mod.rs", # Ignore lines that end with `// typos:ignore`
"(?Rm)^.*(#|//)\\s*typos:ignore$",
# Ignore the line after `// typos:ignore`:
"(#|//)\\s*typos:ignore\\n.*",
# Ignore blocks between `// typos:off` and `// typos:on`
"(?s)(#|//)\\s*typos:off.*?\\n\\s*(#|//)\\s*typos:on",
] ]
[default.extend-words] [default.extend-words]
+5 -27
View File
@@ -22,12 +22,7 @@ arc-swap = { workspace = true }
argon2 = { workspace = true } argon2 = { workspace = true }
ariadne = { workspace = true } ariadne = { workspace = true }
async-minecraft-ping = { workspace = true, features = ["srv"] } async-minecraft-ping = { workspace = true, features = ["srv"] }
async-stripe = { workspace = true, features = [ async-stripe = { workspace = true, features = ["billing", "checkout", "connect", "webhook-events"] }
"billing",
"checkout",
"connect",
"webhook-events"
] }
async-trait = { workspace = true } async-trait = { workspace = true }
aws-sdk-s3 = { workspace = true } aws-sdk-s3 = { workspace = true }
base64 = { workspace = true } base64 = { workspace = true }
@@ -87,24 +82,10 @@ quick-xml = { workspace = true }
rand = { workspace = true } rand = { workspace = true }
rand_chacha = { workspace = true } rand_chacha = { workspace = true }
rdkafka = { workspace = true } rdkafka = { workspace = true }
redis = { workspace = true, features = [ redis = { workspace = true, features = ["ahash", "cluster", "cluster-async", "r2d2", "tokio-comp"] }
"ahash",
"cluster",
"cluster-async",
"r2d2",
"tokio-comp"
] }
regex = { workspace = true } regex = { workspace = true }
reqwest = { workspace = true, features = [ reqwest = { workspace = true, features = ["http2", "json", "multipart", "rustls-tls-webpki-roots"] }
"http2", rust_decimal = { workspace = true, features = ["serde-with-float", "serde-with-str"] }
"json",
"multipart",
"rustls-tls-webpki-roots"
] }
rust_decimal = { workspace = true, features = [
"serde-with-float",
"serde-with-str"
] }
rust_iso3166 = { workspace = true } rust_iso3166 = { workspace = true }
rustls.workspace = true rustls.workspace = true
rusty-money = { workspace = true } rusty-money = { workspace = true }
@@ -141,10 +122,7 @@ urlencoding = { workspace = true }
utoipa = { workspace = true, features = ["url"] } utoipa = { workspace = true, features = ["url"] }
uuid = { workspace = true, features = ["fast-rng", "serde", "v4", "v7"] } uuid = { workspace = true, features = ["fast-rng", "serde", "v4", "v7"] }
validator = { workspace = true, features = ["derive"] } validator = { workspace = true, features = ["derive"] }
webauthn-rs = { workspace = true, features = [ webauthn-rs = { workspace = true, features = ["conditional-ui", "danger-allow-state-serialisation"] }
"conditional-ui",
"danger-allow-state-serialisation"
] }
webauthn-rs-proto = { workspace = true } webauthn-rs-proto = { workspace = true }
webp = { workspace = true } webp = { workspace = true }
woothee = { workspace = true } woothee = { workspace = true }
+2
View File
@@ -724,6 +724,7 @@ async fn get_tremendous_payout_methods(
for product in response.products { for product in response.products {
const BLACKLISTED_IDS: &[&str] = &[ const BLACKLISTED_IDS: &[&str] = &[
// typos:off
// physical visa // physical visa
"A2J05SWPI2QG", "A2J05SWPI2QG",
// crypto // crypto
@@ -756,6 +757,7 @@ async fn get_tremendous_payout_methods(
"NL4JQ2G7UPRZ", "NL4JQ2G7UPRZ",
"OEFTMSBA5ELH", "OEFTMSBA5ELH",
"A3CQK6UHNV27", "A3CQK6UHNV27",
// typos:on
]; ];
const SUPPORTED_METHODS: &[&str] = &[ const SUPPORTED_METHODS: &[&str] = &[
"merchant_cards", "merchant_cards",
+2 -9
View File
@@ -9,10 +9,7 @@ ariadne = { workspace = true }
async-minecraft-ping = { workspace = true, features = ["srv"] } async-minecraft-ping = { workspace = true, features = ["srv"] }
async-recursion = { workspace = true } async-recursion = { workspace = true }
async-trait = { workspace = true } async-trait = { workspace = true }
async-tungstenite = { workspace = true, features = [ async-tungstenite = { workspace = true, features = ["tokio-runtime", "tokio-rustls-webpki-roots"] }
"tokio-runtime",
"tokio-rustls-webpki-roots"
] }
async-walkdir = { workspace = true } async-walkdir = { workspace = true }
async_zip = { workspace = true, features = [ async_zip = { workspace = true, features = [
"bzip2", "bzip2",
@@ -113,11 +110,7 @@ toml = { workspace = true }
tracing = { workspace = true } tracing = { workspace = true }
tracing-error = { workspace = true } tracing-error = { workspace = true }
tracing-subscriber = { workspace = true, features = ["chrono", "env-filter"] } tracing-subscriber = { workspace = true, features = ["chrono", "env-filter"] }
ts-rs = { workspace = true, features = [ ts-rs = { workspace = true, features = ["chrono-impl", "no-serde-warnings", "uuid-impl"], optional = true }
"chrono-impl",
"no-serde-warnings",
"uuid-impl"
], optional = true }
url = { workspace = true, features = ["serde"] } url = { workspace = true, features = ["serde"] }
urlencoding = { workspace = true } urlencoding = { workspace = true }
uuid = { workspace = true, features = ["serde", "v4"] } uuid = { workspace = true, features = ["serde", "v4"] }
+2
View File
@@ -19,6 +19,7 @@ export function expandVariables(
} }
export const licensesNotRequiringSource: string[] = [ export const licensesNotRequiringSource: string[] = [
// typos:off
'LicenseRef-All-Rights-Reserved', 'LicenseRef-All-Rights-Reserved',
'Apache-2.0', 'Apache-2.0',
'BSD-2-Clause', 'BSD-2-Clause',
@@ -33,6 +34,7 @@ export const licensesNotRequiringSource: string[] = [
'ISC', 'ISC',
'MIT', 'MIT',
'Zlib', 'Zlib',
// typos:on
] ]
export const licensesRequiringSource: string[] = [ export const licensesRequiringSource: string[] = [
+1 -6
View File
@@ -10,12 +10,7 @@ repository = "https://github.com/jdrouet/sqlx-tracing"
license = "MIT" license = "MIT"
# authors = ["Jérémie Drouet <jeremie.drouet@gmail.com>"] # deprecated field, Tombi warns # authors = ["Jérémie Drouet <jeremie.drouet@gmail.com>"] # deprecated field, Tombi warns
keywords = ["database", "observability", "opentelemetry", "sqlx", "tracing"] keywords = ["database", "observability", "opentelemetry", "sqlx", "tracing"]
categories = [ categories = ["asynchronous", "database", "development-tools::debugging", "development-tools::profiling"]
"asynchronous",
"database",
"development-tools::debugging",
"development-tools::profiling"
]
[dependencies] [dependencies]
derive_more = { workspace = true, features = ["deref", "deref_mut"] } derive_more = { workspace = true, features = ["deref", "deref_mut"] }
+1 -6
View File
@@ -15,12 +15,7 @@ futures = { workspace = true }
lz4_flex = { workspace = true } lz4_flex = { workspace = true }
postcard = { workspace = true } postcard = { workspace = true }
prometheus = { workspace = true } prometheus = { workspace = true }
redis = { workspace = true, features = [ redis = { workspace = true, features = ["ahash", "cluster", "cluster-async", "tokio-comp"] }
"ahash",
"cluster",
"cluster-async",
"tokio-comp"
] }
serde = { workspace = true, features = ["derive"] } serde = { workspace = true, features = ["derive"] }
thiserror = { workspace = true } thiserror = { workspace = true }
tokio = { workspace = true, features = ["rt", "sync", "time"] } tokio = { workspace = true, features = ["rt", "sync", "time"] }