From 25e61b9a79f54eff0ac104064cf176c5c35ca351 Mon Sep 17 00:00:00 2001 From: cswimr Date: Wed, 18 Sep 2024 10:03:29 -0400 Subject: [PATCH] (2.0.1) pylint fixes --- pyflowery/pyflowery.py | 3 +-- pyflowery/version.py | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pyflowery/pyflowery.py b/pyflowery/pyflowery.py index a99ffb0..2f29b01 100644 --- a/pyflowery/pyflowery.py +++ b/pyflowery/pyflowery.py @@ -66,8 +66,7 @@ class FloweryAPI: async for voice in self.fetch_voices(): if voice.id == voice_id: return voice - else: - raise ValueError(f'Voice with ID {voice_id} not found.') + raise ValueError(f'Voice with ID {voice_id} not found.') async def fetch_voices(self) -> AsyncGenerator[Voice, None]: """Fetch a list of voices from the Flowery API diff --git a/pyflowery/version.py b/pyflowery/version.py index 2101409..b46c2e7 100644 --- a/pyflowery/version.py +++ b/pyflowery/version.py @@ -1 +1 @@ -VERSION = "2.0.0" +VERSION = "2.0.1" diff --git a/pyproject.toml b/pyproject.toml index ca08a97..4453fd7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pyflowery" -version = "2.0.0" +version = "2.0.1" description = "A Python API wrapper for the Flowery API" authors = ["cswimr "] readme = "README.md"