Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, filename, lines=None):
self.errors = []
pep8style = pep8.StyleGuide(parse_argv=False, config_file=False)
options = pep8style.options
options.prog = os.path.basename(filename)
options.exclude = []
options.filename = filename
options.select = []
options.ignore = []
options.verbose = 0
#options.ignore = pep8.DEFAULT_IGNORE.split(',')
options.counters = {'physical lines': 0, 'logical lines': 0,}
options.messages = {}
pep8.Checker.__init__(self, filename)
self.check_all()
def __init__(self, filename):
pep8.Checker.__init__(self, filename, ignore=pep8_ignores)
def __init__(self, filename):
pep8.Checker.__init__(self, filename, ignore=pep8_ignores)
def __init__(self, filename):
pep8.Checker.__init__(self, filename, ignore=pep8_ignores)
def __init__(self, filename):
pep8.Checker.__init__(self, filename, ignore=pep8_ignores)