-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
74 lines (65 loc) · 1.65 KB
/
pyproject.toml
File metadata and controls
74 lines (65 loc) · 1.65 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[project]
name = "eoapi-cdk"
version = "0.0"
requires-python = ">=3.12"
dependencies = [
"stac-api",
"tipg-api",
"titiler-pgstac-api",
"stac-loader",
"stactools-item-generator",
"ingestor-api",
]
[tool.uv.sources]
stactools-item-generator = { path = "lib/stactools-item-generator/runtime" }
stac-loader = { path = "lib/stac-loader/runtime" }
ingestor-api = { path = "lib/ingestor-api/runtime" }
tipg-api = { path = "lib/tipg-api/runtime" }
titiler-pgstac-api = { path = "lib/titiler-pgstac-api/runtime" }
stac-api = { path = "lib/stac-api/runtime" }
[dependency-groups]
deploy = [
"aws-cdk-lib==2.220.0",
"constructs==10.3.0",
"pydantic>=2.11.5",
"pydantic-settings[yaml]>=2.8.1",
"python-dotenv>=1.1.0",
"pyyaml>=6.0.2",
"types-pyyaml>=6.0.12.20250516",
]
dev = [
"aws-lambda-typing>=2.20.0",
"httpx>=0.28.1",
"moto[dynamodb,ssm]>=4.0,<5.0",
"pytest>=8.3.5",
"pytest-mock>=3.14.0",
"pytest-postgresql>=7.0.1",
]
[tool.pytest.ini_options]
addopts = "-vv --ignore=cdk.out --no-header --tb=native"
pythonpath = "."
testpaths = [
"lib/stactools-item-generator/runtime/tests",
"lib/stac-loader/runtime/tests",
"lib/ingestor-api/runtime/tests",
]
[tool.ruff]
line-length = 90
[tool.ruff.lint]
select = [
"F", # flake8
"C", # flake8-comprehensions
"B", # flake8-bugbear
"I001", # isort
]
ignore = [
"E203",
"E266",
"F403",
"E231",
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"B905", # ignore zip() without an explicit strict= parameter
]
[tool.ruff.lint.mccabe]
max-complexity = 18