langchain
93260a99 - Fix broken `make` targets `format_diff` and `lint_diff` (#8344)

Commit
2 years ago
Fix broken `make` targets `format_diff` and `lint_diff` (#8344) Since the refactoring into sub-projects `libs/langchain` and `libs/experimental`, the `make` targets `format_diff` and `lint_diff` do not work anymore when running `make` from these subdirectories. Reason is that ``` PYTHON_FILES=$(shell git diff --name-only --diff-filter=d master | grep -E '\.py$$|\.ipynb$$') ``` generates paths from the project's root directory instead of the corresponding subdirectories. This PR fixes this by adding a `--relative` command line option. - Tag maintainer: @baskaryan
Author
Parents
Loading