Skip to content

Commit

Permalink
Run python -m black . and remove text repetition
Browse files Browse the repository at this point in the history
  • Loading branch information
llybin committed Aug 24, 2022
1 parent 437f411 commit a716fc8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drf_recaptcha/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def score(self):
score = self.__validator.score
if score is None:
msg = (
'You must call must call the serializer `.is_valid()` method before '
'attempting to access the `.score` property of this field.'
"You must call the serializer `.is_valid()` method before "
"attempting to access the `.score` property of this field."
)
raise AssertionError(msg)
return score
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def read(f):

setup(
name="drf-recaptcha",
version="2.2.0",
version="2.2.1",
description="Django rest framework recaptcha field serializer.",
long_description=read("README.md"),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit a716fc8

Please sign in to comment.