diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 833a540..0ec35a5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ repos: rev: v0.9.10 hooks: - id: ruff - args: [ --fix ] + args: [ --fix, --output-format=github] - id: ruff-format diff --git a/src/auto_archiver/modules/generic_extractor/generic_extractor.py b/src/auto_archiver/modules/generic_extractor/generic_extractor.py index 72b526d..534fb71 100644 --- a/src/auto_archiver/modules/generic_extractor/generic_extractor.py +++ b/src/auto_archiver/modules/generic_extractor/generic_extractor.py @@ -398,7 +398,7 @@ class GenericExtractor(Extractor): ydl_options = [ "-o", - os.path.join(self.tmp_dir, f"%(id)s.%(ext)s"), + os.path.join(self.tmp_dir, "%(id)s.%(ext)s"), "--quiet", "--no-playlist" if not self.allow_playlist else "--yes-playlist", "--write-subs" if self.subtitles else "--no-write-subs",