Skip to content

Commit

Permalink
refactor: address quality issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Jan 24, 2025
1 parent b1d4456 commit 7715301
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion openedx_events/content_authoring/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@
# .. event_type: org.openedx.content_authoring.content.object.associations.changed.v1
# .. event_name: CONTENT_OBJECT_ASSOCIATIONS_CHANGED
# .. event_description: emitted when an object's associations are changed, e.g tags, collections
# .. event_data: ContentObjectData
# .. event_data: ContentObjectChangedData
# .. event_trigger_repository: openedx/edx-platform
CONTENT_OBJECT_ASSOCIATIONS_CHANGED = OpenEdxPublicSignal(
event_type="org.openedx.content_authoring.content.object.associations.changed.v1",
Expand Down
2 changes: 1 addition & 1 deletion openedx_events/event_bus/avro/tests/test_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def create_simple_signal(data_dict, event_type="simple.signal"):
data_dict: Description of attributes passed to the signal
event_type: A custom event type string. Defaults to 'simple.signal'
"""
return OpenEdxPublicSignal( # pylint: disable=event-missing-annotation
return OpenEdxPublicSignal( # pylint: disable=missing-or-incorrect-annotation
event_type=event_type,
data=data_dict
)
Expand Down
2 changes: 1 addition & 1 deletion openedx_events/tests/test_tooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def setUp(self):
self.data_attr = {
"user": Mock,
}
self.public_signal = OpenEdxPublicSignal( # pylint: disable=event-missing-annotation
self.public_signal = OpenEdxPublicSignal( # pylint: disable=missing-or-incorrect-annotation
event_type=self.event_type,
data=self.data_attr,
)
Expand Down

0 comments on commit 7715301

Please sign in to comment.