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 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