-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
116 lines (101 loc) · 2.19 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
[build-system]
requires = ["hatchling>=1.22.2", "hatch-vcs>=0.3.0"]
build-backend = "hatchling.build"
[project]
name = "stac_geoparquet"
authors = [{ name = "Tom Augspurger", email = "[email protected]" }]
readme = "README.md"
license = { file = "LICENSE" }
classifiers = ["License :: OSI Approved :: MIT License"]
dynamic = ["version", "description"]
requires-python = ">=3.8"
dependencies = [
"ciso8601",
"deltalake",
"geopandas",
"packaging",
"pandas",
# Needed for RecordBatch.append_column
"pyarrow>=16",
"pyproj",
"pystac",
"shapely",
"orjson",
'typing_extensions; python_version < "3.11"',
]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "stac_geoparquet/_version.py"
[project.optional-dependencies]
docs = [
"black",
"griffe-inherited-docstrings",
"mike>=2",
"mkdocs-jupyter",
"mkdocs-material[imaging]>=9.5",
"mkdocs",
"mkdocstrings[python]>=0.25.1",
]
pgstac = [
"fsspec",
"psycopg[binary,pool]",
"pypgstac",
"python-dateutil",
"tqdm",
]
pc = ["adlfs", "azure-data-tables", "psycopg[binary,pool]", "pypgstac", "tqdm"]
test = [
"mypy",
"numpy>=2",
"pre-commit",
"pytest",
"requests",
"stac-geoparquet[pc]",
"stac-geoparquet[pgstac]",
"types-python-dateutil",
"types-requests",
]
[project.urls]
Home = "https://github.com/stac-utils/stac-geoparquet"
[project.scripts]
pc-geoparquet = "stac_geoparquet.cli:main"
[tool.pytest.ini_options]
minversion = "6.0"
filterwarnings = ["ignore:.*distutils Version.*:DeprecationWarning"]
[tool.mypy]
python_version = "3.10"
[[tool.mypy.overrides]]
module = [
"ciso8601.*",
"fsspec.*",
"geopandas.*",
"pandas.*",
"pyarrow.*",
"pypgstac.*",
"pyproj.*",
"rich.*",
"shapely.*",
"tqdm.*",
]
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "stac_geoparquet.*"
disallow_untyped_defs = true
[tool.ruff.lint]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# isort
"I",
]
ignore = [
"E501", # Line too long
]
[tool.ruff.lint.extend-per-file-ignores]
"__init__.py" = [
"F401", # Allow unused imports in __init__.py files
]