Skip to content

Commit 412ffd4

Browse files
stinosdpgeorge
authored andcommitted
tools/codeformat.py: Use input files when formatting python code.
Signed-off-by: stijn <stijn@ignitron.net>
1 parent 2631b06 commit 412ffd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/codeformat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def batch(cmd, N=200):
192192
command.append("-v")
193193
else:
194194
command.append("-q")
195-
command.append(".")
195+
command.extend(files if files else ["."])
196196
subprocess.check_call(command, cwd=TOP)
197197

198198

0 commit comments

Comments
 (0)