Update pre-config to include Python and JSON for EOL, whitespace checks

This commit is contained in:
Rob Armstrong 2025-05-01 10:17:42 -07:00
parent 8d400cfb7f
commit cab7c66b4f

View File

@ -32,7 +32,9 @@ repos:
.*\.hpp$| .*\.hpp$|
.*\.h$| .*\.h$|
.*\.cu$| .*\.cu$|
.*\.cuh$ .*\.cuh$|
.*\.py$|
.*\.json$
) )
- id: mixed-line-ending - id: mixed-line-ending
exclude: | exclude: |
@ -53,7 +55,9 @@ repos:
.*\.hpp$| .*\.hpp$|
.*\.h$| .*\.h$|
.*\.cu$| .*\.cu$|
.*\.cuh$ .*\.cuh$|
.*\.py$|
.*\.json$
) )
- id: trailing-whitespace - id: trailing-whitespace
exclude: | exclude: |
@ -74,7 +78,9 @@ repos:
.*\.hpp$| .*\.hpp$|
.*\.h$| .*\.h$|
.*\.cu$| .*\.cu$|
.*\.cuh$ .*\.cuh$|
.*\.py$|
.*\.json$
) )
- repo: https://github.com/pre-commit/mirrors-clang-format - repo: https://github.com/pre-commit/mirrors-clang-format
rev: v19.1.6 rev: v19.1.6