From b6c8a33171f28d7f13c606b260b2e70d8e8bd587 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 19:59:21 +0000 Subject: [PATCH 1/2] chore: [pre-commit.ci] automatic update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/commitizen-tools/commitizen: 3.8.2 → v4.12.0](https://github.com/commitizen-tools/commitizen/compare/3.8.2...v4.12.0) - [github.com/PyCQA/isort: 5.12.0 → 7.0.0](https://github.com/PyCQA/isort/compare/5.12.0...7.0.0) - https://github.com/psf/black → https://github.com/psf/black-pre-commit-mirror - [github.com/psf/black-pre-commit-mirror: 23.9.1 → 26.1.0](https://github.com/psf/black-pre-commit-mirror/compare/23.9.1...26.1.0) - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v6.0.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.4.0...v6.0.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 eecf753..7bb63f1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,17 +2,17 @@ fail_fast: false repos: - repo: https://github.com/commitizen-tools/commitizen - rev: 3.8.2 + rev: v4.12.0 hooks: - id: commitizen - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 7.0.0 hooks: - id: isort - - repo: https://github.com/psf/black - rev: 23.9.1 + - repo: https://github.com/psf/black-pre-commit-mirror + rev: 26.1.0 hooks: - id: black @@ -22,7 +22,7 @@ repos: # - id: flake8 - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.4.0 + rev: v6.0.0 hooks: # - id: check-added-large-files - id: check-toml From 5d586042b13493b5be2aad6301ccfbb96b7a7d08 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 19:59:32 +0000 Subject: [PATCH 2/2] chore: [pre-commit.ci] automatic fixes --- proxima/app/link.py | 2 +- proxima/celery/tasks.py | 14 ++++++++------ proxima/settings/manager.py | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/proxima/app/link.py b/proxima/app/link.py index 328530b..217b366 100644 --- a/proxima/app/link.py +++ b/proxima/app/link.py @@ -140,7 +140,7 @@ def batch_link(self): logger.critical( "[red bold]Oh dear. All the proxies failed to link.[/]\n" "[red]Resolve might not like your encoding settings or something else is wrong.[/]\n", - exc_info=True + exc_info=True, # TODO: Add troubleshooting wiki link here # Like so: `"[cyan]See [troubleshooting](link)"` # labels: enhancement diff --git a/proxima/celery/tasks.py b/proxima/celery/tasks.py index bb2e3f5..e2ea0b2 100644 --- a/proxima/celery/tasks.py +++ b/proxima/celery/tasks.py @@ -170,12 +170,14 @@ def encode_proxy(self, job_dict: dict) -> str: # labels: enhancement # VIDEO FILTERS "-vf", - f"scale=-2:{ps.vertical_res}," - f"scale={job.input_level}:out_range=limited, " - f"{ffmpeg_video_flip(job)}" - f"format={ps.pix_fmt}" - if ps.pix_fmt - else "", + ( + f"scale=-2:{ps.vertical_res}," + f"scale={job.input_level}:out_range=limited, " + f"{ffmpeg_video_flip(job)}" + f"format={ps.pix_fmt}" + if ps.pix_fmt + else "" + ), # AUDIO "-c:a", ps.audio_codec, diff --git a/proxima/settings/manager.py b/proxima/settings/manager.py index e697f11..53bd6d6 100644 --- a/proxima/settings/manager.py +++ b/proxima/settings/manager.py @@ -19,7 +19,7 @@ from rich import print from rich.panel import Panel -from proxima.app.core import setup_rich_logging, app_exit +from proxima.app.core import app_exit, setup_rich_logging from proxima.settings import dotenv_settings_file, user_settings_file setup_rich_logging()