Skip to content

Commit ca262f6

Browse files
chore: update pre-commit hooks (#26)
* chore: update pre-commit hooks updates: - [github.com/psf/black: 24.4.2 → 25.1.0](psf/black@24.4.2...25.1.0) - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0) - [github.com/asottile/blacken-docs: 1.16.0 → 1.19.1](adamchainz/blacken-docs@1.16.0...1.19.1) - [github.com/astral-sh/ruff-pre-commit: v0.4.5 → v0.11.2](astral-sh/ruff-pre-commit@v0.4.5...v0.11.2) - [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.15.0](pre-commit/mirrors-mypy@v1.10.0...v1.15.0) - [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](codespell-project/codespell@v2.3.0...v2.4.1) * style: pre-commit fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 76c420f commit ca262f6

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ ci:
44

55
repos:
66
- repo: https://github.com/psf/black
7-
rev: "24.4.2"
7+
rev: "25.1.0"
88
hooks:
99
- id: black-jupyter
1010

1111
- repo: https://github.com/pre-commit/pre-commit-hooks
12-
rev: "v4.6.0"
12+
rev: "v5.0.0"
1313
hooks:
1414
- id: check-added-large-files
1515
- id: check-case-conflict
@@ -39,19 +39,19 @@ repos:
3939
args: [--prose-wrap=always]
4040

4141
- repo: https://github.com/asottile/blacken-docs
42-
rev: "1.16.0"
42+
rev: "1.19.1"
4343
hooks:
4444
- id: blacken-docs
4545
additional_dependencies: [black==23.3.0]
4646

4747
- repo: https://github.com/astral-sh/ruff-pre-commit
48-
rev: "v0.4.5"
48+
rev: "v0.11.2"
4949
hooks:
5050
- id: ruff
5151
args: ["--fix", "--show-fixes"]
5252

5353
- repo: https://github.com/pre-commit/mirrors-mypy
54-
rev: "v1.10.0"
54+
rev: "v1.15.0"
5555
hooks:
5656
- id: mypy
5757
files: src|tests
@@ -63,7 +63,7 @@ repos:
6363
- tomli
6464

6565
- repo: https://github.com/codespell-project/codespell
66-
rev: "v2.3.0"
66+
rev: "v2.4.1"
6767
hooks:
6868
- id: codespell
6969

src/dynamic_metadata/loader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from pathlib import Path
77
from typing import Any, Protocol, Union
88

9-
__all__ = ["load_provider", "load_dynamic_metadata"]
9+
__all__ = ["load_dynamic_metadata", "load_provider"]
1010

1111

1212
def __dir__() -> list[str]:
@@ -63,7 +63,7 @@ def load_provider(
6363

6464

6565
def load_dynamic_metadata(
66-
metadata: Mapping[str, Mapping[str, str]]
66+
metadata: Mapping[str, Mapping[str, str]],
6767
) -> Generator[tuple[str, DMProtocols | None, dict[str, str]], None, None]:
6868
for field, orig_config in metadata.items():
6969
if "provider" in orig_config:

0 commit comments

Comments
 (0)