-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
97 lines (84 loc) · 2.11 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
[tool.poetry]
name = "stitchee"
version = "1.6.1"
description = "NetCDF4 Along-existing-dimension Concatenation Service"
authors = ["Daniel Kaufman <[email protected]>"]
readme = "README.md"
repository = "https://github.com/nasa/stitchee"
license = "Apache-2.0"
classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules"
]
packages = [
{ include = "concatenator" },
]
[tool.poetry.scripts]
stitchee_harmony = 'concatenator.harmony.cli:main'
stitchee = 'concatenator.run_stitchee:main'
[tool.poetry.dependencies]
python = "^3.10"
netcdf4 = ">=1.6.5"
xarray = ">=2024.3.0"
pystac = ">=0.5.3"
importlib-metadata = ">=8.4.0"
[tool.poetry.group.dev.dependencies]
pytest = ">=8.1.1"
mypy = ">=1.9.0"
ruff = ">=0.5.0"
pytest-cov = ">=5.0.0"
mkdocs = ">=1.6.0"
markdown-callouts = ">=0.4.0"
markdown-include = ">=0.8.1"
mkdocstrings = ">=0.25.1"
mkdocs-jupyter = ">=0.24.7"
mkdocs-material = ">=9.5.22"
[tool.poetry.group.harmony.dependencies]
harmony-service-lib = ">=2.0.0"
[tool.poetry.group.integration.dependencies]
harmony-py = ">=0.4.15"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[[tool.mypy.overrides]]
module = "netCDF4.*"
ignore_missing_imports = true
[tool.ruff]
builtins = ["ellipsis"]
exclude = [
".eggs",
"doc",
"_typed_ops.pyi",
]
# Allow lines to be as long as 100.
line-length = 100
target-version = "py310"
[tool.ruff.lint]
# E402: module level import not at top of file
# E501: line too long - let black worry about that
# E731: do not assign a lambda expression, use a def
ignore = [
"E402",
"E501",
"E731",
]
select = [
"F", # Pyflakes
"E", # Pycodestyle
"W",
"I", # isort
"UP", # Pyupgrade
]
[tool.coverage.run]
concurrency = ["multiprocessing"]
[tool.coverage.report]
# Regexes for lines to exclude from consideration
exclude_lines = [
# Have to re-enable the standard pragma
"pragma: no cover",
# Don't complain if tests don't hit defensive assertion code:
"raise AssertionError",
"raise NotImplementedError",
# Don't complain if non-runnable code isn't run:
"if 0:",
"if __name__ == .__main__.:"
]