Update pre-commit versions

This commit is contained in:
2023-02-09 07:20:35 +00:00
parent 66232c8260
commit 3f666e8251
7 changed files with 124 additions and 45 deletions

View File

@@ -116,7 +116,7 @@ class NotificationRuleForm(RestrictedFormMixin, ModelForm):
"topic",
"url",
"service",
"send_empty",
"policy",
"enabled",
)
help_texts = {
@@ -130,7 +130,7 @@ class NotificationRuleForm(RestrictedFormMixin, ModelForm):
"interval": "How often to run the search. On demand evaluates messages as they are received, without running a scheduled search. The remaining options schedule a search of the database with the window below.",
"window": "Time window to search: 1d, 1h, 1m, 1s, etc.",
"amount": "Amount of matches to be returned for scheduled queries. Cannot be used with on-demand queries.",
"send_empty": "Send a notification if no matches are found.",
"policy": "When to trigger this policy.",
}
def clean(self):