diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2025-02-19 11:08:59 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2025-02-19 11:08:59 +0200 |
commit | 77ad73b333d80b60dd9861c75d1dd93d3e4ae33c (patch) | |
tree | 5022aed175cf376660c0bc5fb29982c51f5ad71e | |
parent | 27ae140024b6d05506cdf0d9fd5b91c25466f295 (diff) | |
download | guix-77ad73b333d80b60dd9861c75d1dd93d3e4ae33c.tar.gz guix-77ad73b333d80b60dd9861c75d1dd93d3e4ae33c.zip |
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
-rw-r--r-- | guix/lint.scm | 12 |
1 files 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 <h.goebel@crazy-compilers.com> ;;; Copyright © 2017 Alex Kost <alezost@gmail.com> ;;; Copyright © 2017, 2021 Tobias Geerinckx-Rice <me@tobias.gr> -;;; Copyright © 2017, 2018, 2020, 2024 Efraim Flashner <efraim@flashner.co.il> +;;; Copyright © 2017, 2018, 2020, 2024, 2025 Efraim Flashner <efraim@flashner.co.il> ;;; Copyright © 2018, 2019 Arun Isaac <arunisaac@systemreboot.net> ;;; Copyright © 2020 Chris Marusich <cmmarusich@gmail.com> ;;; Copyright © 2020 Timothy Sample <samplet@ngyro.com> @@ -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) |