From 1a30eab8ccd2a4aac036fab1385570f2c9d2c9ea Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Thu, 15 Aug 2024 21:34:44 -0400 Subject: [PATCH] ci(python): update flake8 workflow --- .flake8 | 3 +-- .github/workflows/python-flake8.yml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.flake8 b/.flake8 index 2d028b2d..2ea73951 100644 --- a/.flake8 +++ b/.flake8 @@ -1,7 +1,6 @@ [flake8] filename = - *.py, - *.pys + *.py max-line-length = 120 extend-exclude = venv/ diff --git a/.github/workflows/python-flake8.yml b/.github/workflows/python-flake8.yml index 61e23f74..c790a6c8 100644 --- a/.github/workflows/python-flake8.yml +++ b/.github/workflows/python-flake8.yml @@ -30,8 +30,7 @@ jobs: - name: Install dependencies run: | - # pin flake8 before v6.0.0 due to removal of support for type comments (required for Python 2.7 type hints) - python -m pip install --upgrade pip setuptools "flake8<6" + python -m pip install --upgrade pip setuptools flake8 - name: Test with flake8 run: |