Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
52 lines (45 loc) · 1.51 KB
/
Copy pathpyproject.toml
File metadata and controls
52 lines (45 loc) · 1.51 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
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "ocean-sentinel"
version = "0.1.0"
description = "Satellite-based oil-spill investigation and vessel-attribution system"
requires-python = ">=3.10"
license = {text = "MIT"}
authors = [{name = "Ocean Sentinel Team"}]
dependencies = [
"httpx>=0.27,<1.0",
"pydantic>=2.5,<3.0",
"pydantic-settings>=2.1,<3.0",
"python-dotenv>=1.0,<2.0",
"shapely>=2.0,<3.0",
"geojson>=3.0,<4.0",
"rasterio>=1.3,<2.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0,<10.0",
"pytest-asyncio>=0.23,<2.0",
"respx>=0.21,<1.0",
"ruff>=0.3,<1.0",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
filterwarnings = [
"ignore::rasterio.errors.NotGeoreferencedWarning",
"ignore:Use `@` matmul instead of `\\*` mul operator for matrix multiplication:PendingDeprecationWarning:rasterio.windows",
]
markers = [
"unit: Fast, isolated in-memory unit tests with no external dependencies or real data.",
"integration: Integration tests exercising multiple components, services, or file I/O.",
"real_data: Tests that require real satellite rasters, masks, manifests, or cached checkpoints.",
"slow: Heavyweight tests with extensive disk I/O or computation (e.g. inspecting 1,200 GeoTIFFs).",
"timeout(seconds): Explicit execution time limit for a test.",
]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]