-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
135 lines (123 loc) · 3.22 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
[project]
name = "titiler.cmr"
description = "Connect Common Metadata Repository (CMR) and TiTiler."
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [
{name = "Aimee Barciauskas", email = "[email protected]"},
{name = "Vincent Sarago", email = "[email protected]"},
]
keywords = [
"TiTiler",
"NASA CMR",
]
classifiers = [
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: GIS",
]
dependencies = [
"titiler.core>=0.19.0,<0.20",
"titiler.mosaic>=0.19.0,<0.20",
"titiler.xarray>=0.19.0,<0.20",
"cftime~=1.6.4",
"earthaccess~=0.11.0",
"fsspec~=2024.9.0",
"h5netcdf~=1.1.0",
"orjson~=3.10.7",
"pydantic-settings~=2.0",
"pydantic>=2.4,<3.0",
"rio_tiler[s3]>=7.2.0,<8.0",
"rioxarray~=0.13.4",
"s3fs~=2024.9.0",
"xarray~=2024.9.0",
"geojson-pydantic>=1.1.1",
"python-dateutil>=2.9.0.post0",
"httpx>=0.27.2",
"pillow>=11.0.0",
"isodate>=0.7.2",
"psutil>=6.0.0",
]
dynamic = ["version"]
[project.optional-dependencies]
uvicorn = [
"uvicorn",
]
dev = [
"folium",
"jupyterlab>=4.2.5",
"matplotlib",
"pre-commit",
]
test = [
"pytest>=8.3.3",
"pytest-cov>=5.0.0",
"pytest-asyncio>=0.24.0",
"pytest-mock>=3.14.0",
"pytest-recording>=0.13.2",
"freezegun>=1.5.1",
]
[project.urls]
Homepage = 'https://developmentseed.org/titiler-cmr/'
Documentation = "https://developmentseed.org/titiler-cmr/"
Issues = "https://github.com/developmentseed/titiler-cmr/issues"
Source = "https://github.com/developmentseed/titiler-cmr"
Changelog = "https://developmentseed.org/titiler-cmr/release-notes/"
[build-system]
requires = ["pdm-pep517"]
build-backend = "pdm.pep517.api"
[tool.pdm.version]
source = "scm"
[tool.pdm.build]
includes = ["titiler/cmr"]
excludes = ["tests/", "**/.mypy_cache", "**/.DS_Store"]
[tool.coverage.run]
branch = true
parallel = true
[tool.coverage.report]
exclude_lines = [
"no cov",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
]
[tool.isort]
profile = "black"
known_first_party = ["titiler"]
known_third_party = [
"rasterio",
"morecantile",
"rio_tiler",
"cogeo_mosaic",
"geojson_pydantic",
]
default_section = "THIRDPARTY"
[tool.ruff]
select = [
"D1", # pydocstyle errors
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # flake8
"C", # flake8-comprehensions
"B", # flake8-bugbear
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"B905", # ignore zip() without an explicit strict= parameter, only support with python >3.10
]
[tool.mypy]
no_implicit_optional = true
strict_optional = true
namespace_packages = true
explicit_package_bases = true
[tool.pytest.ini_options]
filterwarnings = [
"ignore::rasterio.errors.NotGeoreferencedWarning",
]
markers = "vcr: records network activity"
addopts = "-Werror --cov=titiler.cmr --cov-report=term-missing --cov-report=xml"