From 412ffd4b32924c581afc17c9ce66152040426c32 Mon Sep 17 00:00:00 2001 From: stijn Date: Wed, 11 Feb 2026 11:11:24 +0100 Subject: [PATCH] tools/codeformat.py: Use input files when formatting python code. Signed-off-by: stijn --- tools/codeformat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/codeformat.py b/tools/codeformat.py index 7f13a059f4..588e058213 100755 --- a/tools/codeformat.py +++ b/tools/codeformat.py @@ -192,7 +192,7 @@ def main(): command.append("-v") else: command.append("-q") - command.append(".") + command.extend(files if files else ["."]) subprocess.check_call(command, cwd=TOP)