Skip to content

Commit d7869fa

Browse files
committed
fix: lint
1 parent c9bfe94 commit d7869fa

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/openedx_tagging/rest_api/v1/serializers.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,9 @@ def validate_tag_value(value, context, original_value=None):
222222
"""
223223
Validates the incoming request early:
224224
- This tag is unique, not a duplicate. (The model does not validate this sufficiently.)
225-
- There are no forbidden / reserved characters present. There is an additional model-side validation for this as well,
226-
but we are keeping this so we can validate the incoming request immediately.
225+
- There are no forbidden / reserved characters present. There is an additional
226+
model-side validation for this as well, but we are keeping this so we can validate
227+
the incoming request immediately.
227228
"""
228229
taxonomy_id = context.get("taxonomy_id")
229230
original_tag = Tag.objects.filter(taxonomy_id=taxonomy_id, value=original_value).first() if original_value else None

0 commit comments

Comments
 (0)