-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
80 lines (66 loc) · 1.56 KB
/
pyproject.toml
File metadata and controls
80 lines (66 loc) · 1.56 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
[project]
name = "ecmwfspec"
dynamic = ["version"]
description = "fsspec implementation for ECMWF File Storage System"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"fsspec",
"dask",
"universal-pathlib",
"typing_extensions; python_version<'3.11'",
"xarray<=2024.11.0"
]
[dependency-groups]
tests = [
"mock",
"pre-commit",
"netCDF4",
"numpy",
"pandas",
"xarray",
"zarr<3.0.0",
"pytest",
"pytest-cov",
]
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm.version]
source = "scm"
[tool.ruff]
line-length = 87
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.isort]
profile = "black"
multi_line_output = 3
[tool.mypy]
files = "ecmwfspec/core.py"
strict = false
warn_unused_ignores = true
warn_unreachable = true
show_error_codes = true
install_types = true
non_interactive = true
warn_unused_configs = true
disallow_untyped_defs = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = false
warn_redundant_casts = true
[tool.coverage.run]
omit = ["*/tests/*", "ecmwfspec/_version.py"]
concurrency = ["multiprocessing"]
[tool.coverage.report]
exclude_lines = ["pragma: no cover"]
[project.urls]
"Homepage" = "https://github.com/observingClouds/ecmwfspec"
[project.entry-points."fsspec.specs"]
ec = "ecmwfspec.ECFileSystem"
ectmp = "ecmwfspec.ECTmpFileSystem"
[project.entry-points."universal_pathlib.implementations"]
ec = "ecmwfspec.core:ECFSPath"
ectmp = "ecmwfspec.core:ECFSPath"
[tool.pdm.scripts]
post_install = "pre-commit install"