Format the list of pads as a list
Lint the code a bit