pymodbus-dev / pymodbus

A full modbus protocol written in python
Other
2.26k stars 922 forks source link

Avoid pylint complain about lambda #1999

Closed janiversen closed 7 months ago

janiversen commented 7 months ago
alexrudd2 commented 7 months ago

Is your local pylint perhaps older? On CI it's complaining again - about these new ignores 😆

janiversen commented 7 months ago

I did update my venv yesterday, so that should be as new as it gets.

I did notice that CI complains, but if I remember right only on 3.8.

However I would be more than happy to remove the ignores, when I did so in this PR CI gave me the red light.

janiversen commented 7 months ago
(pymodbus) jan@piso_macmini pymodbus % pylint --version
pylint 3.0.2
astroid 3.0.1
Python 3.11.7 (main, Dec  4 2023, 18:10:11) [Clang 15.0.0 (clang-1500.1.0.2.5)]
(pymodbus) jan@piso_macmini pymodbus % python --version
Python 3.11.7
(pymodbus) jan@piso_macmini pymodbus % ruff --version
ruff 0.2.1