|
|
@ -50,13 +50,13 @@ repos:
|
|
|
|
entry: bash .pre-commit-hooks/clang-format.hook -i
|
|
|
|
entry: bash .pre-commit-hooks/clang-format.hook -i
|
|
|
|
language: system
|
|
|
|
language: system
|
|
|
|
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|cuh|proto)$
|
|
|
|
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|cuh|proto)$
|
|
|
|
exclude: (?=speechx/speechx/kaldi|speechx/patch).*(\.cpp|\.cc|\.h|\.py)$
|
|
|
|
exclude: (?=speechx/speechx/kaldi|speechx/patch|speechx/tools/fstbin|speechx/tools/lmbin).*(\.cpp|\.cc|\.h|\.py)$
|
|
|
|
- id: copyright_checker
|
|
|
|
- id: copyright_checker
|
|
|
|
name: copyright_checker
|
|
|
|
name: copyright_checker
|
|
|
|
entry: python .pre-commit-hooks/copyright-check.hook
|
|
|
|
entry: python .pre-commit-hooks/copyright-check.hook
|
|
|
|
language: system
|
|
|
|
language: system
|
|
|
|
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto|py)$
|
|
|
|
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|proto|py)$
|
|
|
|
exclude: (?=third_party|pypinyin|speechx/speechx/kaldi|speechx/patch).*(\.cpp|\.cc|\.h|\.py)$
|
|
|
|
exclude: (?=third_party|pypinyin|speechx/speechx/kaldi|speechx/patch|speechx/tools/fstbin|speechx/tools/lmbin).*(\.cpp|\.cc|\.h|\.py)$
|
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
|
|
|
- repo: https://github.com/asottile/reorder_python_imports
|
|
|
|
rev: v2.4.0
|
|
|
|
rev: v2.4.0
|
|
|
|
hooks:
|
|
|
|
hooks:
|
|
|
|