diff --git a/.github/workflows/ut-analysis.yml b/.github/workflows/ut-analysis.yml index 897bd47e..02d1b4ce 100644 --- a/.github/workflows/ut-analysis.yml +++ b/.github/workflows/ut-analysis.yml @@ -32,13 +32,6 @@ jobs: pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi working-directory: ${{ env.working-directory }} - - name: Lint with flake8 - run: | - # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=titanlearn.py,regression.py,metrics/ - # 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 --exclude=titanlearn.py,regression.py,metrics/ - working-directory: ${{ env.working-directory }} - name: Test with pytest run: | pytest unit-test.py diff --git a/.github/workflows/ut-superscript.yml b/.github/workflows/ut-superscript.yml index 8d215632..65d4b8fd 100644 --- a/.github/workflows/ut-superscript.yml +++ b/.github/workflows/ut-superscript.yml @@ -32,13 +32,6 @@ jobs: pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi working-directory: ${{ env.working-directory }} - - name: Lint with flake8 - run: | - # 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 - working-directory: ${{ env.working-directory }} - name: Test with pytest run: | pytest unit-test.py