diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 354b3f8a08d..aef0a4f2f18 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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.0 + rev: v0.8.3 hooks: - id: ruff args: [ --fix ] diff --git a/pyproject.toml b/pyproject.toml index 00295d9142d..cfe295eabf8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -225,6 +225,7 @@ allowed-confusables = ["–"] "RUF018", # assignment-in-assert "RUF006", # asyncio-dangling-task "PLW1508", # Invalid type of environment variable default + "RUF052", # used-dummy-variable ] "src/ert/dark_storage/json_schema/__init__.py" = ["F401"] "src/ert/dark_storage/*" = ["RUF029"] # unused-async