This commit is contained in:
Erick Friis
2023-12-12 17:50:50 -08:00
parent 90f3424a65
commit fa6ae6410f

View File

@@ -1,7 +1,7 @@
import json
import sys
ALL_DIRS = {
LANGCHAIN_DIRS = {
"libs/core",
"libs/langchain",
"libs/experimental",
@@ -23,7 +23,7 @@ if __name__ == "__main__":
".github/scripts/check_diff.py",
)
):
dirs_to_run.update(ALL_DIRS)
dirs_to_run.update(LANGCHAIN_DIRS)
break
elif "libs/community" in file:
dirs_to_run.update(
@@ -39,8 +39,7 @@ if __name__ == "__main__":
elif "libs/experimental" in file:
dirs_to_run.add("libs/experimental")
elif file.startswith("libs/"):
dirs_to_run.update(ALL_DIRS)
break
dirs_to_run.update(LANGCHAIN_DIRS)
else:
pass
print(json.dumps(list(dirs_to_run)))