From b9245e2155aa3a3987c4442ee7959a617f614c21 Mon Sep 17 00:00:00 2001 From: akrherz Date: Thu, 9 May 2024 13:48:57 -0500 Subject: [PATCH] chore: bump ruff --- .pre-commit-config.yaml | 2 +- pyproject.toml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2412919..31b73e9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ ci: autoupdate_schedule: quarterly repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.3.1" + rev: "v0.4.4" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/pyproject.toml b/pyproject.toml index fc037dc..15e608b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,11 @@ [tool.ruff] line-length = 79 -lint.select = ["E", "F", "I"] target-version = "py39" +[tool.ruff.lint] +select = [ + "E", + "F", + "I", +]