diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 319d5fe1..c315fd48 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,9 +1,10 @@ default_stages: [commit] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.11 + rev: v0.2.1 hooks: - id: ruff + args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/ruff.toml b/ruff.toml index 3b3c4e88..f4b20b7f 100644 --- a/ruff.toml +++ b/ruff.toml @@ -37,7 +37,6 @@ select = [ ignore = [ "E501", # the formatter will handle any too long line ] -preview = true [lint.isort] known-first-party = ["openfeature"]