@classmethod<EOL><INDENT>def _create_check_config(cls, options, use_defaults=True):<DEDENT>
checked_codes = None<EOL>if cls._has_exclusive_option(options) or use_defaults:<EOL><INDENT>checked_codes = cls._get_checked_errors(options)<EOL><DEDENT>kwargs = dict(checked_codes=checked_codes)<EOL>for key in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>kwargs[key] = getattr(cls, '<STR_LIT>'.format(key.upper()))if getattr(options, key) is None and use_defaultselse getattr(options, key)<EOL><DEDENT>return CheckConfiguration(**kwargs)<EOL>
Create a `CheckConfiguration` object from `options`.

        If `use_defaults`, any of the match options that are `None` will
        be replaced with their default value and the default convention will be
        set for the checked codes.