From 22d08dc2bead9f58b198fa5ed08740bd3e79bece Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 09:15:23 +0800 Subject: [PATCH] chore: pre-commit autoupdate (#103) --- .pre-commit-config.yaml | 12 ++++++------ scripts/get_width_height.py | 1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bf7f1a7..e18acef 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ # pre-commit autoupdate repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v4.5.0 hooks: - id: check-added-large-files args: ["--maxkb=3000"] @@ -17,7 +17,7 @@ repos: - id: check-yaml - repo: https://github.com/asottile/pyupgrade - rev: v3.14.0 + rev: v3.15.2 hooks: - id: pyupgrade args: [--py38-plus] @@ -34,24 +34,24 @@ repos: - id: python-check-blanket-noqa - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 24.3.0 hooks: - id: black args: ["--config", "pyproject.toml"] - repo: https://github.com/hadialqattan/pycln - rev: v2.2.2 + rev: v2.4.0 hooks: - id: pycln args: [--config=pyproject.toml] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.0.292 + rev: v0.3.5 hooks: - id: ruff types: [python] diff --git a/scripts/get_width_height.py b/scripts/get_width_height.py index 23a0c62..d4416b5 100644 --- a/scripts/get_width_height.py +++ b/scripts/get_width_height.py @@ -2,6 +2,7 @@ Needs cleaning up... And move to using async, etc. """ + import argparse import asyncio from io import BytesIO