From 201934d60654319067a5d57d22569694089ed4e7 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 11 Nov 2024 21:37:57 +0100 Subject: [PATCH 1/2] Lint faster --- .github/workflows/lint.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 34584c23..3fbe9c17 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,13 +14,5 @@ jobs: steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.11' - - name: Install dependencies - run: | - python -m pip install flake8 - - name: Run flake8 - run: | - # ignore errors for long lines and multi-statement lines - python -m flake8 --ignore=E501,E701,W503 speech_recognition tests examples setup.py + # ignore errors for long lines and multi-statement lines + - run: pipx run flake8 --ignore=E501,E701,W503 . From 66740452d136bfccdbc5f7dd9fd80a8f0463f6ee Mon Sep 17 00:00:00 2001 From: nikkie Date: Mon, 9 Dec 2024 09:11:57 +0900 Subject: [PATCH 2/2] [docs] Tweak --- .github/workflows/lint.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3fbe9c17..50bd307c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,5 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - # ignore errors for long lines and multi-statement lines - - run: pipx run flake8 --ignore=E501,E701,W503 . + - name: Run flake8 + run: | + # ignore errors for long lines and multi-statement lines + pipx run flake8 --ignore=E501,E701,W503 .