From a48f8f11346918d45c2a4137068406d60bcff446 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 10 Oct 2024 15:48:42 +0300 Subject: [PATCH] Update pre-commit tools --- .pre-commit-config.yaml | 6 +++--- pyproject.toml | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a859d05af..8ac37502e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,13 +1,13 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.3.2 + rev: v0.6.9 hooks: - id: ruff args: - --fix - id: ruff-format - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.5.0 + rev: v5.0.0 hooks: - id: check-merge-conflict - id: check-yaml @@ -18,6 +18,6 @@ repos: args: - --fix=lf - repo: https://github.com/crate-ci/typos - rev: v1.18.2 + rev: v1.26.0 hooks: - id: typos diff --git a/pyproject.toml b/pyproject.toml index 609ff84fa..271edc84e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,6 @@ ignore = [ "F841", # Local assigned but not used (TODO: enable, these are likely bugs) "RUF012", # Mutable class attribute annotations ] -ignore-init-module-imports = true # allow to expose in __init__.py via imports [tool.ruff.lint.extend-per-file-ignores] "**/__init__.py" = ["F401"] # allow unused imports in __init__.py