-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (45 loc) · 1 KB
/
pyproject.toml
File metadata and controls
53 lines (45 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
[build-system]
requires = ["setuptools>=69", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "merit-api"
version = "0.1.0"
description = "River elevation API backed by MERIT-Hydro data."
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.110.0",
"gunicorn>=21.2.0",
"rasterio>=1.4.4",
"uvicorn>=0.29.0",
]
classifiers = ["Private :: Do Not Upload"]
[dependency-groups]
dev = [
{ include-group = "lint" },
{ include-group = "test" },
]
lint = [
"basedpyright==1.28.1",
"ruff==0.11.2",
]
test = [
"httpx==0.27.0",
"pytest==9.0.2",
]
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
include = ["merit_api*"]
[tool.ruff]
line-length = 100
target-version = "py312"
src = ["src", "tests", "scripts"]
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.per-file-ignores]
"scripts/summarize_coverage_quality.py" = ["E402"]
[tool.pytest.ini_options]
pythonpath = ["src", "."]
testpaths = ["tests"]