(2.0.1) pylint fixes
This commit is contained in:
parent
cb87400278
commit
25e61b9a79
3 changed files with 3 additions and 4 deletions
|
@ -66,7 +66,6 @@ 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]:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
VERSION = "2.0.0"
|
VERSION = "2.0.1"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue