Skip to content

Commit

Permalink
refactor: disable event-missing-annotation for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Jan 10, 2025
1 parent 961895f commit 897fef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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(
return OpenEdxPublicSignal( # pylint: disable=event-missing-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(
self.public_signal = OpenEdxPublicSignal( # pylint: disable=event-missing-annotation
event_type=self.event_type,
data=self.data_attr,
)
Expand Down

0 comments on commit 897fef1

Please sign in to comment.