[tools] minor code style updates