From e3cf2270199c4fa46037bfb25222922596704a3a Mon Sep 17 00:00:00 2001 From: Yaroslav Chvanov Date: Tue, 19 Sep 2023 18:11:51 +0300 Subject: [PATCH] ratbagctl: ignore a Ruff f-string formatting warning (UP032) I think we're better off ignoring the warning here (instead of repeating the same argument like 10 times). Fixes tests failing because UP032 was extended in Ruff (and this has happened before). Pinning Ruff is probably a good idea. (Fixes #1515.) --- tools/ratbagctl.body.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ratbagctl.body.py.in b/tools/ratbagctl.body.py.in index 622c18c4..34f48a38 100755 --- a/tools/ratbagctl.body.py.in +++ b/tools/ratbagctl.body.py.in @@ -1856,7 +1856,7 @@ Exit codes: 1 Unsupported feature, index out of available range or invalid device 2 Commandline arguments are invalid 3 A command failed on the device -""".format( +""".format( # noqa: UP032 self.parser.prog ) )