Skip to content

Commit

Permalink
style: fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido committed Sep 21, 2023
1 parent c75751e commit 005379d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion openedx_tagging/core/tagging/models/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,6 @@ def _check_new_tag_count(new_tag_count: int) -> None:
_(f"Cannot add more than 100 tags to ({object_id}).")
)


if not isinstance(tags, list):
raise ValueError(_(f"Tags must be a list, not {type(tags).__name__}."))

Expand Down
3 changes: 2 additions & 1 deletion openedx_tagging/core/tagging/rest_api/v1/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,4 +499,5 @@ def get_queryset(self) -> list[Tag]: # type: ignore[override]
# This function is not called automatically
self.pagination_class = self.get_pagination_class()

return result
return result

0 comments on commit 005379d

Please sign in to comment.