-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
130 lines (114 loc) · 2.98 KB
/
Copy pathpyproject.toml
File metadata and controls
130 lines (114 loc) · 2.98 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
121
122
123
124
125
126
127
128
129
130
[build-system]
requires = ["setuptools>=77", "wheel", "setuptools_scm[toml]>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "arm-adapt"
dynamic = ["version"]
description = "Real-Time Analysis, Tracking, and Adaptive Radar Sampling of Convective Storms"
readme = "README.md"
requires-python = ">=3.10"
license = "BSD-3-Clause"
license-files = ["LICENSE*"]
authors = [
{name = "Bhupendra A. Raut", email = "braut@anl.gov"},
]
keywords = ["Radar", "NEXRAD", "tracking", "cell-detection", "adaptive-sampling", "Thunderstorm", "Nowcasting", "TITAN", "Py-ART", "ARM"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dependencies = [
"numpy",
"xarray",
"pandas",
"scipy",
"scikit-image",
"matplotlib",
"networkx",
"h5py",
"netCDF4",
"tqdm",
"pydantic>=2.0",
"pyyaml",
"arm_pyart",
"opencv-python",
"boto3",
"pyarrow",
"duckdb",
]
[project.urls]
Homepage = "https://arm-doe.github.io/Adapt/"
Documentation = "https://arm-doe.github.io/Adapt/"
Repository = "https://github.com/ARM-DOE/Adapt.git"
Issues = "https://github.com/ARM-DOE/Adapt/issues"
[project.scripts]
adapt = "adapt.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-cov",
"import-linter>=2.0",
"pre-commit>=4.0",
]
docs = [
"sphinx>=7.0",
"pydata-sphinx-theme>=0.15",
"sphinx-autodoc-typehints",
"myst-parser>=2.0",
]
maps = [
"contextily",
"pyproj",
]
[tool.setuptools]
include-package-data = true
platforms = ["Linux", "Mac OS-X", "Unix", "Windows"]
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
[tool.setuptools.package-data]
"adapt.data" = ["user_config.py"]
"adapt.configuration.schemas" = ["*.sql"]
"adapt.config" = ["*.yaml"]
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "dirty-tag"
[tool.pytest.ini_options]
addopts = "-ra --strict-markers"
testpaths = ["tests"]
minversion = "7.0"
markers = [
"unit: fast unit tests (no IO)",
"pipeline: pipeline tests with mocks",
"integration: tests requiring real or on-disk data",
"slow: long-running tests",
"determinism: identical inputs + config must give identical outputs",
]
[tool.coverage.run]
branch = true
source = ["src/adapt"]
[tool.coverage.report]
ignore_errors = true
precision = 2
[tool.ruff]
line-length = 100
target-version = "py311"
src = ["src"]
[tool.ruff.lint]
select = [
"E", # syntax / style errors
"F", # logic bugs (undefined vars, etc.)
"I", # import hygiene
"B", # bug patterns
"UP", # modern Python upgrades
"SIM", # simplifications (often removes subtle mistakes)
]
[tool.ruff.lint.isort]
known-first-party = ["adapt"]
[tool.mypy]
ignore_missing_imports = true