From 22fb0f7bbf1f4c7e87b0781867f8d45dab34025b Mon Sep 17 00:00:00 2001 From: Kiran <75929997+Kiran1689@users.noreply.github.com> Date: Thu, 16 Nov 2023 14:53:25 +0530 Subject: [PATCH] fix(cli): resolve warning caused by \w in regular string (#6236) --- cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.py b/cli.py index 540eecc6..6c45695a 100644 --- a/cli.py +++ b/cli.py @@ -219,7 +219,7 @@ def create(agent_name): import re import shutil - if not re.match("\w*$", agent_name): + if not re.match(r"\w*$", agent_name): click.echo( click.style( f"😞 Agent name '{agent_name}' is not valid. It should not contain spaces or special characters other than -_",