code: def optmanager():
      """Create a new OptionManager."""
      option_manager = manager.OptionManager(
          version="3.0.0",
          plugin_versions="",
          parents=[],
          formatter_names=[],
      )
      options.register_default_options(option_manager)
      return option_manager
  
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 1 for calling a global function with example usage: optmanager() and returns: option_manager