From 948692a94b22852b3147abebac9d719b69320b57 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sun, 21 May 2023 11:26:27 -0700 Subject: [PATCH] only run flake8 on Python 3.8 or higher, refs #550 --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d30abc4..ab30b2d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,7 +44,8 @@ jobs: pytest -v - name: run mypy run: mypy sqlite_utils tests - - name: run flake8 + - name: run flake8 if Python 3.8 or higher + if: matrix.python-version >= 3.8 run: flake8 - name: Check formatting run: black . --check