Files
gem5/.pre-commit-config.yaml
Bobby R. Bruce be89758f0e misc: Add additional pre-commit hook checks (#420)
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.
2023-10-18 12:21:22 -07:00

4.1 KiB