Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsmie committed Nov 24, 2023
1 parent 27a2d58 commit 0e8899a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv flake8
pipenv install
- name: Lint with flake8
pip install poetry
poetry install
- name: Lint with ruff
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 ./rollbot --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 ./rollbot --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
poetry run ruff format --check src
poetry run ruff check src

0 comments on commit 0e8899a

Please sign in to comment.