From fa86c5135f4789cc0966091fa68e600999f67e77 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Dec 2024 00:26:44 +0000 Subject: [PATCH 1/2] chore: update pre-commit hooks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 24.4.2 → 24.10.0](https://github.com/psf/black/compare/24.4.2...24.10.0) - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v5.0.0) - [github.com/asottile/blacken-docs: 1.16.0 → 1.19.1](https://github.com/asottile/blacken-docs/compare/1.16.0...1.19.1) - [github.com/astral-sh/ruff-pre-commit: v0.4.5 → v0.8.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.5...v0.8.4) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.14.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.14.0) --- .pre-commit-config.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 192170d..b3997b0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,12 +4,12 @@ ci: repos: - repo: https://github.com/psf/black - rev: "24.4.2" + rev: "24.10.0" hooks: - id: black-jupyter - repo: https://github.com/pre-commit/pre-commit-hooks - rev: "v4.6.0" + rev: "v5.0.0" hooks: - id: check-added-large-files - id: check-case-conflict @@ -39,19 +39,19 @@ repos: args: [--prose-wrap=always] - repo: https://github.com/asottile/blacken-docs - rev: "1.16.0" + rev: "1.19.1" hooks: - id: blacken-docs additional_dependencies: [black==23.3.0] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: "v0.4.5" + rev: "v0.8.4" hooks: - id: ruff args: ["--fix", "--show-fixes"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: "v1.10.0" + rev: "v1.14.0" hooks: - id: mypy files: src|tests From 8e7b68824681cca638bef56cf5118a1e6df25bd9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 24 Dec 2024 00:27:53 +0000 Subject: [PATCH 2/2] style: pre-commit fixes --- src/dynamic_metadata/loader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dynamic_metadata/loader.py b/src/dynamic_metadata/loader.py index 952c900..5e0ef92 100644 --- a/src/dynamic_metadata/loader.py +++ b/src/dynamic_metadata/loader.py @@ -6,7 +6,7 @@ from pathlib import Path from typing import Any, Protocol, Union -__all__ = ["load_provider", "load_dynamic_metadata"] +__all__ = ["load_dynamic_metadata", "load_provider"] def __dir__() -> list[str]: