From 3ebb26da455e87578b8fa11e0b871f05c1c86acf Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 20:16:46 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v5.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v5.0.0) - [github.com/psf/black: 23.1.0 → 25.1.0](https://github.com/psf/black/compare/23.1.0...25.1.0) - [github.com/PyCQA/isort: 5.12.0 → 6.0.1](https://github.com/PyCQA/isort/compare/5.12.0...6.0.1) - [github.com/pre-commit/mirrors-mypy: v1.1.1 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.1.1...v1.15.0) - [github.com/asottile/pyupgrade: v3.3.1 → v3.19.1](https://github.com/asottile/pyupgrade/compare/v3.3.1...v3.19.1) --- .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 686446e..2e4c6df 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ exclude: '^$|venv' repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v5.0.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -11,7 +11,7 @@ repos: - id: check-yaml - id: debug-statements - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 25.1.0 hooks: - id: black language_version: python3.9 @@ -21,18 +21,18 @@ repos: - id: autoflake args: [ '--in-place', '--remove-all-unused-imports', '--remove-unused-variable' ] - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 6.0.1 hooks: - id: isort args: ['--line-length=79'] language_version: python3.9 - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.1.1 + rev: v1.15.0 hooks: - id: mypy additional_dependencies: [types-requests, types-PyYAML, types-Flask, types-Werkzeug] - repo: https://github.com/asottile/pyupgrade - rev: v3.3.1 + rev: v3.19.1 hooks: - id: pyupgrade args: [--py36-plus] From 4752e7bde87cde52c5e81609d06144b3b8b9dd83 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 3 Mar 2025 20:19:14 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- stubs/httplib2/iri2uri.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stubs/httplib2/iri2uri.py b/stubs/httplib2/iri2uri.py index 7e6d31f..303b4c4 100644 --- a/stubs/httplib2/iri2uri.py +++ b/stubs/httplib2/iri2uri.py @@ -1,2 +1 @@ -def iri2uri(uri: str) -> str: - ... +def iri2uri(uri: str) -> str: ...