Skip to content

Commit

Permalink
exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
efriis committed Dec 7, 2023
1 parent fa911d0 commit e2e26e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion libs/core/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test_watch:

check_imports: langchain_core/**/*.py
for f in $^ ; do \
python -c "from importlib.machinery import SourceFileLoader; SourceFileLoader('x', '$$f').load_module()" ; \
python -c "from importlib.machinery import SourceFileLoader; SourceFileLoader('x', '$$f').load_module()" || exit 1; \
done

######################
Expand Down
2 changes: 1 addition & 1 deletion libs/experimental/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ integration_tests:

check_imports: langchain_experimental/**/*.py
for f in $^ ; do \
python -c "from importlib.machinery import SourceFileLoader; SourceFileLoader('x', '$$f').load_module()" ; \
python -c "from importlib.machinery import SourceFileLoader; SourceFileLoader('x', '$$f').load_module()" || exit 1; \
done


Expand Down
2 changes: 1 addition & 1 deletion libs/langchain/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ docker_tests:

check_imports: langchain/**/*.py
for f in $^ ; do \
python -c "from importlib.machinery import SourceFileLoader; SourceFileLoader('x', '$$f').load_module()" ; \
python -c "from importlib.machinery import SourceFileLoader; SourceFileLoader('x', '$$f').load_module()" || exit 1; \
done

######################
Expand Down

0 comments on commit e2e26e5

Please sign in to comment.