mirror of
https://github.com/suitenumerique/meet
synced 2026-04-25 17:25:22 +02:00
💚(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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user