Skip to content

Commit

Permalink
style: Linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtcril committed May 6, 2024
1 parent 30103e6 commit 3249924
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform_plugin_aspects/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ def _get_object_tags(usage_key): # pragma: no cover
Wrap the Open edX tagging API method get_object_tags.
"""
try:
# pylint: disable=import-outside-toplevel,import-error
# pylint: disable=import-outside-toplevel
from openedx.core.djangoapps.content_tagging.api import get_object_tags

return get_object_tags(object_id=str(usage_key))
Expand Down Expand Up @@ -316,7 +316,7 @@ def get_tags_for_block(usage_key) -> dict:

def _add_tag(tag, serialized_tags):
"""
Adds a tag to our serialized list of tags.
Add a tag to our serialized list of tags.
"""
if tag.taxonomy.name not in serialized_tags:
serialized_tags[tag.taxonomy.name] = [tag.value]
Expand Down

0 comments on commit 3249924

Please sign in to comment.