Skip to content

Latest commit

 

History

History
53 lines (49 loc) · 4.9 KB

File metadata and controls

53 lines (49 loc) · 4.9 KB

pre-commit hook documentation

Hook ID Language Description Version
identity N/A a simple hook which prints all arguments passed to it, useful for debugging. N/A
check-hooks-apply N/A check that all the hooks apply to the repository N/A
doctoc N/A automatically keeps your table of contents up to date v2.2.0
create-pre-commit-docs python creates a Markdown file with information on the pre-commit hooks N/A
oxipng N/A optimize PNG images with lossless compression v9.1.5
gitleaks N/A detect hardcoded secrets v8.27.2
chmod N/A manual hook to be run by macOS or Linux users for a full repository clean up v1.5.5
insert-license N/A automatically adds a licence header to all Markdown files that don't have a license header v1.5.5
insert-license N/A automatically adds a licence header to all Shell files that don't have a license header v1.5.5
insert-license N/A automatically adds a licence header to all SQL files that don't have a license header v1.5.5
insert-license N/A automatically adds a licence header to all YAML files that don't have a license header v1.5.5
check-case-conflict N/A check for case conflicts in file names v6.0.0
check-illegal-windows-names N/A check for Windows-illegal file names v6.0.0
check-merge-conflict N/A check for merge conflict markers v6.0.0
check-shebang-scripts-are-executable N/A check that scripts with shebangs are executable v6.0.0
check-symlinks N/A checks for symlinks which do not point to anything. v6.0.0
check-vcs-permalinks N/A ensures that links to vcs websites are permalinks v6.0.0
destroyed-symlinks N/A detects symlinks which are changed to regular files with a content of a path which that symlink was pointing to v6.0.0
detect-aws-credentials N/A checks for the existence of AWS secrets that you have set up with the AWS CLI v6.0.0
detect-private-key N/A checks for the existence of private keys v6.0.0
end-of-file-fixer N/A makes sure files end in a newline and only a newline v6.0.0
file-contents-sorter N/A sort the lines in specified files (defaults to alphabetical) v6.0.0
fix-byte-order-marker N/A removes UTF-8 byte order marker v6.0.0
forbid-submodules N/A forbids any submodules in the repository v6.0.0
mixed-line-ending N/A replaces or checks mixed line ending v6.0.0
trailing-whitespace N/A trims trailing whitespace v6.0.0
codespell N/A Check spelling with codespell v2.4.1
flake8 N/A flake8 is a Python tool that glues together pycodestyle, pyflakes, mccabe, and third-party plugins to check the style and quality of some python code 7.0.0
markdownlint N/A check Markdown files with markdownlint v0.45.0
yamllint N/A check YAML files with yamllint v1.37.1