code: def test_add_option_with_custom_args(optmanager):
      """Verify that add_option handles custom Flake8 parameters."""
      assert optmanager.options == []
      assert optmanager.config_options_dict == {}
  
      optmanager.add_option("--parse", parse_from_config=True)
      optmanager.add_option("--commas", comma_separated_list=True)
      optmanager.add_option("--files", normalize_paths=True)
  
      attrs = [
          "parse_from_config",
          "comma_separated_list",
          "normalize_paths",
      ]
      for option, attr in zip(optmanager.options, attrs):
          assert getattr(option, attr) is True
  
imports: from __future__ import annotations
  import argparse
  import os
  import pytest
  from flake8.main.options import JobsArgument
  from flake8.options import manager
label_desc: Use image node_id 9 for calling a global function with example usage: test_add_option_with_custom_args(optmanager) without return types