💚(summary) add ruff ignore on ffprobe run

It's hard to know the ffprobe path before hand depending on the
environment, so I prefer to ignore the linting error.
This commit is contained in:
Florent Chehab
2026-04-23 11:30:10 +02:00
parent 28acbb5459
commit 75ebf7ae83

View File

@@ -155,6 +155,7 @@ class FileService:
def _validate_duration(self, local_path: Path) -> float:
"""Validate audio file duration against configured maximum."""
# ruff: noqa: S607 Hard to know the ffprobe path, it depends on the deployment
result = subprocess.run(
[
"ffprobe",