-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpyproject.toml
More file actions
125 lines (114 loc) · 2.73 KB
/
pyproject.toml
File metadata and controls
125 lines (114 loc) · 2.73 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
125
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "stactask"
authors = [{ name = "Matthew Hanson", email = "[email protected]" }]
maintainers = [{ name = "Ian Cooke", email = "[email protected]" }]
description = "Class interface for running custom algorithms and workflows on STAC Items"
readme = "README.md"
requires-python = ">=3.10"
keywords = ["pystac", "imagery", "raster", "catalog", "STAC"]
license = { text = "Apache-2.0" }
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"pystac>=1.6",
"python-dateutil>=2.7.0",
"boto3-utils>=0.3.2",
"fsspec>=2022.8.2",
"stac-asset>=0.3.0",
"jsonpath_ng>=1.5.3",
"requests>=2.28.1",
"s3fs>=2022.8.2",
"py-multihash>=3.0.0",
]
dynamic = [
"version"
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "stactask/__version__.py"
[dependency-groups]
dev = [
"codespell~=2.3",
"mypy~=1.9",
"pre-commit~=4.0",
"pre-commit-hooks~=6.0",
"ruff~=0.15.1",
"boto3-stubs~=1.42.13",
"pytest~=9.0",
"pytest-cov~=7.0",
"pytest-env~=1.1",
"moto~=5.1.18",
"esbonio~=1.0.0",
]
docs = [
"sphinx~=8.1.3",
"sphinx-rtd-theme~=3.0.2",
]
[project.urls]
Issues = "https://github.com/stac-utils/stactask/issues"
Github = "https://github.com/stac-utils/stac-task"
Changelog = "https://github.com/stac-utils/stac-task/blob/main/CHANGELOG.md"
Documentation = "https://stac-task.readthedocs.io/en/stable/"
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = ["boto3utils", "jsonpath_ng.ext", "fsspec"]
ignore_missing_imports = true
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/
select = [
'B',
'BLE',
'C4',
'C90',
'COM',
'DTZ',
'E',
'ERA',
'F',
'FA',
'G',
'I',
'INP',
'N',
'NPY',
'PT',
'PTH',
'RET',
'RUF',
'S',
'SIM',
'T20',
'UP',
'W',
]
ignore = ["COM812"]
exclude = ['docs/**/*']
[tool.ruff.lint.per-file-ignores]
'__init__.py' = ['E402']
'tests/**/*' = ['T201', 'S101', 'ERA001']
[tool.pytest.ini_options]
addopts = "-rx -q -s -vvv"
log_cli_level = "INFO"
log_cli = true
markers = ["system", "unit"]
env = [
"AWS_DEFAULT_REGION=us-west-2",
"AWS_ACCESS_KEY_ID=foo",
"AWS_SECRET_ACCESS_KEY=bar",
"AWS_SESSION_TOKEN=baz",
]
filterwarnings = ["ignore::UserWarning:stactask.*:"]