mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
guix: lint: Add codespell hints.
This hides these lines from codespell so it doesn't try to fix the spelling of these intentional typos. * guix/lint.scm (check-description-style)[check-description-typo]: Add codespell hints to ignore some lines. Change-Id: I002d2ba6079a5dcf9165d3821eda579f6dfa2ecf Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
@@ -515,16 +515,17 @@ by two spaces; possible infraction~p at ~{~a~^, ~}")
|
|||||||
(check-not-empty description)
|
(check-not-empty description)
|
||||||
(check-quotes description)
|
(check-quotes description)
|
||||||
(check-trademarks description)
|
(check-trademarks description)
|
||||||
(check-description-typo description '(("Infrastucture" . "Infrastructure")
|
(check-description-typo description
|
||||||
("This packages" . "This package")
|
'(("Infrastucture" . "Infrastructure") ; codespell:ignore
|
||||||
("This modules" . "This module")
|
("This packages" . "This package") ; codespell:ignore
|
||||||
("allows to " . #f)
|
("This modules" . "This module") ; codespell:ignore
|
||||||
("dependant" . "dependent")
|
("allows to " . #f) ; codespell:ignore
|
||||||
("dissapears" . "disappears")
|
("dependant" . "dependent") ; codespell:ignore
|
||||||
("invokation" . "invocation")
|
("dissapears" . "disappears") ; codespell:ignore
|
||||||
("permits to " . #f)
|
("invokation" . "invocation") ; codespell:ignore
|
||||||
("provices" . "provides")
|
("permits to " . #f) ; codespell:ignore
|
||||||
("useable" . "usable")))
|
("provices" . "provides") ; codespell:ignore
|
||||||
|
("useable" . "usable"))) ; codespell:ignore
|
||||||
;; Use raw description for this because Texinfo rendering
|
;; Use raw description for this because Texinfo rendering
|
||||||
;; automatically fixes end of sentence space.
|
;; automatically fixes end of sentence space.
|
||||||
(check-end-of-sentence-space description)
|
(check-end-of-sentence-space description)
|
||||||
|
|||||||
Reference in New Issue
Block a user