-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (48 loc) · 1.06 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (48 loc) · 1.06 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
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "floatmatcher"
version = "0.1.0"
description = "A python library for third-party dataset matchup with Argo floats"
readme = "README.md"
license = {text = "EUPL-1.2"}
requires-python = ">=3.11"
authors = [
{name = "Clement WEBER", email = "clement.weber@pokapok.org"},
]
dependencies = [
"numpy<2.5", # 2.5+ stubs need Python 3.12 syntax;
"xarray",
"scipy",
"pandas",
"dask",
"netCDF4",
]
[dependency-groups]
dev = [
"pytest>=7.0.0",
"pytest-cov",
"mypy",
"ruff",
]
[tool.hatch.build.targets.wheel]
packages = ["src/floatmatcher"]
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -q"
testpaths = ["tests"]
[tool.mypy]
python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true
exclude = ["^tests/"]
[[tool.mypy.overrides]]
module = ["scipy.*", "pandas.*"]
ignore_missing_imports = true
[tool.ruff]
line-length = 110
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F"]