def fix(self, files): """ Fix files """ results = ResultSet() for command in self.get_fix_commands(): results.add(self.make_result(command, files)) return results
def check(self, files): """ Check files """ results = ResultSet() for command in self.get_check_commands(): result = self.make_result(command, files) results.add(result) return results