code: def lint():
      
      if 'text' in request.values:
          text = unquote(request.values['text'])
          job = q.enqueue(worker_function, text)
  
          return jsonify(job_id=job.id), 202
  
      elif 'job_id' in request.values:
          job = q.fetch_job(request.values['job_id'])
  
          if not job:
              return jsonify(
                  status="error",
                  message="No job with requested job_id."), 404
  
          elif job.result is None:
              return jsonify(
                  status="error",
                  message="Job is not yet ready."), 202
  
          else:
              errors = []
              for i, e in enumerate(job.result):
                  app.logger.debug(e)
                  errors.append({
                      "check": e[0],
                      "message": e[1],
                      "line": e[2],
                      "column": e[3],
                      "start": e[4],
                      "end": e[5],
                      "extent": e[5] - e[4],
                      "severity": e[7],
                      "replacements": e[8],
                      "source_name": "",
                      "source_url": "",
                  })
              return jsonify(
                  status="success",
                  data={"errors": errors})
docs: Run linter on the provided text and return the results.