diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 373288d7..6a79aaea 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,10 +1,10 @@ default_stages: [commit] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.1.9 + rev: v0.2.1 hooks: - id: ruff -# args: [ --fix ] + args: [--fix] - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks diff --git a/pyproject.toml b/pyproject.toml index 3a8155ee..20cab4cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -72,7 +72,6 @@ select = [ ignore = [ "E501", # the formatter will handle any too long line ] -preview = true [tool.ruff.lint.per-file-ignores] "tests/**/*" = ["PLR0913", "S101"]