From 5e399002c58ab2bfad03bd19b29f92f42eb4129a Mon Sep 17 00:00:00 2001 From: Ariel Otilibili Date: Mon, 25 Nov 2024 17:53:42 +0100 Subject: [PATCH] python: clear out syntax warnings ``` python/makefile.py:55: SyntaxWarning: invalid escape sequence '\s' "^#\s*include.*_clippy.c", ``` Link: https://docs.python.org/fr/3/library/re.html#module-re Signed-off-by: Ariel Otilibili --- python/makefile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/makefile.py b/python/makefile.py index 45f032296f3b..45db841c73ea 100644 --- a/python/makefile.py +++ b/python/makefile.py @@ -52,7 +52,7 @@ "grep", "-l", "-P", - "^#\s*include.*_clippy.c", + r"^#\s*include.*_clippy.c", "--", "**.c", ]