Skip to content

Commit

Permalink
Add requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Joaopeuko committed Apr 16, 2024
1 parent 13528ce commit 994455d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@ jobs:
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pytest poetry
if [ -f pyproject.toml ]; then poetry install; fi
- name: Check if lock file is up-to-date
run: |
poetry check
poetry export -f requirements.txt --output requirements.txt
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Lint with flake8
run: |
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
Expand Down

0 comments on commit 994455d

Please sign in to comment.