microsoft / typespec

https://typespec.io/
MIT License
4.45k stars 208 forks source link

[http-client-python] pylint report differently in Windows and Linux environment #4759

Open msyyc opened 5 days ago

msyyc commented 5 days ago

For same code, CI passes in Linux while fails in Windows. It may be caused by different python version. In windows, python version is 3.12 while in linux it is 3.8.

msyyc commented 5 days ago

We are in dilemma If we add pylint disable to fix for Windows, it will cause useless-suppressions info in Linux; if we do nothing, pylint fails in Windows. Maybe we could update the environment to make sure Windows and Linux use same Python version.