diff options
Diffstat (limited to 'check_layout.py')
| -rw-r--r-- | check_layout.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/check_layout.py b/check_layout.py index c38705e..f0c1a34 100644 --- a/check_layout.py +++ b/check_layout.py @@ -61,6 +61,9 @@ def check_layout(layout): unexpected_keys(keys, bottom_row_keys, "Layout contains keys present in the bottom row") + if root.get("script") == None: + warn("Layout doesn't specify a script.") + for fname in sys.argv[1:]: layout = parse_layout(fname) if layout == None: |
