Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Soumik Pal committed Oct 26, 2023
1 parent ddfd98b commit ba09b96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8 numpy opencv-contrib-python
pip install flake8 numpy opencv-contrib-python pyflakes
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 src/. --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 src/. --count --max-complexity=10 --max-line-length=127 --statistics
flake8 src/. --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
pyflakes src/main.py

0 comments on commit ba09b96

Please sign in to comment.