void () { PyMissingTypeHintsInspection inspection = new PyMissingTypeHintsInspection(); inspection.m_onlyWhenTypesAreKnown = false; myFixture.enableInspections(inspection); myFixture.checkHighlighting(false, false, true); }