Skip to content

Commit 16507a1

Browse files
committed
ci: add flake8 to the linters workflow
1 parent ea37d98 commit 16507a1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/linters.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
branches:
55
- main
66
jobs:
7-
ruff-check:
7+
linters:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
@@ -15,7 +15,9 @@ jobs:
1515
- name: Install dependencies
1616
run: |
1717
python -m pip install --upgrade pip
18-
pip install ruff
18+
pip install ruff flake8
1919
# Update output format to enable automatic inline annotations.
2020
- name: Run Ruff
2121
run: ruff check --output-format=github .
22+
- name: Run Flake8
23+
run: flake8 --max-line-length 120

0 commit comments

Comments
 (0)