Skip to content

Commit

Permalink
Fix SyntaxWarning in pr_compliance.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Gatsby-Lee committed Jul 22, 2024
1 parent abed00a commit 4171323
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/pr_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

#validator for titles
def validate_title(title: str):
return len(re.findall('(\[HUDI\-[0-9]{1,}\]|\[MINOR\])',title)) == 1
return len(re.findall(r'(\[HUDI\-[0-9]{1,}\]|\[MINOR\])',title)) == 1

#runs an individual title test
#
Expand Down

0 comments on commit 4171323

Please sign in to comment.