[CI]: fix and pass workflow of github

pull/666/head
Liqu1d-G 2024-01-26 17:15:50 +08:00
parent 4c022ff0e8
commit 5f7e0eda2c
1 changed files with 0 additions and 12 deletions

View File

@ -24,15 +24,3 @@ jobs:
run: |
pip install isort==5.12.0
isort --check --profile=black .
- name: lint-black
run: |
pip install black==22.8.0
BLACK_EXCLUDE_SETTINGS='\.venv/|\.local/|\.cache/|\.git/'
black --line-length=120 --check --exclude $BLACK_EXCLUDE_SETTINGS ./chat/web_demo.py
- name: lint-pylint
run: |
pip install pylint==v2.17.2
PYLINT_DISABLE_LIST="C0114,C0415,W0212,W0235,W0238,W0621,C0103,R1735,C2801,E0402,C0412,W0719,R1728,W1514,W0718,W0105,W0707,C0209,W0703,W1203"
pylint --rcfile .pylintrc --disable=$PYLINT_DISABLE_LIST ./chat/web_demo.py