From 19a2aae527868eb4d36910ddef89ec3a0df7d7cd Mon Sep 17 00:00:00 2001 From: SivWatt Date: Sat, 15 May 2021 23:09:02 +0800 Subject: [PATCH] ci: turn off exit-zero of linter --- .github/workflows/BuildExecutable.yaml | 2 +- .github/workflows/python-checks.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/BuildExecutable.yaml b/.github/workflows/BuildExecutable.yaml index ee6daf0..beb86c5 100644 --- a/.github/workflows/BuildExecutable.yaml +++ b/.github/workflows/BuildExecutable.yaml @@ -26,7 +26,7 @@ jobs: - name: Build with pyinstaller run: | - pyinstaller -F -w -i image/rsc/window_icon.ico -n ${{ env.EXE_NAME }} League.py + pyinstaller -F -w -i image/rsc/window_icon.ico -n ${{ env.EXE_NAME }} League.py - name: Compress release package run: | diff --git a/.github/workflows/python-checks.yaml b/.github/workflows/python-checks.yaml index db9557a..2541185 100644 --- a/.github/workflows/python-checks.yaml +++ b/.github/workflows/python-checks.yaml @@ -28,7 +28,7 @@ jobs: # stop the build if there are Python syntax errors or undefined names flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide - flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics + flake8 . --count --max-complexity=10 --max-line-length=127 --statistics build: runs-on: windows-latest @@ -50,7 +50,7 @@ jobs: - name: Build with pyinstaller run: | - pyinstaller -F -w -i image/rsc/window_icon.ico -n ${{ env.EXE_NAME }} League.py + pyinstaller -F -w -i image/rsc/window_icon.ico -n ${{ env.EXE_NAME }} League.py - name: Compress release package run: |