From b3326a0643f42ba6967b5cfad7c9730468a9c6e7 Mon Sep 17 00:00:00 2001 From: "tiago.peres.sousa" Date: Mon, 27 Jan 2025 14:42:25 +0000 Subject: [PATCH] Another attempt to exclude dirs from flake8 --- .github/workflows/main.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 5879c37..da038a2 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -30,7 +30,6 @@ jobs: continue_on_error: false black: true flake8: true - flake8-options: "--exclude tests/*,build/*" bandit: name: bandit @@ -58,7 +57,7 @@ jobs: - name: install dependencies run: pip install .[test] - name: cognitive - run: flake8 . --max-cognitive-complexity=5 --exclude=test_*.py + run: flake8 . --max-cognitive-complexity=5 --exclude=tests/*,build/* isort: name: isort