diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cd59492..4d66ebc 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,20 +7,20 @@ ci: autoupdate_commit_msg: ":arrow_up: auto update by pre-commit hooks" repos: - repo: https://github.com/hadialqattan/pycln - rev: v2.4.0 + rev: v2.6.0 hooks: - id: pycln args: [--config, pyproject.toml] stages: [pre-commit] - repo: https://github.com/pycqa/isort - rev: 5.13.2 + rev: 7.0.0 hooks: - id: isort stages: [pre-commit] - - repo: https://github.com/psf/black - rev: 24.10.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 25.11.0 hooks: - id: black stages: [pre-commit] diff --git a/nonebot_plugin_orm/__main__.py b/nonebot_plugin_orm/__main__.py index 777d254..dd3c07e 100644 --- a/nonebot_plugin_orm/__main__.py +++ b/nonebot_plugin_orm/__main__.py @@ -69,7 +69,7 @@ def orm(ctx: click.Context, config: Path, name: str, **_) -> None: def update_cmd_opts( - f: Callable[Concatenate[AlembicConfig, _P], _R] + f: Callable[Concatenate[AlembicConfig, _P], _R], ) -> Callable[_P, _R]: @wraps(f) @click.pass_context