Chromium pylint update to 3.2

8 views
Skip to first unread message

Alex Ovsienko

unread,
Jul 21, 2026, 8:13:12 PMJul 21
to pyt...@chromium.org
Hello Chromium Python developers,

This is a heads up that we are planning to update Pylint in presubmits for Chromium from versions 2.* to 3.2. Version 3.2 supports newer syntax and is stricter about some Python code than 2.7 was.

To make the upgrade as unobstructive as possible, all newer lint warnings that the old Python code breaks will be added to the disabled_warnings for each of the presubmits. Developers will be encouraged but not required to fix those warnings going forward.

Additionally you can check the original LSC proposal for this effort and the planned master CL.

If you have any questions or issues, please respond to this email or file a report in this bug.

Best regards,
--

 Alex Ovsienko

Andrew Grieve

unread,
Jul 27, 2026, 11:52:52 AMJul 27
to Alex Ovsienko, pyt...@chromium.org
This proposal sounds great, as does the LSC. Thanks for taking this on!

From some discussion in another thread, we'd also like to eventually move away from pylint in favor of pyrefly, so this migration is just a stop-gap to unblock ruff auto-formatting.

The reason for wanting pyrefly is that pylint makes "git cl presubmit" slow (often 5 seconds+), and would provide type checking.

--
You received this message because you are subscribed to the Google Groups "python" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python+un...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/python/CAGC6D_V8GM9R8c8P1Ahv%2BGiUQHYsorM-tqwY_jbWEpRPwunM%2BQ%40mail.gmail.com.

Alex Ovsienko

unread,
Jul 27, 2026, 9:06:15 PMJul 27
to Andrew Grieve, pyt...@chromium.org
One small adjustment: it was discovered later that Ruff has closer feature overlap with Pylint than Pyrefly! Later another thread will start regarding the migration from Pylint to the Ruff linter.
--

 Alex Ovsienko

Mike Frysinger

unread,
Jul 28, 2026, 4:16:43 AMJul 28
to Alex Ovsienko, Andrew Grieve, pyt...@chromium.org
yeah, typing != linting, so i'd be surprised by people suggesting that pyrefly replaces pylint
-mike

Reply all
Reply to author
Forward
0 new messages