File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515CLI_APP = "when"
1616UI_APP_LABEL = "When Automation Tool"
1717UI_APP_COPYRIGHT = "© 2023-2025 Francesco Garosi"
18- UI_APP_VERSION = "1.12.1b7 "
18+ UI_APP_VERSION = "1.12.2b1 "
1919
2020# other strings that should not be translated
2121UI_WHENEVER = "Whenever"
Original file line number Diff line number Diff line change @@ -264,7 +264,10 @@ def load_checking(
264264 self .hrtype = ITEM_COND_TIME
265265 tab = CheckedTable (item , item_line )
266266 assert tab .get_str ("type" ) == self .type
267- # TODO: check resulting dicts using get_array_of_dict_check_keys_vs_values
267+
268+ # these are expressed via a list of inline dictionaries whose
269+ # elements are fixed, and *must* exist, and have a specific form; we
270+ # use a dictionary based trick
268271 tests = {
269272 "weekday" : lambda x : x in _WEEKDAYS_TOML ,
270273 "year" : lambda y : isinstance (y , int ) and 0 < y <= 9999 , # year boundaries
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " when"
3- version = " 1.12.1b7 "
3+ version = " 1.12.2b1 "
44description = " Interface for the **whenever** automation tool"
55authors = [" Francesco Garosi <francesco.garosi@gmail.com>" ]
66license = ' BSD 3-Clause "New" or "Revised" License'
You can’t perform that action at this time.
0 commit comments