From 44f6d36263d6b5d0dbb87aa764b0c8e3686e92f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Mon, 17 Feb 2025 20:51:04 -0800 Subject: [PATCH] ci: add flake8 to the linters workflow --- .github/workflows/linters.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 635992a..d3488d4 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -4,7 +4,7 @@ on: branches: - main jobs: - ruff-check: + linters: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -15,7 +15,9 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install ruff + pip install ruff flake8 # Update output format to enable automatic inline annotations. - name: Run Ruff run: ruff check --output-format=github . + - name: Run Flake8 + run: flake8 --max-line-length 120