Linear analysis of the effect of shaping on Trapped Electron Mode instability: from a reduced model to gyro-kinetics | Synapse