From 3bdc60e6f32c8afd0bcb66abfd543a47cf82c67e Mon Sep 17 00:00:00 2001 From: Federico Bond Date: Wed, 7 Feb 2024 12:04:56 -0300 Subject: [PATCH] chore: update ruff version to 0.2.1 and remove preview flag Signed-off-by: Federico Bond --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) 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"]