Does a candidate accept a platform which hates others based on gender, race, or religion? They don't even need to have espoused those views themselves, but if they're willing to support a platform or other candidates who have those views.
They're disqualified from my list.
Im willing to listen to the policy ideas of pretty much anyone else.
A point of clarification, adjusting immigration can be racist but it can also not be racist. I'm willing to listen to non-racist reasoning and policies for adjusting immigration numbers.