Skip to content

Commit

Permalink
Upgrade pre-commits ruff 0.8.3 -> 0.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
larsevj committed Jan 6, 2025
1 parent 6c9db0b commit 7c5c899
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
exclude: test-data/ert/eclipse/parse/ERROR.PRT # exact format is needed for testing

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.3
rev: v0.8.6
hooks:
- id: ruff
args: [ --fix ]
Expand Down
4 changes: 2 additions & 2 deletions src/ert/services/webviz_ert_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ class WebvizErt(BaseService):

def __init__(self, **kwargs: Any):
exec_args = [sys.executable, "-m", "webviz_ert"]
if kwargs.get("experimental_mode", False):
if kwargs.get("experimental_mode"):
exec_args.append("--experimental-mode")
if kwargs.get("verbose", False):
if kwargs.get("verbose"):
exec_args.append("--verbose")
exec_args.extend(["--title", str(kwargs.get("title"))])
project = kwargs.get("project")
Expand Down

0 comments on commit 7c5c899

Please sign in to comment.