From a26226b49f63a6a6027fd365267a76d46741b3eb Mon Sep 17 00:00:00 2001 From: chris-tsiaousis-hpc Date: Mon, 23 Feb 2026 01:38:36 +0100 Subject: [PATCH] [CK] Updated pre-commit entry points (#4649) ## Motivation Pre-commit fails after the transition to the monorepo. This fixes it. ## Technical Details - ## Test Plan Try to commit on CK with pre-commit enabled. ## Test Result Pre-commit should pass. (Scripts are correctly found) ## Submission Checklist - [x] Look over the contributing guidelines at https://github.com/ROCm/ROCm/blob/develop/CONTRIBUTING.md#pull-requests. Signed-off-by: Chris Tsiaousis --- .pre-commit-config.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 71e7ccdb81..9c2a4ade95 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -22,19 +22,19 @@ repos: hooks: - id: copyright-header-checker name: Check copyright headers - entry: script/check_copyright_year.sh + entry: projects/composablekernel/script/check_copyright_year.sh verbose: false language: script types_or: [c++, python, shell, cmake] - id: remove-exec-bit name: Remove executable bit from non-executable files - entry: script/remove_exec_bit.sh + entry: projects/composablekernel/script/remove_exec_bit.sh language: script types_or: [c++, text] verbose: true - id: remod-ck-tile name: Run ck_tile remod.py - entry: python script/remod_for_ck_tile.py + entry: python projects/composablekernel/script/remod_for_ck_tile.py language: python files: '^(include|example)/ck_tile/.*$' additional_dependencies: