Skip to content

Commit

Permalink
Install deps in check_and_fix using pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
laggykiller committed Mar 21, 2024
1 parent d33beb2 commit bf2dee1
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/check_and_fix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,15 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install dependency
run: pip install ruff mypy isort pytest Pillow types-Pillow
- name: Ruff check
run: ruff check
- name: Install test
run: pip install .
run: pip install .[full,test,lint]
- name: mypy
run: mypy
- name: isort
run: isort .
- name: ruff format
- name: Ruff check
run: ruff check
- name: Ruff format
run: ruff format
- name: Commit & Push changes
uses: actions-js/push@master
Expand Down

0 comments on commit bf2dee1

Please sign in to comment.