def _check_radio_fields(self, obj):

        if not hasattr(obj, 'radio_fields'):
            return []
        elif not isinstance(obj.radio_fields, dict):
            return must_be('a dictionary', option='radio_fields', obj=obj, id='admin.E021')
        else:
            return list(chain(*[
                self._check_radio_fields_key(obj, obj.model, field_name, 'radio_fields') +
                self._check_radio_fields_value(obj, val, 'radio_fields["%s"]' % field_name)
                for field_name, val in obj.radio_fields.items()
            ]))
Finds default args as list
dataset/ETHPy150Open django/django/django/contrib/admin/checks.py/BaseModelAdminChecks._check_radio_fields--crossover with--dataset/ETHPy150Open omaraboumrad/mastool/mastool/practices.py/find_default_arg_is_list