Skip to content

The agent engineering platform.

infra: update to pathspec for 'git grep' in lint check (#18178)

aditya thomas44b33fcc761b
diff --git a/Makefile b/Makefile
index 5e66e6c07f..20271ade0b 100644
--- a/Makefile
+++ b/Makefile
@@ -50,7 +50,7 @@ lint lint_package lint_tests:
poetry run ruff docs templates cookbook
poetry run ruff format docs templates cookbook --diff
poetry run ruff --select I docs templates cookbook
- git grep 'from langchain import' {docs/docs,templates,cookbook} | grep -vE 'from langchain import (hub)' && exit 1 || exit 0
+ git grep 'from langchain import' docs/docs templates cookbook | grep -vE 'from langchain import (hub)' && exit 1 || exit 0
format format_diff:
poetry run ruff format docs templates cookbook