From fa35313f4637d9e11ab6ed3fed76d2b999bf8980 Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Sat, 10 Jun 2023 19:22:41 +0100 Subject: [PATCH] check_spelling.py: ignore ghz quantities --- tools/check_spelling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check_spelling.py b/tools/check_spelling.py index f3d9062f98..d7d33ffd9b 100755 --- a/tools/check_spelling.py +++ b/tools/check_spelling.py @@ -142,7 +142,7 @@ class File: m = re.search(r'^([0-9]+)([a-zA-Z]+)$', word) if m: if m.group(2).lower() in { "bit", "bits", "gb", "kbps", "gig", "mb", "th", "mhz", "v", "hz", "k", - "mbps", "m", "g", "ms", "nd", "nds", "rd", "kb", "kbit", + "mbps", "m", "g", "ms", "nd", "nds", "rd", "kb", "kbit", "ghz", "khz", "km", "ms", "usec", "sec", "gbe", "ns", "ksps", "qam", "mm" }: return True return False