Disable unused locals and statement has no effect inspections for Python stubs