-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
63 lines (52 loc) · 1.45 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
[tool.poetry]
name = "stapi-fastapi-umbra"
version = "0.0.1"
description = "Spatio Temporal Asset Tasking with FastAPI, for Umbra!"
authors = ["Justin Palmer <jaypalm1@gmail.com>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "3.12.*"
fastapi = "^0.115.0"
pydantic = "^2.6.4"
geojson-pydantic = "^1.0.2"
stapi_fastapi = { git = "https://github.com/stapi-spec/stapi-fastapi", rev = "080ad6d" }
[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"
pre-commit = "^3.7.0"
[tool.poetry.group.lambda.dependencies]
mangum = "^0.17.0"
[tool.poetry.scripts]
umbra = "stapi_fastapi_umbra.__dev__:cli"
[tool.ruff]
line-length = 100
[tool.ruff.lint]
extend-ignore = ["E501", "UP007", "UP034", "E701"]
select = ["C9", "E", "F", "I", "W", "UP"]
[tool.ruff.lint.isort]
[tool.ruff.lint.mccabe]
max-complexity = 8
[tool.coverage.report]
show_missing = true
skip_empty = true
sort = "Cover"
omit = ["**/*_test.py", "**/conftest.py", "stapi_fastapi/__dev__.py"]
[tool.pytest.ini_options]
addopts = "--cov=stapi_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"
python = ">=3.10"
fastapi = "^0.110.0"
pydantic = "^2.6.4"
geojson-pydantic = "^1.0.2"