Isolated python REPL based on docker containers #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Documentation Lint | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Run import check | |
run: | | |
# We should not encourage imports directly from main init file | |
# Expect for hub | |
git grep 'from langchain import' docs | grep -vE 'from langchain import (hub)' && exit 1 || exit 0 |