Skip to content

Commit

Permalink
Run pre-commit on all files (pybamm-team#3705)
Browse files Browse the repository at this point in the history
* Run pre-commit on all files

* Apply suggestions from code review
  • Loading branch information
kratman authored and js1tr3 committed Aug 12, 2024
1 parent 538ccca commit 838e6ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/run_periodic_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ jobs:
- name: Check style
run: |
python -m pip install pre-commit
git add .
pre-commit run ruff
pre-commit run -a
build:
needs: style
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:
- name: Check style
run: |
python -m pip install pre-commit
git add .
pre-commit run ruff
pre-commit run -a
run_unit_tests:
needs: style
Expand Down

0 comments on commit 838e6ac

Please sign in to comment.