code: def _set_add_options(cls, checked_codes, options):
          
          checked_codes |= cls._expand_error_codes(options.add_select)
          checked_codes -= cls._expand_error_codes(options.add_ignore)
docs: Set `checked_codes` by the `add_ignore` or `add_select` options.