Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

pylint 2.13 available in depot_tools

750 views
Skip to first unread message

'Josip Sokcevic' via infra-announce

unread,
Nov 20, 2023, 7:25:04 PM11/20/23
to infra-a...@chromium.org
Hi all,

TL;DR pylint 2.13 is available for use in PRESUBMITs and is required only if you use py3.11 features. Using pylint 2.13 is optional.

depot_tools now provides pylint 2.13 which runs on Python 3.11. This is the only supported version of pylint for python 3.9+ language features. depot_tools pylint 2.7 supports python <=3.8.

To use pylint 2.13 in presubmit, pass version='2.13' to input_api.canned_checks.RunPylint or input_api.canned_checks.GetPylint.

Best,

--
Josip Sokcevic

--
You received this message because you are subscribed to the Google Groups "infra-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-announc...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-announce/CAJiyOiiBTuutKaXk%2B42UeRbymvhpg%3DsTm5%3DFUJj19RSL8w%3DyyQ%40mail.gmail.com.

'Josip Sokcevic' via infra-announce

unread,
Nov 28, 2023, 4:58:35 PM11/28/23
to infra-a...@chromium.org
Hi all,

We identified pylint 2.13 incompatibilities with py3.11 (https://crbug.com/1504663 has more details). So, pylint 2.13 was removed and pylint 2.17 was added.

To use pylint 2.17 in presubmit, pass version='2.17' to input_api.canned_checks.RunPylint or input_api.canned_checks.GetPylint.

Apologies for any inconvenience this may have caused.

Best,
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-announce/CAJiyOiiUwMQoWPVEDk16MCzFcYX3U0HuB%3Do_DwJLGB-PyK2Lhg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages