fix ernie operator setup #118
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: Workflow for pylint | |
on: | |
pull_request: | |
branches: | |
- main | |
- zh | |
# file paths to consider in the event | |
paths: | |
- '**.py' | |
- '!**.md' | |
- '.github/workflows/pylint.yml' | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3.0.0 | |
- name: Setup Python | |
uses: actions/setup-python@v3.0.0 | |
with: | |
python-version: 3.8 | |
- name: Python pylint | |
run: | | |
pip install pylint==2.10.2 | |
pylint --rcfile=.pylintrc --output-format=colorized src_towhee | |
pylint --rcfile=.pylintrc --output-format=colorized src_langchain | |
pylint --rcfile=.pylintrc --output-format=colorized offline_tools |