def excluded(filename):
    """
    Check if options.exclude contains a pattern that matches filename.
    """
basename = os.path.basename(filename)
for pattern in options.exclude:
    pass
how to use exclude option with pep8.py