style: Add typos pre-commit hook (#2041)

This commit is contained in:
Ayaz Salikhov
2025-04-29 09:59:11 +01:00
committed by GitHub
parent de43be887e
commit af0a8af287
95 changed files with 207 additions and 180 deletions

View File

@@ -115,7 +115,7 @@ format:
_help_require_valid_layout:
- By default, if cmake-format cannot successfully fit
- everything into the desired linewidth it will apply the
- last, most agressive attempt that it made. If this flag is
- last, most aggressive attempt that it made. If this flag is
- True, however, cmake-format will print error, exit with non-
- zero status code, and write-out nothing
require_valid_layout: false
@@ -152,7 +152,7 @@ markup:
ruler_pattern: ^\s*[^\w\s]{3}.*[^\w\s]{3}$
_help_explicit_trailing_pattern:
- If a comment line matches starts with this pattern then it
- is explicitly a trailing comment for the preceeding
- is explicitly a trailing comment for the preceding
- argument. Default is '#<'
explicit_trailing_pattern: "#<"
_help_hashruler_min_length: