Skip to content

Commit

Permalink
call pre-commit in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chraibi committed Oct 21, 2024
1 parent 21e6f5c commit 70a94c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/streamlit-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mypy ruff
pip install -r requirements-dev.txt
pip install -r requirements.txt
- name: Lint with Ruff
run: ruff $(git ls-files '*.py')
- name: Analysing with Mypy
- name: Run pre-commit hooks
run: |
mypy --strict $(git ls-files '*.py')
pre-commit run --all-files
2 changes: 2 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mypy==1.5.2
ruff==0.6.8

0 comments on commit 70a94c1

Please sign in to comment.