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