github format

This commit is contained in:
Patrick Robertson
2025-03-14 12:51:47 +00:00
parent abaeec0cc6
commit a8e5585e6c
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ repos:
rev: v0.9.10 rev: v0.9.10
hooks: hooks:
- id: ruff - id: ruff
args: [ --fix ] args: [ --fix, --output-format=github]
- id: ruff-format - id: ruff-format

View File

@@ -398,7 +398,7 @@ class GenericExtractor(Extractor):
ydl_options = [ ydl_options = [
"-o", "-o",
os.path.join(self.tmp_dir, f"%(id)s.%(ext)s"), os.path.join(self.tmp_dir, "%(id)s.%(ext)s"),
"--quiet", "--quiet",
"--no-playlist" if not self.allow_playlist else "--yes-playlist", "--no-playlist" if not self.allow_playlist else "--yes-playlist",
"--write-subs" if self.subtitles else "--no-write-subs", "--write-subs" if self.subtitles else "--no-write-subs",