Skip to content

Commit

Permalink
Use pipx
Browse files Browse the repository at this point in the history
  • Loading branch information
robvanderleek committed Oct 12, 2024
1 parent 33eb791 commit 5fd05e4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/code-style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout sources'
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: 'Lint code with Ruff'
run: |
pip install ruff
pipx install ruff
ruff check --fix .
- name: 'Type cheking with MyPy'
run: |
pip install mypy
pipx install mypy
mypy --ignore-missing-imports codelimit/
- name: 'Format code with black'
run: |
pip install black
pipx install black
black .
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'Code style fixes'

0 comments on commit 5fd05e4

Please sign in to comment.