class_docstr: Extension test plugin.
class_docstr_tok: ["Extension","test","plugin","."]
docstr: Register options.
docstr_tok: ["Register","options","."]
code: def add_options(cls, parser):
      """Register options."""
      parser.add_option("--anopt")
  
imports: from __future__ import annotations
  import pytest
  from flake8.main.cli import main
  from flake8.main.options import register_default_options
  from flake8.main.options import stage1_arg_parser
  from flake8.options import aggregator
  from flake8.options import config
  from flake8.options.manager import OptionManager
  from flake8.plugins import finder
label_desc: Use image node_id 3 for calling the ExtensionTestPlugin obj's underlying member method code with example usage: obj.add_options(cls, parser) without return types