class_docstr: Manage a Flake8 user's style guide.
docstr: Create a copy of this style guide with different values.
docstr_tok: ["Create","a","copy","of","this","style","guide","with","different","values","."]
code: def copy(
      self,
      filename: str | None = None,
      extend_ignore_with: Sequence[str] | None = None,
  ) -> StyleGuide:
      """Create a copy of this style guide with different values."""
      filename = filename or self.filename
      options = copy.deepcopy(self.options)
      options.extend_ignore = options.extend_ignore or []
      options.extend_ignore.extend(extend_ignore_with or [])
      return StyleGuide(
          options, self.formatter, self.stats, filename=filename
      )
  
imports: from __future__ import annotations
  import argparse
  import contextlib
  import copy
  import enum
  import functools
  import logging
  from typing import Generator
  from typing import Sequence
  from flake8 import defaults
  from flake8 import statistics
  from flake8 import utils
  from flake8.formatting import base
  from flake8.violation import Violation
label_desc: Use image node_id 3 for calling the StyleGuide obj's underlying member method code with example usage: obj.copy(filename, extend_ignore_with) and returns: StyleGuide