-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpyproject.toml
More file actions
89 lines (79 loc) · 2.48 KB
/
Copy pathpyproject.toml
File metadata and controls
89 lines (79 loc) · 2.48 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
[project]
name = "CSET"
dynamic = ["version"]
description = "Toolkit for evaluation and investigation of numerical models for weather and climate applications."
authors = [{ name = "Met Office" }, { name = "NIWA" }]
readme = "README.md"
license = "Apache-2.0"
requires-python = ">=3.12"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Scientific/Engineering",
]
dependencies = [
"numpy",
"scitools-iris >= 3.14.1",
"ruamel.yaml >= 0.17",
"pygraphviz >= 1.11",
"mo_pack >= 0.3.0",
"isodate",
"markdown-it-py >= 3.0",
"nc-time-axis",
"iris-grib",
"scipy",
"scikit-image",
"dask",
"simple-track",
]
[project.urls]
Documentation = "https://metoffice.github.io/CSET"
Source = "https://github.com/MetOffice/CSET"
[project.scripts]
cset = "CSET:main"
[build-system]
requires = ["setuptools>=80", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
[tool.pytest.ini_options]
addopts = ["--import-mode=importlib"]
filterwarnings = [
"ignore:numpy.ndarray size changed:RuntimeWarning",
# Cartopy downloads coastlines, etc. Caching does not catch this for the
# first CI run on each branch.
"ignore::cartopy.io.DownloadWarning",
]
markers = [
"network: test uses external network resources",
"slow: test is slow to run",
]
minversion = "7"
pythonpath = ["src"]
testpaths = ["tests"]
[tool.coverage.run]
branch = true
relative_files = true
source = ["src"]
# TODO: Figure out how to test loaders. This will likely involve having some
# example configurations and may be part of the effort to test the workflow.
# Omit _netCDF4.pyx to work around https://github.com/conda-forge/netcdf4-feedstock/issues/188
omit = ["__main__.py", "src/CSET/loaders/*.py", "_netCDF4.pyx"]
[tool.codespell]
ignore-words-list = "lazyness,meaned,runn"
skip = "build,*.css,*.ipynb,*.js,*.html,*.svg,*.xml,.git"
[tool.ruff]
line-length = 88
src = ["src", "test"]
[tool.ruff.lint]
extend-select = ["B", "D", "I"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"