#!/usr/bin/env python # # litlint # # Ensure RUN commands in lit tests are free of common errors. # # If any errors are detected, litlint returns a nonzero exit code. # import optparse import re import sys from io import open # Compile regex once for all files runRegex = re.compile(r'(? 0: sys.exit(1)