(3.1.0)
Some checks failed
Actions / Build (push) Failing after 19s
Actions / Lint with Ruff, Pylint, & MyPy (push) Successful in 22s
Actions / Build Documentation (push) Successful in 25s

- 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:
cswimr 2024-11-15 11:14:33 -05:00
parent a7113babb7
commit c4205fc4f1
Signed by: cswimr
GPG key ID: A9C162E867C851FA
10 changed files with 66 additions and 28 deletions

View file

@ -1,6 +1,5 @@
[project]
name = "pyflowery"
version = "3.0.1"
description = "A Python API wrapper for the Flowery API"
readme = "README.md"
requires-python = "<4.0,>=3.11"
@ -16,6 +15,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version", "urls"]
[dependency-groups]
dev = [
@ -35,6 +35,26 @@ docs = [
[tool.ruff]
line-length = 160
[tool.pylint]
max-line-length = 200
disable = [
"missing-module-docstring",
"too-many-arguments",
"too-many-positional-arguments",
"too-few-public-methods",
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "pyflowery/version.py"
[tool.hatch.metadata.hooks.vcs.urls]
Homepage = "https://www.coastalcommits.com/cswimr/PyFlowery"
Issues = "https://www.coastalcommits.com/cswimr/PyFlowery/issues"
source_archive = "https://www.coastalcommits.com/cswimr/PyFlowery/archive/{commit_hash}.tar.gz"
[build-system]
requires = ["hatchling"]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"