[clang-tools-extra] [clang-tidy][NFC] Run ruff over python scripts (PR #176927)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 25 08:26:49 PST 2026


================
@@ -15,6 +15,7 @@
 import re
 import sys
 import textwrap
+from operator import methodcaller
 
 # FIXME Python 3.9: Replace typing.Tuple with builtins.tuple.
----------------
EugeneZelenko wrote:

As far as I remember such type annotations are marked as deprecated and `Flake8` or `PyLint` also complains about them, so this could be left for tools.

https://github.com/llvm/llvm-project/pull/176927


More information about the cfe-commits mailing list