-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpyproject.toml
122 lines (107 loc) · 3.3 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
117
118
119
120
121
122
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = 'dem_stitcher'
requires-python = '>=3.9'
authors = [
{name ='Charlie Marshak, David Bekaert, Michael Denbina, Marc Simard, Joseph H. Kennedy, Simran Sangha, Grace Bato', email ='[email protected]'}
]
description = 'Download and merge DEM tiles'
license = {text = 'Apache-2.0'}
classifiers = [
'Intended Audience :: Science/Research',
'Natural Language :: English',
'Operating System :: OS Independent',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
]
dynamic = ['version', 'readme']
dependencies = [
'affine',
'boto3', # required for rasterio vsis3 support
'geopandas',
'importlib_metadata', # drop when py>=3.8
'numpy',
'pyproj',
'rasterio',
'requests',
'shapely',
'tqdm',
]
[project.optional-dependencies]
develop = [
"pytest",
"pytest-cov",
"flake8",
"flake8-import-order",
"flake8-blind-except",
"flake8-builtins",
]
[project.urls]
Homepage = "https://github.com/ACCESS-Cloud-Based-InSAR/dem-stitcher"
"Bug Tracker" = "https://github.com/ACCESS-Cloud-Based-InSAR/dem-stitcher/issues"
[tool.setuptools]
include-package-data = true
zip-safe = true
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["notebooks*", "tests*"]
[tool.setuptools.dynamic]
readme = { file = ["README.md"], content-type = "text/markdown" }
[tool.setuptools_scm]
[tool.ruff]
line-length = 120
src = ["src", "tests"]
exclude = [
".eggs",
".git",
".ipynb_checkpoints",
".mypy_cache",
".pytest_cache",
".ruff_cache",
".vscode",
"__pypackages__",
"_build",
"build",
"dist",
"site-packages",
"notebooks/*",
"tests/data/*",
]
indent-width = 4
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
[tool.ruff.lint]
select = [
"F", # flake8: https://docs.astral.sh/ruff/rules/#flake8-f
"E", # flake8: https://docs.astral.sh/ruff/rules/#flake8-e
"I", # isort: https://docs.astral.sh/ruff/rules/#isort-i
"UP", # pyupgrade: https://docs.astral.sh/ruff/rules/#pyupgrade-up
"D", # pydocstyle: https://docs.astral.sh/ruff/rules/#pydocstyle-d
"ANN", # annotations: https://docs.astral.sh/ruff/rules/#flake8-annotations-ann
"PTH", # use-pathlib-pth: https://docs.astral.sh/ruff/rules/#flake8-use-pathlib-pth
"TRY", # tryceratops
]
ignore = [
"D100", # Missing docstring in public module
"D101", # Missing docstring in public class
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D104", # Missing docstring in public package
"D105", # Missing docstring in magic method
"D203", # 1 blank line required before class docstring
"D213", # Multi-line docstring summary should start at the second line
"TRY003", # Avoid specifying long messages outside the exception
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
case-sensitive = true
lines-after-imports = 2