(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
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue