Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: [pre-commit.ci] automatic update #281

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ fail_fast: false
repos:

- repo: https://github.com/commitizen-tools/commitizen
rev: 3.8.2
rev: v4.4.1
hooks:
- id: commitizen

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 6.0.1
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 23.9.1
rev: 25.1.0
hooks:
- id: black

Expand All @@ -22,7 +22,7 @@ repos:
# - id: flake8

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v5.0.0
hooks:
# - id: check-added-large-files
- id: check-toml
Expand Down
2 changes: 1 addition & 1 deletion proxima/app/link.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 8 additions & 6 deletions proxima/celery/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion proxima/settings/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Loading