From 4b263775718a72d7ffa77554a21c2295c7db3f9b Mon Sep 17 00:00:00 2001 From: Diogo Diniz Date: Fri, 14 Aug 2026 11:27:27 +0100 Subject: [PATCH] chore: Update pre-commit and ruff rules --- .pre-commit-config.yaml | 4 ++-- pyproject.toml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0fb4e23..32b7ae1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,12 +1,12 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.0 + rev: v0.16.0 hooks: - id: ruff-check args: [ --fix ] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.19.1 + rev: v2.3.0 hooks: - id: mypy args: [--strict] diff --git a/pyproject.toml b/pyproject.toml index 3cb863d..6a7211a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,8 @@ ignore = [ "FIX004", # Others I dont care about - "D" + "D", + "CPY001" ] [tool.ruff.format]