code: def run(path, code=None, params=None, **meta):
          
          parser = get_parser()
          for option in parser.option_list:
              if option.dest and option.dest in params:
                  value = params[option.dest]
                  if isinstance(value, str):
                      params[option.dest] = option.convert_value(option, value)
  
          for key in ["filename", "exclude", "select", "ignore"]:
              if key in params and isinstance(params[key], str):
                  params[key] = _parse_multi_options(params[key])
  
          P8Style = StyleGuide(reporter=_PycodestyleReport, **params)
          buf = StringIO(code)
          return P8Style.input_file(path, lines=buf.readlines())
docs: Check code with pycodestyle.
  
          :return list: List of errors.