Use hook name for pre-commit stages
- Since 3.2.0 the tool expects the stage name to be the same as the hook name. Deprecation warning is now issued to encourage the migration.
Signed-off-by: Viet-Hoa Do viet-hoa.do@arm.com
Signed-off-by: Viet-Hoa Do viet-hoa.do@arm.com