(2.0.1) pylint fixes
All checks were successful
Actions / build (push) Successful in 16s
Actions / lint (push) Successful in 14s
Actions / docs (push) Successful in 23s

This commit is contained in:
Seaswimmer 2024-09-18 10:03:29 -04:00
parent cb87400278
commit 25e61b9a79
Signed by: cswimr
GPG key ID: 3813315477F26F82
3 changed files with 3 additions and 4 deletions

View file

@ -66,8 +66,7 @@ class FloweryAPI:
async for voice in self.fetch_voices(): async for voice in self.fetch_voices():
if voice.id == voice_id: if voice.id == voice_id:
return voice 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]: async def fetch_voices(self) -> AsyncGenerator[Voice, None]:
"""Fetch a list of voices from the Flowery API """Fetch a list of voices from the Flowery API

View file

@ -1 +1 @@
VERSION = "2.0.0" VERSION = "2.0.1"

View file

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "pyflowery" name = "pyflowery"
version = "2.0.0" version = "2.0.1"
description = "A Python API wrapper for the Flowery API" description = "A Python API wrapper for the Flowery API"
authors = ["cswimr <seaswimmerthefsh@gmail.com>"] authors = ["cswimr <seaswimmerthefsh@gmail.com>"]
readme = "README.md" readme = "README.md"