(3.1.0)
- improved version logic - now using hatch and hatch-vcs to automatically generate versions based on git tag / git commit / distance from last tag - raise an error if the voices cache is not populated correctly - lint with mypy in actions - use pyproject.toml for pylint configuration
This commit is contained in:
parent
a7113babb7
commit
c4205fc4f1
10 changed files with 66 additions and 28 deletions
|
@ -2,7 +2,7 @@ import asyncio
|
|||
import logging
|
||||
import sys
|
||||
|
||||
from pyflowery import VERSION, FloweryAPI, FloweryAPIConfig
|
||||
from pyflowery import FloweryAPI, FloweryAPIConfig, __version__
|
||||
|
||||
root = logging.getLogger()
|
||||
root.setLevel(level=logging.DEBUG)
|
||||
|
@ -13,7 +13,7 @@ formatter = logging.Formatter(fmt="%(asctime)s - %(name)s - %(levelname)s - %(me
|
|||
handler.setFormatter(fmt=formatter)
|
||||
root.addHandler(hdlr=handler)
|
||||
|
||||
api = FloweryAPI(config=FloweryAPIConfig(user_agent=f"PyFloweryTests/{VERSION}"))
|
||||
api = FloweryAPI(config=FloweryAPIConfig(user_agent=f"PyFloweryTests/{__version__}"))
|
||||
|
||||
ALEXANDER = "fa3ea565-121f-5efd-b4e9-59895c77df23" # TikTok
|
||||
JACOB = "38f45366-68e8-5d39-b1ef-3fd4eeb61cdb" # Microsoft Azure
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue