-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpyproject.toml
More file actions
120 lines (103 loc) · 2.41 KB
/
Copy pathpyproject.toml
File metadata and controls
120 lines (103 loc) · 2.41 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
112
113
114
115
116
117
118
119
120
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "next-pass"
version = "1.3.0"
description = "Predict the next satellite overpass (S1/S2/L8/L9) over an AOI and query OPERA products."
readme = "README.md"
requires-python = ">=3.10"
license = { file = "LICENSE" }
authors = [
{ name = "Emre Havazli, Ines Fenni, Cole Speed, and OPERA Disaster Response Team" },
]
keywords = [
"satellite",
"remote-sensing",
"sar",
"sentinel-1",
"sentinel-2",
"landsat",
"opera",
"earth-observation",
"overpass",
]
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: GIS",
]
dynamic = ["dependencies"]
[tool.setuptools.dynamic]
dependencies = { file = ["requirements.txt"] }
[project.urls]
Homepage = "https://github.com/OPERA-Cal-Val/next_pass"
Source = "https://github.com/OPERA-Cal-Val/next_pass"
Issues = "https://github.com/OPERA-Cal-Val/next_pass/issues"
[project.scripts]
"next-pass" = "next_pass:main"
[tool.setuptools]
py-modules = ["next_pass"]
[tool.setuptools.packages.find]
include = ["utils"]
[tool.black]
line-length = 88
target-version = ['py310', 'py311', 'py312', 'py313']
include = '\.pyi?$'
extend-exclude = '''
/(
# directories
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| build
| dist
)/
'''
[tool.isort]
profile = "black"
line_length = 88
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"--strict-markers",
"--strict-config",
"-ra",
]
markers = [
"integration: marks tests as integration tests (hitting live APIs)",
"slow: marks tests as slow running",
]
[tool.coverage.run]
source = ["utils", "."]
omit = [
"tests/*",
"setup.py",
"*/__pycache__/*",
"*/site-packages/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"def __repr__",
"raise AssertionError",
"raise NotImplementedError",
"if __name__ == .__main__.:",
"if TYPE_CHECKING:",
"@abstractmethod",
]