Earlier quoted context omitted.
This is where professionalism is important. Firmly separating your personal life and your professional life. That said, there's a huge gap between a religion a person is imparted with as a child, and philosophy they chose as an adult and have jumped into with both feet. Many people come from backgrounds with bigoted ideas like that, but they don't colour their daily lives with it because they're not actively married…
Marvel Comics recently fired an illustrator for hiding Islamist, anti-Semitic and anti-Christian references in his art. It wasn't exactly his art in which the references were hidden - it was Marvel's art . He hid the references in comic panels, commissioned by Marvel and designed specifically for publication in a Marvel comic.
This was content hidden in his professional work that he was dismissed over. It's not comparable. If someone were putting inflammatory political content in the Drupal source, it'd be an unambiguous CoC violation and I think they'd have basically no defenders.