Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 18, 2023
1 parent aeb28ac commit 886a41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cl/recap/api_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def validate(self, attrs):
"document_number fields completed."
)

if not re.match('^[0-9]*$', attrs.get("document_number")):
if not re.match("^[0-9]*$", attrs.get("document_number")):
raise ValidationError(
"Uploaded PDFs document_number field can only contain "
"numbers."
Expand Down

0 comments on commit 886a41c

Please sign in to comment.