From 58c43a2e170f5fff02b3236753f9b87b4130a16c Mon Sep 17 00:00:00 2001 From: Bo Wun Cheng Date: Wed, 13 Dec 2023 23:20:46 -0800 Subject: [PATCH] add peak and lassen to the exclude list when running flake8 --- .github/workflows/python-package-conda.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index 0085bde0..74be8cd4 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -27,10 +27,8 @@ jobs: pip install -r requirements.txt git clone https://github.com/cdonovick/peak.git pip install -e peak - rm -rf peak git clone https://github.com/StanfordAHA/lassen.git pip install -e lassen - rm -rf lassen pip install -e . echo $VIRTUAL_ENV/bin >> $GITHUB_PATH - name: Test all (non SuiteSparse and Frostt) tests with pytest @@ -55,7 +53,7 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude venv - name: Python style checking flake8 run: | - flake8 . --count --select=E,W --statistics --ignore=W503,W504 --max-line-length=127 --exclude venv + flake8 . --count --select=E,W --statistics --ignore=W503,W504 --max-line-length=127 --exclude venv peak lassen - name: Check SAM Simulator generating script run: | make tests