Skip to content

Commit

Permalink
adds missing type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
BWMac committed Dec 5, 2024
1 parent de3e983 commit 8d9f2db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/agoradatatools/gx.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ def set_warnings_and_failures(self, checkpoint_result: CheckpointResult) -> None
fail_dict, "failures"
)

def _generate_message(self, result_dict, message_type):
def _generate_message(
self, result_dict: dict, message_type: str
) -> tuple[str, bool]:
"""Generate message and status for warnings or failures."""
messages = []
for suite_name, fields_dict in result_dict.items():
Expand Down

0 comments on commit 8d9f2db

Please sign in to comment.