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

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 25 08:15:37 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.
----------------
vbvictor wrote:

If config is used, need to manually enable target version via `target-version = "py39"`

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


More information about the cfe-commits mailing list