code: def test_parse_config_typed_values(tmp_path, opt_manager):
      cfg = configparser.RawConfigParser()
      cfg.add_section("flake8")
      cfg.set("flake8", "indent_size", "2")
      cfg.set("flake8", "hang_closing", "true")
      # test normalizing dashed-options
      cfg.set("flake8", "extend-exclude", "d/1,d/2")
  
      ret = config.parse_config(opt_manager, cfg, str(tmp_path))
      assert ret == {
          "indent_size": 2,
          "hang_closing": True,
          "extend_exclude": [
              str(tmp_path.joinpath("d/1")),
              str(tmp_path.joinpath("d/2")),
          ],
      }
  
imports: from __future__ import annotations
  import configparser
  import os.path
  from unittest import mock
  import pytest
  from flake8 import exceptions
  from flake8.main.options import register_default_options
  from flake8.options import config
  from flake8.options.manager import OptionManager
label_desc: Use image node_id 20 for calling a global function with example usage: test_parse_config_typed_values(tmp_path, opt_manager) without return types