mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-08 08:53:43 +01:00
Skip over partial event definitions in examples
This commit is contained in:
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…
Reference in a new issue