Fix ut #95
Workflow file for this run
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/[email protected] | |
- name: Setup Python | |
uses: actions/[email protected] | |
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 |