Files
bpe-jigsaw/pyproject.toml
Doc 3b089bf334 Added settings for black and mypy. Added optional 'rich'
Configured the linter, formatter and type checker (black and mypy). Add optional dependency for rich; which makes it easier to view data.
2025-11-06 20:08:22 -05:00

65 lines
1.1 KiB
TOML

[project]
name = "bpe-jigsaw"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
license = { file = "LICENSE" }
authors = [
{ name = "Doc", email = "lastdoc39@gmail.com" }
]
requires-python = ">=3.12"
dependencies = [
"cc-ampapi>=1.3.0",
"fastapi>=0.120.1",
"httpx>=0.28.1",
"pip>=25.3",
"pycord>=0.1.1",
]
[project.scripts]
bpe-jigsaw = "bpe_jigsaw.cli:main"
[project.optional-dependencies]
cli = [
"rich>=14.2.0",
]
[build-system]
requires = ["uv_build>=0.9.4,<0.10.0"]
build-backend = "uv_build"
[tool.pytest.ini_options]
pythonpath = "src"
testpaths=["tests"]
norecursedirs=[".git", ".venv"]
addopts = ["import-mode=importlib"]
[tool.mypy]
mypy_path = [ "src", "tests" ]
[tool.ruff]
line-length = 120
indent-width = 4
target-version = "py312"
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[dependency-groups]
dev = [
"pip>=25.3",
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
"ruff>=0.14.4",
]