-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
89 lines (80 loc) · 2.13 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "stacchip"
authors = [
]
description = "Dynamically create image chips from STAC items"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"pystac>=1.9.0",
"pystac-client>=0.7.5",
"pyarrow>=14.0.1",
"geoarrow-pyarrow>=0.1.2",
"rasterio>=1.3.9",
"numpy>=1.26.0,<2.0",
"boto3>=1.29.0",
"geopandas>=0.14.1",
"rio-stac>=0.9.0",
"planetary-computer>=1.0.0",
]
dynamic = [
"version",
]
[project.urls]
"Homepage" = "https://github.com/Clay-foundation/stacchip"
"Bug Tracker" = "https://github.com/Clay-foundation/stacchip/issues"
[project.optional-dependencies]
dev = [
"ruff",
"pytest",
"mock",
"build",
"types-python-dateutil",
]
docs = [
"nbconvert",
"mkdocs",
"mkdocs-jupyter",
"mkdocs-material",
"pygments",
"pdocs",
]
[project.scripts]
stacchip-sentinel-1 = "stacchip.processors.sentinel_1_processor:process"
stacchip-sentinel-2 = "stacchip.processors.sentinel_2_processor:process"
stacchip-landsat = "stacchip.processors.landsat_processor:process"
stacchip-naip = "stacchip.processors.naip_processor:process"
stacchip-linz = "stacchip.processors.linz_processor:process"
stacchip-modis = "stacchip.processors.modis_processor:process"
stacchip-prechip = "stacchip.processors.prechip:process"
stacchip-stats = "stacchip.processors.stats:process"
[tool.hatch.version]
path = "stacchip/__init__.py"
[tool.isort]
profile = "black"
[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
"D100",
"D103",
"C901",
]
[tool.mypy]
no_implicit_optional = true
strict_optional = true
namespace_packages = true
explicit_package_bases = true