From 79ea713aa3898c15562142aa58f9aa53bfba2215 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 15 Jul 2025 16:26:26 +1000 Subject: [PATCH] tools: fix ruff format for libinput-replay Fixes: 89c2f29d2c76 ("tools/libinput-replay: Warn if writing to local-overrides fails") Part-of: --- tools/libinput-replay.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/libinput-replay.py b/tools/libinput-replay.py index a88c47ea..1ce9fc5e 100755 --- a/tools/libinput-replay.py +++ b/tools/libinput-replay.py @@ -340,7 +340,9 @@ def setup_quirks(recording): try: with overrides.open("w+") as fd: fd.write("# This file was generated by libinput replay\n") - fd.write("# Unless libinput replay is running right now, remove this file.\n") + fd.write( + "# Unless libinput replay is running right now, remove this file.\n" + ) fd.write("\n\n".join(quirks)) except IOError: error("Warning: Couldn't write to {}, please re-run as root".format(overrides))