mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-11 17:00:18 +00:00
* Add basic setup for precommit * Update README.md with instructions on installing precommit hooks --------- Co-authored-by: Illia Silin <98187287+illsilin@users.noreply.github.com> Co-authored-by: Bartlomiej Wroblewski <bwroblewski10@gmail.com>
15 lines
374 B
YAML
15 lines
374 B
YAML
repos:
|
|
- repo: local
|
|
hooks:
|
|
- id: clang-format
|
|
name: clang-format
|
|
entry: clang-format-10 -i --style=file
|
|
language: system
|
|
types_or: [c++, inc]
|
|
- id: copyright-year-checker
|
|
name: copyright-year-checker
|
|
entry: script/check_copyright_year.sh
|
|
verbose: false
|
|
language: script
|
|
types: [c++]
|