Skip to content

Commit dbd9e5a

Browse files
committed
add flake to workflow
1 parent b689840 commit dbd9e5a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/python-app.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@ jobs:
2121
with:
2222
python-version: "3.10"
2323

24+
- name: Install dependencies
25+
run: |
26+
python -m pip install --upgrade pip
27+
pip install flake8
28+
2429
- name: Lint with flake8
2530
run: |
2631
# stop the build if there are Python syntax errors or undefined names
2732
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
2833
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
29-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
34+
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics

0 commit comments

Comments
 (0)