mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-08 04:25:46 +00:00
infra: run doc lint on root pyproject change (#29350)
This commit is contained in:
parent
de1fc4811d
commit
a2ed796aa6
5
.github/scripts/check_diff.py
vendored
5
.github/scripts/check_diff.py
vendored
@ -304,9 +304,8 @@ if __name__ == "__main__":
|
|||||||
f"Unknown lib: {file}. check_diff.py likely needs "
|
f"Unknown lib: {file}. check_diff.py likely needs "
|
||||||
"an update for this new library!"
|
"an update for this new library!"
|
||||||
)
|
)
|
||||||
elif any(file.startswith(p) for p in ["docs/", "cookbook/"]):
|
elif file.startswith("docs/") or file in ["pyproject.toml", "poetry.lock"]: # docs or root poetry files
|
||||||
if file.startswith("docs/"):
|
docs_edited = True
|
||||||
docs_edited = True
|
|
||||||
dirs_to_run["lint"].add(".")
|
dirs_to_run["lint"].add(".")
|
||||||
|
|
||||||
dependents = dependents_graph()
|
dependents = dependents_graph()
|
||||||
|
Loading…
Reference in New Issue
Block a user