-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
90 lines (81 loc) · 2.43 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
[project]
name = "stac-asset"
version = "0.4.3"
description = "Read and download STAC assets across platforms and providers"
authors = [{ name = "Pete Gadomski", email = "[email protected]" }]
readme = "README.md"
keywords = ["stac", "async"]
classifiers = [
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 4 - Beta",
]
license = { text = "Apache-2.0" }
requires-python = ">=3.9"
dependencies = [
"aiofiles>=23.1.0",
"aiobotocore>=2.5.0",
"aiohttp>=3.8.4",
"pystac>=1.8.4",
"python-dateutil>=2.7.0",
"yarl>=1.9.2",
"aiohttp-oauth2-client>=1.0.2",
"aiohttp-retry>=2.8.3",
]
[project.optional-dependencies]
cli = [
"click~=8.1.5",
"click-logging~=1.0.1",
"tabulate~=0.9.0",
"tqdm~=4.66.1",
]
dev = [
"mypy~=1.3",
"pre-commit~=3.3",
"pystac[validation]>=1.8.4",
"pytest~=8.2",
"pytest-asyncio~=0.21",
"pytest-cov>=5.0",
"pytest-recording~=0.13.1",
"ruff==0.6.3",
"types-aiofiles~=24.1",
"types-python-dateutil~=2.9",
"types-tqdm~=4.66.0",
"types-tabulate~=0.9.0",
]
docs = ["pydata-sphinx-theme~=0.13", "sphinx~=8.0", "sphinx-click~=6.0"]
[project.scripts]
stac-asset = "stac_asset._cli:cli"
[project.urls]
Github = "https://github.com/stac-utils/stac-asset"
CHANGELOG = "https://github.com/stac-utils/stac-asset/blob/main/CHANGELOG.md"
Issues = "https://github.com/stac-utils/stac-asset/issues"
[tool.mypy]
strict = true
[[tool.mypy.overrides]]
module = [
"aiobotocore.session",
"aiobotocore",
"botocore",
"botocore.config",
"click_logging",
]
ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = [
"ignore:inheritance class OAuth2Client from ClientSession is discouraged:DeprecationWarning", # https://github.com/VITObelgium/aiohttp-oauth2-client/issues/1
"ignore:datetime.datetime.utcnow.*:DeprecationWarning:botocore", # https://github.com/boto/boto3/issues/3889
]
[tool.ruff.lint]
select = ["F", "E", "W", "I", "ERA", "RUF", "D"]
ignore = ["D100", "D105", "D107"]
[tool.ruff.lint.per-file-ignores]
"tests/**/*.py" = ["D"]
"docs/conf.py" = ["D"]
"src/stac_asset/_cli.py" = ["D301"]
[tool.ruff.lint.pydocstyle]
convention = "google"