Skip to content

Commit

Permalink
fix(cli): resolve warning caused by \w in regular string (Significant…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiran1689 authored Nov 16, 2023
1 parent 60264d6 commit 22fb0f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 -_",
Expand Down

0 comments on commit 22fb0f7

Please sign in to comment.