poc-dataset-to-endpoint / pyproject.toml
jinnovation's picture
set up hatch
fc18ad8 verified
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "poc-dataset-endpoint"
version = "0.0.1"
description = ''
readme = "README.md"
requires-python = ">=3.11"
license = "MIT"
keywords = []
authors = [
{ name = "Jonathan Jin", email = "me@jonathanj.in" },
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
dependencies = [
"datasets",
"huggingface-hub",
"requests",
"fastapi",
]
[tool.hatch.envs.types]
extra-dependencies = [
"mypy>=1.0.0",
]
[tool.hatch.envs.types.scripts]
check = "mypy --install-types --non-interactive {args:src/poc_dataset_endpoint tests}"
[tool.coverage.run]
source_pkgs = ["poc_dataset_endpoint", "tests"]
branch = true
parallel = true
omit = [
"src/poc_dataset_endpoint/__about__.py",
]
[tool.coverage.paths]
poc_dataset_endpoint = ["src/poc_dataset_endpoint", "*/poc-dataset-endpoint/src/poc_dataset_endpoint"]
tests = ["tests", "*/poc-dataset-endpoint/tests"]
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]