Skip to content

Commit

Permalink
try py-actions/flake8@v2 action
Browse files Browse the repository at this point in the history
  • Loading branch information
skoulouzis committed Oct 14, 2024
1 parent a60654d commit b953d69
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,5 @@ jobs:
with:
python-version: 3.11

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8 pytest
- name: Lint with flake8
shell: bash -l {0}
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: flake8 Lint
uses: py-actions/flake8@v2

0 comments on commit b953d69

Please sign in to comment.