From 27a03f4e2695ddb07a67b047eec37a67d4312cdd Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 28 Jun 2023 10:11:59 +0200 Subject: [PATCH] chore(deps): update dependency mypy to v1.4.1 (#32) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Felix Spöttel <1682504+fspoettel@users.noreply.github.com> --- app/worker/strategies/local.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/worker/strategies/local.py b/app/worker/strategies/local.py index 15a8ec2..bedf9b3 100644 --- a/app/worker/strategies/local.py +++ b/app/worker/strategies/local.py @@ -72,7 +72,7 @@ class LocalStrategy: def run_whisper( self, filepath: str, - task: str, + task: Literal["translate", "transcribe"], config: Optional[schemas.JobConfig], job_id: UUID, ) -> List[Any]: diff --git a/pyproject.toml b/pyproject.toml index febdfa0..6ab13e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ tooling = [ "python-dotenv ==1.0.0", "pytest ==7.4.0", # types - "mypy ==1.0.1", + "mypy ==1.4.1", "types-requests ==2.31.0.1" ]