mirror of
https://github.com/hwchase17/langchain.git
synced 2026-07-14 05:11:08 +00:00
stop importing from init
This commit is contained in:
20
.github/workflows/imports.yml
vendored
Normal file
20
.github/workflows/imports.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: Imports
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
branches: [master]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Run Bash script
|
||||
run: git grep 'from langchain import' | grep -vE 'from langchain import (__version__)'
|
||||
|
||||
Reference in New Issue
Block a user