98 lines
2.2 KiB
TOML
98 lines
2.2 KiB
TOML
[build-system]
|
|
requires = ["hatchling>=1.21.0"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "app-boilerplate"
|
|
version = "0.1.0"
|
|
description = "Replace with a short summary of your project."
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = {text = "MIT"}
|
|
authors = [
|
|
{name = "Your Name", email = "your.email@example.com"},
|
|
]
|
|
keywords = ["python", "template", "boilerplate"]
|
|
classifiers = [
|
|
"Development Status :: 3 - Alpha",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
]
|
|
|
|
dependencies = [
|
|
"click>=8.3.0",
|
|
# Add your actual dependencies here:
|
|
"datasets>=2.0.0", # HuggingFace datasets
|
|
"rich>=13.0.0", # Terminal formatting
|
|
"rdflib>=7.0.0", # RDF processing
|
|
"pyarrow>=14.0.0", # Parquet/Arrow data
|
|
"httpx>=0.25.0", # HTTP client (async)
|
|
"requests>=2.31.0", # HTTP client (sync)
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
tests = [
|
|
"behave>=1.3.3",
|
|
"coverage>=7.11.0",
|
|
"asv>=0.6.5",
|
|
"robotframework>=7.3.2"
|
|
]
|
|
docs = [
|
|
"mkdocs>=1.6.1",
|
|
"mkdocs-material>=9.6.0"
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://example.com/placeholder-homepage"
|
|
Documentation = "https://example.com/placeholder-docs"
|
|
Repository = "https://example.com/placeholder-repo"
|
|
Issues = "https://example.com/placeholder-issues"
|
|
|
|
[project.scripts]
|
|
app-boilerplate = "boilerplate.cli:main"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/boilerplate"]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py313"
|
|
src = ["src", "tests", "benchmarks"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "W", "B", "UP", "I", "SIM", "RUF"]
|
|
ignore = []
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
"__init__.py" = ["F401"]
|
|
|
|
[tool.pyright]
|
|
include = ["src"]
|
|
exclude = ["**/.nox", "**/__pycache__", "**/site-packages"]
|
|
pythonVersion = "3.13"
|
|
|
|
[tool.coverage.run]
|
|
source = ["src"]
|
|
branch = true
|
|
parallel = true
|
|
omit = [
|
|
"*/tests/*",
|
|
"*/test_*",
|
|
"features/*",
|
|
"*/features/*",
|
|
"*/__pycache__/*",
|
|
"*/site-packages/*",
|
|
"*/venv/*",
|
|
"*/.venv/*",
|
|
"*/.nox/*",
|
|
]
|
|
data_file = "build/.coverage"
|
|
|
|
[tool.coverage.html]
|
|
directory = "build/htmlcov"
|
|
|
|
[tool.coverage.xml]
|
|
output = "build/coverage.xml"
|