-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathpyproject.toml
More file actions
124 lines (114 loc) · 2.52 KB
/
Copy pathpyproject.toml
File metadata and controls
124 lines (114 loc) · 2.52 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
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
[project]
name = "odc-stac"
description = "Tooling for converting STAC metadata to ODC data model"
version = "0.5.2"
authors = [
{name = "Open Data Cube"}
]
maintainers = [
{name = "Open Data Cube"}
]
readme = "README.rst"
license = {text = "Apache License 2.0"}
requires-python = ">=3.10"
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: GIS",
"Typing :: Typed"
]
dependencies = [
"affine",
"odc-geo>=0.4.7",
"odc-loader>=0.6.4", # custom fuser support in resolve_load_cfg from 0.6.4
"rasterio>=1.0.0,!=1.3.0,!=1.3.1",
"dask[array]",
"numpy>=1.20.0",
"pandas",
"pystac>=1.0.0,<2",
"toolz",
"typing-extensions",
"xarray>=0.19"
]
[dependency-groups]
dev = [
"odc-stac[botocore, docs, test-all]",
"ruff",
]
docs = [
"odc-stac[docs]",
]
[project.optional-dependencies]
botocore = ["botocore"]
docs = [
"sphinx",
"sphinx_rtd_theme",
"nbsphinx",
"sphinx-autodoc-typehints",
"matplotlib-inline",
"pandas",
"distributed",
"ipython",
"ipykernel"
]
test = [
"pytest",
"pytest-cov",
"pytest-timeout",
"pystac_client",
"distributed",
"geopandas"
]
test-all = [
"pytest",
"pytest-cov",
"pytest-timeout",
"pystac_client",
"distributed",
"geopandas",
"stackstac"
]
[project.urls]
Documentation = "https://odc-stac.readthedocs.io/en/latest/"
"Bug Reporting" = "https://github.com/opendatacube/odc-stac/issues"
Homepage = "https://github.com/opendatacube/odc-stac/"
[build-system]
requires = ["flit_core >=3.2,<4"]
build-backend = "flit_core.buildapi"
[tool.flit.module]
name = "odc.stac"
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
allow_redefinition = true
enable_error_code = ["explicit-override"]
warn_redundant_casts = true
warn_unused_ignores = true
plugins = "numpy.typing.mypy_plugin"
explicit_package_bases = true
[tool.coverage.run]
omit = [
"tests/*",
"*/test_*"
]
[tool.pylint.messages_control]
max-line-length = 120
max-args = 15
max-positional-arguments = 12
disable = [
"missing-function-docstring",
"invalid-name",
"fixme",
"wrong-import-order",
"duplicate-code",
"ungrouped-imports",
]
[tool.ruff.lint]
select = [
"I", # Isort
]