Skip to content

Commit

Permalink
Moves hamilton example to other-examples -- not going to finish this …
Browse files Browse the repository at this point in the history
…now so its OK to be half-baked
  • Loading branch information
elijahbenizzy committed Mar 30, 2024
1 parent f408f6b commit ab49505
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/validate_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"__init__.py", # included as we want them all to be importable
]

FILTERLIST = ["half-baked", "ml-training"]
FILTERLIST = ["other-examples", "ml-training", "simulation", "multi-agent-collaboration"]


def should_validate(directory: str) -> bool:
"""Return True if the given directory is an example directory."""
return (
os.path.isdir(os.path.join(EXAMPLES_DIR, directory))
and not directory.startswith(".")
and not directory.startswith("_")
and directory not in FILTERLIST
os.path.isdir(os.path.join(EXAMPLES_DIR, directory))
and not directory.startswith(".")
and not directory.startswith("_")
and directory not in FILTERLIST
)


Expand Down

0 comments on commit ab49505

Please sign in to comment.