I have a Fan class which takes 2 mandatory args and 3 optional args, but LGTM report 3 errors for oneline:
Call to 2 Values with too many arguments; should be no more than 2.
Call to 4 Values with too many arguments; should be no more than 3.
Call to 3 Values with too many arguments; should be no more than 4.
https://lgtm.com/projects/g/Azure/sonic-buildimage/snapshot/e5fa9e1f0332301bd2543f9cda87c0f676acab6d/files/platform/mellanox/mlnx-platform-api/sonic_platform/chassis.py?sort=name&dir=ASC&mode=heatmap#xd37274ac53a618c6:1