From 77ad73b333d80b60dd9861c75d1dd93d3e4ae33c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 19 Feb 2025 11:08:59 +0200 Subject: [PATCH] guix: lint: Check for more misspelled words in descriptions. * guix/lint.scm (check-description-style)[check-description-typo]: Add more common misspellings. Change-Id: I1342c150e8af809ef954fb5d13f65dd3bd8c8cf3 --- guix/lint.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/guix/lint.scm b/guix/lint.scm index 46b2e99241..d54db725b5 100644 --- a/guix/lint.scm +++ b/guix/lint.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2016 Hartmut Goebel ;;; Copyright © 2017 Alex Kost ;;; Copyright © 2017, 2021 Tobias Geerinckx-Rice -;;; Copyright © 2017, 2018, 2020, 2024 Efraim Flashner +;;; Copyright © 2017, 2018, 2020, 2024, 2025 Efraim Flashner ;;; Copyright © 2018, 2019 Arun Isaac ;;; Copyright © 2020 Chris Marusich ;;; Copyright © 2020 Timothy Sample @@ -514,10 +514,16 @@ by two spaces; possible infraction~p at ~{~a~^, ~}") (check-not-empty description) (check-quotes description) (check-trademarks description) - (check-description-typo description '(("This packages" . "This package") + (check-description-typo description '(("Infrastucture" . "Infrastructure") + ("This packages" . "This package") ("This modules" . "This module") ("allows to " . #f) - ("permits to " . #f))) + ("dependant" . "dependent") + ("dissapears" . "disappears") + ("invokation" . "invocation") + ("permits to " . #f) + ("provices" . "provides") + ("useable" . "usable"))) ;; Use raw description for this because Texinfo rendering ;; automatically fixes end of sentence space. (check-end-of-sentence-space description)