From af69faef6bc79a90a1c04df863f12887f8fb56f7 Mon Sep 17 00:00:00 2001 From: ZwwWayne Date: Wed, 17 Jan 2024 10:07:00 +0800 Subject: [PATCH] update lint doc --- .github/workflows/lint_check.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint_check.yaml b/.github/workflows/lint_check.yaml index 1573c41..e661e80 100644 --- a/.github/workflows/lint_check.yaml +++ b/.github/workflows/lint_check.yaml @@ -18,7 +18,7 @@ jobs: run: | pip install flake8==v3.8.4 FLAKE_DISABLE_LIST="F403,F405,W504,W503,E203" - flake8 --max-line-length=120 --ignore=$FLAKE_DISABLE_LIST ./* + flake8 --max-line-length=120 --ignore=$FLAKE_DISABLE_LIST ./chat/web_demo.py - name: lint-isort run: | @@ -29,10 +29,10 @@ jobs: run: | pip install black==22.8.0 BLACK_EXCLUDE_SETTINGS='\.venv/|\.local/|\.cache/|\.git/' - black --line-length=120 --check --exclude $BLACK_EXCLUDE_SETTINGS ./* + 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 ./* + pylint --rcfile .pylintrc --disable=$PYLINT_DISABLE_LIST ./chat/web_demo.py