Skip over partial event definitions in examples

pull/977/head
Travis Ralston 6 years ago
parent 0b45f3795b
commit 86019c9ade

@ -106,6 +106,9 @@ def check_example_dir(exampledir, schemadir):
if filename.startswith("."):
# Skip over any vim .swp files.
continue
if filename.endswith(".json"):
# Skip over any explicit examples (partial event definitions)
continue
cwd = os.path.basename(os.path.dirname(os.path.join(root, filename)))
if cwd == "core":
# Skip checking the underlying definitions

Loading…
Cancel
Save