From 3b2ba60f10d0adc7f48218a409ebc57365de4791 Mon Sep 17 00:00:00 2001 From: johnthagen Date: Sat, 13 Jan 2024 15:30:27 -0500 Subject: [PATCH] Suppress linting on Python 3.7 --- .github/workflows/build.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 626729e0..82b8aae2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,7 +24,10 @@ jobs: python -m pip install --upgrade pip python -m pip install -r requirements/tests.txt python -m pip install -r requirements.txt - - name: Linting + # TODO: Remove this conditional when Python 3.7 is dropped and Flake8 executes on + # all Python versions in matrix. + - if: matrix.python-version == '3.8' + name: Linting run: flake8 # Environments are selected using tox-gh-actions configuration in tox.ini. - name: Test with tox