@classmethod
def add_options(cls, parser):
    """Add options to flake8.

        :param parser: optparse.OptionParser from pep8.
        """
    parser.add_option('--show-pep257', action='store_true', help=
        'show explanation of each PEP 257 error')
    parser.config_options.append('show-pep257')
