From 8f35f9e079b921926222382aeef333edfeae99b3 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 18 May 2020 15:51:51 -0500 Subject: [PATCH] lint refused to exclude metrics Signed-off-by: Arthur Lu --- .github/workflows/ut-analysis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ut-analysis.yml b/.github/workflows/ut-analysis.yml index 128b938e..897bd47e 100644 --- a/.github/workflows/ut-analysis.yml +++ b/.github/workflows/ut-analysis.yml @@ -35,9 +35,9 @@ jobs: - 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/* + 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/* + 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: |