mycopunk-swag/cli/pyproject.toml

91 lines
2.2 KiB
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "mycopunk"
version = "0.1.0"
description = "CLI tool for managing mycopunk merchandise and POD fulfillment"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
authors = [
{ name = "Jeff Emmett", email = "jeff@jeffemmett.com" }
]
keywords = ["merchandise", "print-on-demand", "cli", "design"]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Graphics",
]
dependencies = [
"typer[all]>=0.9.0",
"rich>=13.0.0",
"pyyaml>=6.0",
"httpx>=0.25.0",
"python-dotenv>=1.0.0",
"pillow>=10.0.0",
"pydantic>=2.0.0",
"jinja2>=3.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=7.4.0",
"pytest-cov>=4.1.0",
"pytest-asyncio>=0.21.0",
"black>=23.0.0",
"ruff>=0.1.0",
"mypy>=1.5.0",
"types-PyYAML>=6.0.0",
]
[project.scripts]
mycopunk = "mycopunk.cli:app"
[project.urls]
Homepage = "https://gitea.jeffemmett.com/jeffemmett/mycopunk-swag"
Documentation = "https://gitea.jeffemmett.com/jeffemmett/mycopunk-swag/wiki"
Repository = "https://gitea.jeffemmett.com/jeffemmett/mycopunk-swag.git"
Issues = "https://gitea.jeffemmett.com/jeffemmett/mycopunk-swag/issues"
[tool.hatch.build.targets.wheel]
packages = ["mycopunk"]
[tool.black]
line-length = 100
target-version = ["py310", "py311", "py312"]
[tool.ruff]
line-length = 100
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long (handled by black)
]
[tool.mypy]
python_version = "3.10"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"