-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
66 lines (58 loc) · 1.34 KB
/
pyproject.toml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
[tool.poetry]
name = "stat-fastapi-up42"
version = "0.0.0"
description = "Spatio Temporal Asset Tasking with FastAPI"
authors = ["Felix Delattre <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
fastapi = "^0.110.0"
pydantic = "^2.6.4"
geojson-pydantic = "^1.0.2"
stat-fastapi = { git = "https://github.com/stat-utils/stat-fastapi.git", branch = "main" }
requests = "^2.31.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.1.1"
ruff = "^0.3.4"
uvicorn = "^0.29.0"
pydantic-settings = "^2.2.1"
httpx = "^0.27.0"
pytest-coverage = "^0.0"
pyrfc3339 = "^1.1"
skyfield = "^1.48"
shapely = "^2.0.3"
pre-commit = "^3.7.0"
[tool.poetry.scripts]
up42 = "stat_fastapi_up42.__dev__:cli"
[tool.ruff]
extend-ignore = ["E501", "UP007", "UP034"]
line-length = 88
select = [
"C9",
"E",
"F",
"I",
"W",
"UP"
]
[tool.ruff.mccabe]
max-complexity = 8
[tool.coverage.report]
show_missing = true
skip_empty = true
sort = "Cover"
omit = [
"**/*_test.py",
"**/conftest.py",
"stat_fastapi/__dev__.py",
]
[tool.pytest.ini_options]
addopts="--cov=stat_fastapi"
filterwarnings = [
"ignore:The 'app' shortcut is now deprecated.:DeprecationWarning",
"ignore:Pydantic serializer warnings:UserWarning",
]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"