nvda
c8a847bd - Update Pre-Commit hooks (#16983)

Commit
1 year ago
Update Pre-Commit hooks (#16983) Summary of the issue: Continuing work on our pre-commit hooks, there are still several we don't use but could. Description of user facing changes None. Description of development approach Tested pre-commit hooks available at pre-commit/pre-commit-hooks. Added those that work as expected and do not require major changes to our code base. Added: Automatic checking of yaml, toml and XML syntax Checks that no Python debug statements are included in commits Remove BOM on Python, C/C++ and Batch files, if present Ensure that unit test files are named according to unittest rules. Ensure that any include VCS links are permalinks.
Author
Parents
Loading