PyFlowery/pyproject.toml
cswimr c4205fc4f1
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
(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
2024-11-15 11:14:33 -05:00

60 lines
1.5 KiB
TOML

[project]
name = "pyflowery"
description = "A Python API wrapper for the Flowery API"
readme = "README.md"
requires-python = "<4.0,>=3.11"
dependencies = [
"aiohttp>=3.11.2",
]
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dynamic = ["version", "urls"]
[dependency-groups]
dev = [
"mypy>=1.13.0",
"pylint>=3.3.1",
"ruff>=0.7.3",
]
docs = [
"mkdocs>=1.6.1",
"mkdocs-git-authors-plugin>=0.9.2",
"mkdocs-git-revision-date-localized-plugin>=1.3.0",
"mkdocs-material[imaging]>=9.5.44",
"mkdocs-redirects>=1.2.2",
"mkdocstrings[python]>=0.27.0",
]
[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", "hatch-vcs"]
build-backend = "hatchling.build"