MCPcopy Create free account
hub / github.com/Julow/Unexpected-Keyboard / missing_required

Function missing_required

check_layout.py:36–39  ·  view source on GitHub ↗
(keys, symbols, msg)

Source from the content-addressed store, hash-verified

34 class_name, key_list_str(missing)))
35
36def missing_required(keys, symbols, msg):
37 missing = set(symbols).difference(keys)
38 if len(missing) > 0:
39 warn("%s, missing: %s" % (msg, key_list_str(missing)))
40
41def unexpected_keys(keys, symbols, msg):
42 unexpected = set(symbols).intersection(keys)

Callers 1

check_layoutFunction · 0.85

Calls 2

key_list_strFunction · 0.85
warnFunction · 0.70

Tested by

no test coverage detected