Skip over partial event definitions in examples

This commit is contained in:
Travis Ralston 2019-06-02 18:02:36 -06:00
parent 0b45f3795b
commit 86019c9ade

View file

@ -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