From 33085c63da9dd51ac560870a691132ddd2217804 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 21:41:14 +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/psf/black-pre-commit-mirror: 25.11.0 → 26.3.1](https://github.com/psf/black-pre-commit-mirror/compare/25.11.0...26.3.1) - [github.com/pycqa/isort: 7.0.0 → 9.0.0a3](https://github.com/pycqa/isort/compare/7.0.0...9.0.0a3) - [github.com/editorconfig-checker/editorconfig-checker: v3.6.0 → v3.6.1](https://github.com/editorconfig-checker/editorconfig-checker/compare/v3.6.0...v3.6.1) - [github.com/python-jsonschema/check-jsonschema: 0.35.0 → 0.37.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.35.0...0.37.2) - [github.com/rhysd/actionlint: v1.7.9 → v1.7.12](https://github.com/rhysd/actionlint/compare/v1.7.9...v1.7.12) --- .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 18286e77..6e97fe51 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,12 +34,12 @@ repos: - "--py310-plus" - repo: "https://github.com/psf/black-pre-commit-mirror" - rev: "25.11.0" + rev: "26.3.1" hooks: - id: "black" - repo: "https://github.com/pycqa/isort" - rev: "7.0.0" + rev: "9.0.0a3" hooks: - id: "isort" @@ -52,19 +52,19 @@ repos: - "flake8-bugbear==24.12.12" - repo: "https://github.com/editorconfig-checker/editorconfig-checker" - rev: "v3.6.0" + rev: "v3.6.1" hooks: - id: "editorconfig-checker" - repo: "https://github.com/python-jsonschema/check-jsonschema" - rev: "0.35.0" + rev: "0.37.2" hooks: - id: "check-dependabot" - id: "check-github-workflows" - id: "check-readthedocs" - repo: "https://github.com/rhysd/actionlint" - rev: "v1.7.9" + rev: "v1.7.12" hooks: - id: "actionlint" additional_dependencies: From 8e936e7375d5659c34cac430a7e8b8a434aa2451 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 4 May 2026 21:41:36 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- feedparser/datetimes/rfc822.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feedparser/datetimes/rfc822.py b/feedparser/datetimes/rfc822.py index 48dfd209..649f15e3 100644 --- a/feedparser/datetimes/rfc822.py +++ b/feedparser/datetimes/rfc822.py @@ -133,7 +133,7 @@ def _parse_date_rfc822(date): time_parts = parts[3].split(":") time_parts.extend(("0",) * (3 - len(time_parts))) try: - (hour, minute, second) = (int(i) for i in time_parts) + hour, minute, second = (int(i) for i in time_parts) except ValueError: return None