-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (94 loc) · 2.83 KB
/
pyproject.toml
File metadata and controls
111 lines (94 loc) · 2.83 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
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
include-package-data = true
zip-safe = false
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools_scm]
[project]
name = "burst2safe"
requires-python = ">=3.10"
dynamic = ["version"]
authors = [
{name="Forrest Williams", email="ffwilliams2@alaska.edu"},
]
maintainers = [
{name="ASF APD/Tools Team", email="uaf-asf-apd@alaska.edu"},
]
description = "A package for converting ASF-derived Sentinel-1 burst SLC products to the ESA SAFE format"
readme = "README.md"
classifiers=[
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: OS Independent",
"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 = [
"gdal",
"shapely>=2.1.0",
"numpy",
"lxml",
"tifffile>=2022.04.22",
"asf_search",
"dateparser!=1.1.0",
"aiohttp>=3.12.6",
]
[project.urls]
Homepage = "https://github.com/ASFHyP3/burst2safe"
"Bug Tracker" ="https://github.com/ASFHyP3/burst2safe/issues"
[project.scripts]
burst2safe = "burst2safe.burst2safe:main"
burst2stack = "burst2safe.burst2stack:main"
local2safe = "burst2safe.local2safe:main"
[project.optional-dependencies]
develop = [
"pytest",
]
[tool.pytest.ini_options]
minversion = "6.0"
addopts = '-ra -q -m "not integration and not golden"'
markers = ["integration", "golden"]
testpaths = ["tests"]
[tool.ruff]
line-length = 120
# The directories to consider when resolving first- vs. third-party imports.
# See: https://docs.astral.sh/ruff/settings/#src
src = ["src", "tests"]
[tool.ruff.format]
indent-style = "space"
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
# TODO: Uncomment the following extensions and address their warnings:
# "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 = "google"
[tool.ruff.lint.isort]
case-sensitive = true
lines-after-imports = 2
[tool.ruff.lint.flake8-annotations]
suppress-dummy-args = true
[tool.ruff.lint.extend-per-file-ignores]
"tests/*" = ["D1", "ANN"]
[tool.mypy]
python_version = "3.12"
warn_redundant_casts = true
warn_unused_ignores = true
warn_unreachable = true
strict_equality = true
check_untyped_defs = true
install_types = true
non_interactive = true
pretty = true
disable_error_code = ["import-untyped"]