Skip to content

Commit

Permalink
fix type annotations and bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
antiboredom committed Nov 2, 2023
1 parent 67a6dd5 commit bc64aed
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "videogrep"
version = "2.2.0"
version = "2.2.1"
description = "Videogrep is a command line tool that searches through dialog in video and audio files and makes supercuts based on what it finds. Like grep but for video."
authors = ["Sam Lavigne <[email protected]>"]
license = "Anti-Capitalist"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_videogrep.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def File(path):


def test_version():
assert videogrep.__version__ == "2.2.0"
assert videogrep.__version__ == "2.2.1"


def test_srts():
Expand Down
2 changes: 1 addition & 1 deletion videogrep/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.2.0"
__version__ = "2.2.1"

from . import vtt, srt, sphinx, fcpxml
from .videogrep import (
Expand Down
6 changes: 3 additions & 3 deletions videogrep/videogrep.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def get_input_type(composition: List[dict]):
return input_type


def plan_no_action(composition: list[dict], outputfile: str):
def plan_no_action(composition: List[dict], outputfile: str):
"""
Check if user has asked to convert audio to video, which videogrep does not do.
Expand All @@ -351,7 +351,7 @@ def plan_no_action(composition: list[dict], outputfile: str):
return False


def plan_video_output(composition: list[dict], outputfile: str):
def plan_video_output(composition: List[dict], outputfile: str):
"""
Check if videogrep should create a video output
Expand All @@ -367,7 +367,7 @@ def plan_video_output(composition: list[dict], outputfile: str):
return False


def plan_audio_output(composition: list[dict], outputfile: str):
def plan_audio_output(composition: List[dict], outputfile: str):
"""
Check if videogrep should create an audio output
Expand Down

0 comments on commit bc64aed

Please sign in to comment.