Commit Graph

13 Commits

Author SHA1 Message Date
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