55 lines
1.2 KiB
TOML
55 lines
1.2 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "demos"
|
|
version = "0.1.0"
|
|
description = "Add your description here"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.121.3",
|
|
"graphql-core>=3.2.0",
|
|
"httpx>=0.27.0",
|
|
"playwright>=1.56.0",
|
|
"pydantic>=2.12.4",
|
|
"pydantic-settings>=2.4.0",
|
|
"python-dotenv>=1.2.1",
|
|
"pyyaml>=6.0.2",
|
|
"uvicorn>=0.30.6",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/guide"]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"basedpyright>=1.34.0",
|
|
"ariadne-codegen>=0.13.0",
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.24.0",
|
|
"pytest-cov>=5.0.0",
|
|
]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
python_files = "test_*.py"
|
|
python_classes = "Test*"
|
|
python_functions = "test_*"
|
|
asyncio_mode = "auto"
|
|
addopts = "--strict-markers --tb=short"
|
|
markers = [
|
|
"unit: Unit tests",
|
|
"integration: Integration tests",
|
|
"slow: Slow running tests",
|
|
]
|
|
|
|
[tool.ariadne-codegen]
|
|
remote_schema_url = "https://raindrop-staging.hasura.app/v1/graphql"
|
|
queries_path = "src/guide/app/raindrop/queries"
|
|
target_package_path = "src/guide/app/raindrop/generated"
|
|
schema_converter = "pydantic"
|
|
include_comments = "stable"
|
|
remote_schema_verify_ssl = true
|