Skip to content

Commit

Permalink
repository not setup to lint "."
Browse files Browse the repository at this point in the history
  • Loading branch information
mattf committed Mar 8, 2024
1 parent 51faf69 commit bc3a3bd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/scripts/check_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
)
):
# add all LANGCHAIN_DIRS for infra changes
dirs_to_run["lint"].add(".")
# dirs_to_run["lint"].add(".")
pass

if any(file.startswith(dir_) for dir_ in NVIDIA_DIRS):
for dir_ in NVIDIA_DIRS:
Expand All @@ -44,8 +45,8 @@
f"Unknown lib: {file}. check_diff.py likely needs "
"an update for this new library!"
)
elif any(file.startswith(p) for p in ["docs/", "templates/", "cookbook/"]):
dirs_to_run["lint"].add(".")
# elif any(file.startswith(p) for p in ["docs/", "templates/", "cookbook/"]):
# dirs_to_run["lint"].add(".")

outputs = {
"dirs-to-lint": list(
Expand Down

0 comments on commit bc3a3bd

Please sign in to comment.