Skip over partial event definitions in examples
This commit is contained in:
parent
0b45f3795b
commit
86019c9ade
1 changed files with 3 additions and 0 deletions
|
@ -106,6 +106,9 @@ def check_example_dir(exampledir, schemadir):
|
||||||
if filename.startswith("."):
|
if filename.startswith("."):
|
||||||
# Skip over any vim .swp files.
|
# Skip over any vim .swp files.
|
||||||
continue
|
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)))
|
cwd = os.path.basename(os.path.dirname(os.path.join(root, filename)))
|
||||||
if cwd == "core":
|
if cwd == "core":
|
||||||
# Skip checking the underlying definitions
|
# Skip checking the underlying definitions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue