Adds the following hooks: 1. `check-ast`: Verifies all Python files have a AST indicating they are valid Python. 2. `check-merge-conflict`: Checks to see if files have merge conflict strings and blocks commits if so. 3. `check-symlinks`: Checks that symlinks in the repo still point to a valid location. 4. `destroyed-symlinks`: Checks if symlink is replaced with a file and if that file is identical to the file it was previously pointing too. None of these commits change any code. They are all checks to ensure bad code is not committed.
4.1 KiB
4.1 KiB