view pyproject.toml @ 7:d98cb018fad7

add pytest-watcher
author drewp@bigasterisk.com
date Sat, 16 Mar 2024 12:36:13 -0700
parents b4dc3eb1f92b
children 0bc06da6bf74
line wrap: on
line source

[project]
name = "rdferry"
version = "0.1.0"
description = "ferry RDF graphs around"
authors = [
    {name = "drew", email = "drewp@bigasterisk.com"},
]
dependencies = [
    "rdflib>=7.0.0",
    "uvicorn>=0.28.0",
    "starlette>=0.37.2",
    "prometheus-client>=0.20.0",
]
requires-python = ">=3.11"
readme = "README.md"
license = {text = "MIT"}

[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"


[tool.pdm]
distribution = true

[tool.pdm.dev-dependencies]
dev = [
    "pytest>=8.1.1",
    "aiohttp>=3.9.3",
    "pytest-asyncio>=0.23.5.post1",
    "pytest-watcher>=0.4.1",
]

[tool.pdm.scripts]
test.help = "Run tests in current environment"
test.cmd = "pytest"
watch.help = "Run tests when files change"
watch.cmd = "ptw ."
presubmit.help = "Install to scratch project and run tests on that"
presubmit.cmd = "./pretxncommit.sh"