Skip to content

Commit

Permalink
Fix D204
Browse files Browse the repository at this point in the history
1 blank line required after class docstring
  • Loading branch information
ChanTsune committed Oct 9, 2020
1 parent c0b379f commit d22a9a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django_boost/models/fields/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

class JsonField(TextField):
"""TextField with json validation."""

empty_strings_allowed = False
default_validators = [validate_json]

Expand Down

0 comments on commit d22a9a8

Please sign in to comment.