fix pretest script to lint all files