@classmethod
def from_config_dict(cls, cfgdict: 'ConfigDict') ->'Configuration':
    """ Construct a `Configuration` instance from a `ConfigDict` """
    return cls(select=cfgdict.get_check_set('select'), ignore=cfgdict.
        get_check_set('ignore'), toplevel=cfgdict.get_comma_list('toplevel'
        ), package_paths=cfgdict.get_path_list('package'), src_dirs=cfgdict
        .get_path_list('src_dir'), package_omit=cfgdict.get_comma_list(
        'package_omit'))
