mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-13 18:40:57 +02:00
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
This commit is contained in:
parent
27ae140024
commit
77ad73b333
1 changed files with 9 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue