From 2ab2336ecac5b649d19e4197b4952159b7ba9400 Mon Sep 17 00:00:00 2001 From: Tyler Yep Date: Sun, 2 Feb 2025 14:35:47 -0800 Subject: [PATCH] Upgrade to Ruff v0.9.4 --- .pre-commit-config.yaml | 2 +- ruff.toml | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 47fc62a..710a7a3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ ci: skip: [mypy, pytest] repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.3 + rev: v0.9.4 hooks: - id: ruff args: [--fix] diff --git a/ruff.toml b/ruff.toml index 5a58061..5c21948 100644 --- a/ruff.toml +++ b/ruff.toml @@ -1,8 +1,6 @@ target-version = "py38" lint.select = ["ALL"] lint.ignore = [ - "ANN101", # Missing type annotation for `self` in method - "ANN102", # Missing type annotation for `cls` in classmethod "ANN401", # Dynamically typed expressions (typing.Any) are disallowed "C901", # function is too complex (12 > 10) "COM812", # Trailing comma missing