From 059035e2d64cbe1f9454868a4f7621e0aeed8381 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Mon, 18 May 2020 15:49:52 -0500 Subject: [PATCH] excluded imports Signed-off-by: Arthur Lu --- .github/workflows/ut-analysis.yml | 4 ++-- data-analysis/unit-test.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ut-analysis.yml b/.github/workflows/ut-analysis.yml index 81f55601..128b938e 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 + 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 + 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: | diff --git a/data-analysis/unit-test.py b/data-analysis/unit-test.py index d2a8f744..e69de29b 100644 --- a/data-analysis/unit-test.py +++ b/data-analysis/unit-test.py @@ -1 +0,0 @@ -assert True == True \ No newline at end of file