Add task to pre commit