void () { final PyUnusedLocalInspection inspection = new PyUnusedLocalInspection(); inspection.ignoreVariablesStartingWithUnderscore = true; inspection.ignoreLambdaParameters = false; inspection.ignoreLoopIterationVariables = false; inspection.ignoreTupleUnpacking = false; doTest(inspection); }