This repository was archived by the owner on Apr 2, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpyproject.toml
97 lines (82 loc) · 1.93 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[tool.poetry]
name = "stapi-fastapi"
# placeholder version filled by poetry-dynamic-versioning
version = "0.0.0"
description = "Sensor Tasking API (STAPI) with FastAPI"
authors = ["Christian Wygoda <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "stapi_fastapi", from="src"}]
[tool.poetry.dependencies]
python = ">=3.12,<4.0"
fastapi = ">=0.115.0"
pydantic = ">=2.10"
geojson-pydantic = ">=1.1"
pygeofilter = ">=0.2"
returns = ">=0.23"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
httpx = ">=0.27.0"
nox = ">=2024.4.15"
mypy = ">=1.13.0"
pre-commit = ">=4.1.0"
pre-commit-hooks = ">=4.6.0"
pydantic-settings = ">=2.2.1"
pymarkdownlnt = ">=0.9.25"
pyrfc3339 = ">=1.1"
pytest = ">=8.1.1"
pytest-coverage = ">=0.0"
ruff = ">=0.9"
types-pyRFC3339 = ">=1.1.1"
uvicorn = ">=0.29.0"
[tool.poetry.scripts]
dev = "stapi_fastapi.__dev__:cli"
[tool.ruff]
line-length = 88
[tool.ruff.format]
quote-style = 'double'
[tool.ruff.lint]
extend-ignore = ["E501", "UP007", "UP034"]
select = [
"C9",
"E",
"F",
"I",
"W",
"UP"
]
[tool.ruff.lint.mccabe]
max-complexity = 8
[tool.coverage.report]
show_missing = true
skip_empty = true
sort = "Cover"
omit = [
"tests/**/*.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",
]
markers = [
"mock_products",
]
[build-system]
requires = [
"poetry-core>=1.0.0",
"poetry-dynamic-versioning>=1.0.0,<2.0.0",]
build-backend = "poetry_dynamic_versioning.backend"
[tool.poetry-dynamic-versioning]
enable = true
[[tool.mypy.overrides]]
module = "pygeofilter.parsers.*"
ignore_missing_imports = true
# [tool.mypy]
#plugins = ['pydantic.mypy']
[tool.pymarkdown]
plugins.md013.line_length = 120
plugins.md024.enabled = false # duplicate headers