From 148ff00b90ecf10959d0199061e72f85d7139397 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Mar 2026 17:42:30 +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/PyCQA/isort: 5.13.2 → 8.0.1](https://github.com/PyCQA/isort/compare/5.13.2...8.0.1) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.4.2 → 26.3.0](https://github.com/psf/black-pre-commit-mirror/compare/24.4.2...26.3.0) - [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.6.0...v6.0.0) - [github.com/PyCQA/flake8: 7.0.0 → 7.3.0](https://github.com/PyCQA/flake8/compare/7.0.0...7.3.0) --- .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 5ab36e3..8aa7078 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,15 +1,15 @@ repos: - repo: https://github.com/PyCQA/isort - rev: 5.13.2 + rev: 8.0.1 hooks: - id: isort additional_dependencies: [toml] - - repo: https://github.com/psf/black - rev: 24.4.2 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.3.0 hooks: - id: black - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v6.0.0 hooks: - id: check-added-large-files - id: check-case-conflict @@ -28,7 +28,7 @@ repos: args: ["--remove"] - id: requirements-txt-fixer - repo: https://github.com/PyCQA/flake8 - rev: 7.0.0 + rev: 7.3.0 hooks: - id: flake8 - repo: https://github.com/pycqa/pydocstyle From 65398b8d1bf796b887a0abfd1d24a440385734f6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Mar 2026 17:42:51 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- example/manage.py | 1 + example/simpletext/tests.py | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/example/manage.py b/example/manage.py index 195f6b9..fda21c1 100755 --- a/example/manage.py +++ b/example/manage.py @@ -1,5 +1,6 @@ #!/usr/bin/env python """Entrypoint for custom django functions.""" + import os import sys diff --git a/example/simpletext/tests.py b/example/simpletext/tests.py index f51d798..73d6465 100644 --- a/example/simpletext/tests.py +++ b/example/simpletext/tests.py @@ -16,11 +16,9 @@ class SimpleTest(TestCase): self.assertEqual(1 + 1, 2) -__test__ = { - "doctest": """ +__test__ = {"doctest": """ Another way to test that 1 + 1 is equal to 2. >>> 1 + 1 == 2 True -""" -} +"""}