|
13 | 13 | import os |
14 | 14 | import pprint |
15 | 15 | import re |
16 | | -from collections.abc import Callable, Container, Generator, Iterable, Iterator, Mapping, Sequence |
| 16 | +from collections.abc import ( |
| 17 | + Callable, |
| 18 | + Container, |
| 19 | + Generator, |
| 20 | + Iterable, |
| 21 | + Iterator, |
| 22 | + Mapping, |
| 23 | + Sequence, |
| 24 | +) |
17 | 25 | from enum import auto, Enum |
18 | 26 | from pathlib import Path |
19 | 27 | from typing import Any, assert_never, cast, Final, Literal, override, TypedDict |
|
70 | 78 | from cmk.rulesets.internal.form_specs import ( |
71 | 79 | SingleChoiceElementExtended as SingleChoiceElementExtendedAPI, |
72 | 80 | ) |
73 | | -from cmk.rulesets.internal.form_specs import SingleChoiceExtended as SingleChoiceExtendedAPI |
| 81 | +from cmk.rulesets.internal.form_specs import ( |
| 82 | + SingleChoiceExtended as SingleChoiceExtendedAPI, |
| 83 | +) |
74 | 84 | from cmk.rulesets.v1 import Help, Label, Message, Title |
75 | 85 | from cmk.rulesets.v1.form_specs import BooleanChoice as BooleanChoiceAPI |
76 | 86 | from cmk.rulesets.v1.form_specs import CascadingSingleChoice as CascadingSingleChoiceAPI |
@@ -2205,7 +2215,7 @@ def _create_explicit_rule_services_dict(rule_spec_item: RuleSpecItem) -> DictEle |
2205 | 2215 | "value": DictElementAPI(parameter_form=value_parameter_form, required=True), |
2206 | 2216 | "negate": DictElementAPI( |
2207 | 2217 | parameter_form=BooleanChoiceAPI( |
2208 | | - label=Label("Negate: make rule apply for all but the above entries") |
| 2218 | + label=Label("Negate: apply to all except listed entries above") |
2209 | 2219 | ), |
2210 | 2220 | required=True, |
2211 | 2221 | ), |
@@ -2335,7 +2345,7 @@ def _create_explicit_rule_conditions_dict( |
2335 | 2345 | ), |
2336 | 2346 | "negate": DictElementAPI( |
2337 | 2347 | parameter_form=BooleanChoiceAPI( |
2338 | | - label=Label("Negate: make rule apply for all but the above entries"), |
| 2348 | + label=Label("Negate: apply to all except listed hosts above"), |
2339 | 2349 | ), |
2340 | 2350 | required=True, |
2341 | 2351 | ), |
|
0 commit comments