Commit Graph

18 Commits

Author SHA1 Message Date
Alex Turbov 472a04ab9e ci(pre-commit): bump pre-commit hooks + fixes of found typos 2025-11-26 02:32:04 +04:00
Alex Turbov 1405dc49e8 pre-commit: version bump typos and sphinx-lint hooks + fix found typos 2025-11-03 10:18:16 -05:00
Alex Turbov 2ca11db2e3 pre-commit: version bump typos hook plus fix found typos
Backport commit 8de02a14c8 (ci(pre-commit): version bump `typos` hook
plus fix found typos, 2025-10-23) to the CMake 4.2 release branch.
2025-10-30 17:43:16 -04:00
Alex Turbov 49e05f9569 pre-commit: bump to typos 1.36.1 2025-09-08 12:17:47 -04:00
Alex Turbov 15d558016c pre-commit: change the repo and version bump typos hook 2025-06-24 20:40:11 +04:00
Alex Turbov d168cd397f pre-commit: version bump typos hook to 1.30 + add some more ignore IDs 2025-03-04 04:28:07 +04:00
Alex Turbov b83c5b2c83 pre-commit: Add pygrep-hooks repo and 3 hooks to check RST files 2025-01-27 02:06:56 +04:00
Alex Turbov abe46bf9e1 pre-commit: Add the clang-format hook
The hook version is the same as the `.clang-format` config file.
2025-01-26 05:43:33 +04:00
Alex Turbov 8f4dd0558e pre-commit: Add the typos hook for extra spellchecking
Also, use it to spellcheck commit messages.
2025-01-26 05:38:56 +04:00
Alex Turbov 54eba3a42a pre-commit: Add the codespell hook
Also, use it to spellcheck commit messages.
2025-01-26 05:38:52 +04:00
Alex Turbov 244e3d314c pre-commit: Add the sphinx-lint hook 2025-01-26 05:34:18 +04:00
Alex Turbov efa7c6aedf pre-commit: Add a hook to check whitespaces and conflict markers
The hook uses settings from `.gitattributes`.
2025-01-26 05:34:18 +04:00
Alex Turbov 2c06b9f429 pre-commit: Add a hook to fix missed EOL at the end of files
For now some files from `Tests/` have been excluded. However,
some files could be really fixed and removed from exclude list.
2025-01-26 05:34:18 +04:00
Alex Turbov 1861948755 pre-commit: Add a hook to check JSON files 2025-01-26 05:34:17 +04:00
Alex Turbov 4b34c07205 pre-commit: Add a hook to check YAML files 2025-01-26 05:34:17 +04:00
Alex Turbov 3a73e1b8f4 pre-commit: Add a hook to strip trailing whitespaces on commit 2025-01-26 05:34:17 +04:00
Alex Turbov 8e832f0084 pre-commit: Add a hook to check files for mixed line endings 2025-01-26 05:34:17 +04:00
Alex Turbov de59765336 pre-commit: Add an initial configuration file
Add (except some meta-hooks) the `check-case-conflict` hook to
make sure the repo don't contain files that can cause a conflict
on case-insensitive filesystems.

Also, exclude third-party sources from further checks.
2025-01-26 05:34:15 +04:00