Skip to content

Commit

Permalink
Merge pull request #384 from pybop-team/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
chore: update pre-commit hooks
  • Loading branch information
BradyPlanden authored Jul 2, 2024
2 parents 9ac4d01 + 02e18bf commit 401c27f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.4.10"
rev: "v0.5.0"
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand Down
2 changes: 1 addition & 1 deletion tests/plotting/test_plotly_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def test_cancel_installation(mocker, uninstall_plotly_if_installed):
with pytest.raises(SystemExit) as pytest_wrapped_e:
PlotlyManager().prompt_for_plotly_installation()

assert pytest_wrapped_e.type == SystemExit
assert pytest_wrapped_e.type is SystemExit
assert pytest_wrapped_e.value.code == 1
assert not is_package_installed("plotly")

Expand Down

0 comments on commit 401c27f

Please sign in to comment.