101 lines
2.8 KiB
TOML
101 lines
2.8 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", # CLI framework
|
|
"datasets>=2.0.0", # HuggingFace datasets
|
|
"rich>=13.0.0", # Terminal formatting and progress bars
|
|
"rdflib>=7.0.0", # RDF parsing and processing
|
|
"pyarrow>=14.0.0", # Parquet/Arrow data
|
|
"httpx>=0.25.0", # HTTP client (async)
|
|
"requests>=2.31.0", # HTTP client (sync)
|
|
"google-api-python-client>=2.0.0", # Google Sheets API
|
|
"google-auth>=2.0.0", # Google authentication
|
|
"python-dotenv>=1.0.0", # Environment variable management
|
|
"huggingface-hub>=0.19.0", # HuggingFace Hub uploads
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
tests = [
|
|
"behave>=1.3.3", # BDD testing framework
|
|
"coverage>=7.11.0", # Code coverage reporting
|
|
"asv>=0.6.5", # Benchmarking tool
|
|
"robotframework>=7.3.2" # Acceptance testing framework
|
|
]
|
|
docs = [
|
|
"mkdocs>=1.6.1", # Documentation generator
|
|
"mkdocs-material>=9.6.0" # Material theme for MkDocs
|
|
]
|
|
|
|
[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", "scripts"]
|
|
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"
|