From b6828a711add987ac3962cce049211a17be5e7ba Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:57:26 +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: v5.0.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v5.0.0...v6.0.0) - [github.com/asottile/pyupgrade: v3.18.0 → v3.21.2](https://github.com/asottile/pyupgrade/compare/v3.18.0...v3.21.2) - [github.com/PyCQA/isort: 5.13.2 → 7.0.0](https://github.com/PyCQA/isort/compare/5.13.2...7.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 24.10.0 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/24.10.0...26.1.0) - [github.com/PyCQA/flake8: 7.1.1 → 7.3.0](https://github.com/PyCQA/flake8/compare/7.1.1...7.3.0) --- .pre-commit-config.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7fdb3405..33da3063 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v5.0.0 + rev: v6.0.0 hooks: - id: check-ast - id: debug-statements @@ -19,7 +19,7 @@ repos: - id: text-unicode-replacement-char - repo: https://github.com/asottile/pyupgrade - rev: v3.18.0 + rev: v3.21.2 hooks: - id: pyupgrade @@ -30,7 +30,7 @@ repos: args: [ --futures=true ] - repo: https://github.com/PyCQA/isort - rev: 5.13.2 + rev: 7.0.0 hooks: - id: isort @@ -39,13 +39,13 @@ repos: hooks: - id: autoflake - - repo: https://github.com/psf/black - rev: 24.10.0 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 - rev: 7.1.1 + rev: 7.3.0 hooks: - id: flake8 fail_fast: true From 5169246e0663e610d8fcbcd48dd8869d6707bdca Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 19 Jan 2026 20:57:43 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- app/base/utils/functions.py | 2 +- manage.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/base/utils/functions.py b/app/base/utils/functions.py index af28c54b..8720d6fc 100644 --- a/app/base/utils/functions.py +++ b/app/base/utils/functions.py @@ -27,7 +27,7 @@ def status_by_method(method: str) -> int: def choices_to_help_text( - choices: type[models.Choices] | Iterable[tuple[Any, str]] + choices: type[models.Choices] | Iterable[tuple[Any, str]], ) -> str: transcripts = [] if isinstance(choices, type) and issubclass(choices, Choices): diff --git a/manage.py b/manage.py index 8c45ccf3..a6934832 100644 --- a/manage.py +++ b/manage.py @@ -1,5 +1,6 @@ #!/usr/bin/env python """Django's command-line utility for administrative tasks.""" + import os import sys