[core][fr] code cleaning (pylint)