-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
90 lines (75 loc) · 2.33 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
[build-system]
requires = ["setuptools>=64.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "dist-s1"
authors = [
{ name = "Richard West, Charlie Marshak, Talib Oliver-Cabrera, and Jungkyo Jung", email = "[email protected]"},
]
description = "The workflow to generate the DIST-S1 product"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = '>=3.12'
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python",
"Topic :: Scientific/Engineering",
]
license = { text = 'Apache-2.0' }
dynamic = ['version']
dependencies = ['numpy', 'asf_search', 'geopandas', 'rasterio']
[project.urls]
Homepage = "https://github.com/opera-adt/dist-s1"
"Bug Tracker" = "https://github.com/opera-adt/dist-s1/issues"
"Discussions" = "https://github.com/opera-adt/dist-s1/discussions"
"Changelog" = "https://github.com/opera-adt/dist-s1/releases"
[project.scripts]
"dist-s1" = "dist_s1.__main__:cli"
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["notebooks*", "tests*"]
[tool.setuptools.dynamic]
readme = { file = ['README.md'], content-type = 'text/markdown' }
[tool.setuptools.package-data]
dist_s1 = ["py.typed"]
[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/"
]
indent-width = 4
[tool.ruff.format]
quote-style = "single"
[tool.ruff.lint]
extend-select = [
"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
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
case-sensitive = true
lines-after-imports = 2