You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: Correct exemption_filenames type in load_archive_rules function
- Previously, the function returned a single string for exemption_filename, but it should return a list of strings.
- This change ensures that the function correctly handles multiple exemption filenames as intended.
- Also updated the type hints and docstring accordingly.
"""Loads the archive rules from the configuration file.
333
333
334
334
Args:
335
335
archive_rules (dict): The archive rules from the configuration file.
336
336
337
337
Returns:
338
-
Tuple[int, int, str, str, int]: The archive threshold, the notification period, the notification issue tag, the exemption filename, and the maximum number of notifications.
338
+
Tuple[int, int, str, list[str], int]: The archive threshold, the notification period, the notification issue tag, a list of exemption filenames, and the maximum number of notifications.
0 commit comments