code: def flake8_config(tmp_path):
      cfg_s = """\
  [flake8]
  ignore =
      E123,
      W234,
      E111
  exclude =
      foo/,
      bar/,
      bogus/
  quiet = 1
  """
      cfg = tmp_path.joinpath("tox.ini")
      cfg.write_text(cfg_s)
      return str(cfg)
  
file_path: flake8/tests/integration/test_aggregator.py
imports: from __future__ import annotations
  import os
  import pytest
  from flake8.main import options
  from flake8.options import aggregator
  from flake8.options import config
  from flake8.options import manager
label_desc: Use image node_id 2 for calling a global function with example usage: flake8_config(tmp_path) and returns: str