From 6442eb3b7491ce57db8200508b2fde340f2af7c2 Mon Sep 17 00:00:00 2001 From: Bo Wun Cheng Date: Wed, 13 Dec 2023 23:29:07 -0800 Subject: [PATCH] fix syntax error in the --exclude argument of flake8 --- .github/workflows/python-package-conda.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package-conda.yml b/.github/workflows/python-package-conda.yml index 2674afdd..563cad6c 100644 --- a/.github/workflows/python-package-conda.yml +++ b/.github/workflows/python-package-conda.yml @@ -48,12 +48,12 @@ jobs: run: | conda install flake8 # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude venv peak lassen + flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude venv,peak,lassen # 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 venv peak lassen + flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude venv,peak,lassen - name: Python style checking flake8 run: | - flake8 . --count --select=E,W --statistics --ignore=W503,W504 --max-line-length=127 --exclude venv peak lassen + 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