code: def run(self):
          
          while True:
              path, params = self.path_queue.get()
              errors = run(path, **params)
              self.result_queue.put(errors)
              self.path_queue.task_done()
docs: Run tasks from queue.