-
Notifications
You must be signed in to change notification settings - Fork 40
/
pyproject.toml
112 lines (101 loc) · 2.53 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "xskillscore"
version = "0.0.26"
dependencies = [
"dask[array]",
"numpy",
"properscoring",
"scipy",
"statsmodels",
"xarray>=0.16.1",
"xhistogram>=0.3.0",
]
authors = [{name = "Ray Bell", email = "[email protected]"}]
description = "Metrics for verifying forecasts"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Mathematics",
]
requires-python = ">=3.9"
license = {file = "LICENSE.txt"}
dynamic = ["readme"]
[project.optional-dependencies]
accel = ["bottleneck", "numba>=0.52"]
test = [
"bottleneck",
"cftime",
"matplotlib",
"numba>=0.52",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-xdist",
"scikit-learn",
]
complete = [
"bottleneck",
"cftime",
"doc8",
"matplotlib",
"nbsphinx",
"nbstripout",
"numba>=0.52",
"pre-commit",
"pytest",
"pytest-cov",
"pytest-xdist",
"pytest-sugar",
"scikit-learn",
"sphinx",
"sphinx-autosummary-accessors",
"sphinx-copybutton",
"sphinx-rtd-theme>=1.0",
"sphinxcontrib-napoleon",
]
[project.urls]
repository = "https://github.com/xarray-contrib/xskillscore"
documentation = "https://xskillscore.readthedocs.io/en/stable/"
[tool.setuptools]
packages = ["xskillscore"]
[tool.setuptools_scm]
fallback_version = "9999"
[tool.setuptools.dynamic]
readme = {file = ["README.rst"], content-type = "text/markdown"}
[tool.pytest.ini_options]
python_files = "test_*.py"
testpaths = ["xskillscore/tests"]
addopts = "--color=yes --verbose"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.doc8]
max-line-length = 100
ignore-path = [".eggs/", "docs/source/api/"]
[tool.ruff]
extend-include = ["*.ipynb"]
lint.select = [
# Pyflakes
"E",
# pycodestyle
"F",
# isort
"I001",
]
# Ignore `F401` (imported but unused) in all `__init__.py` files
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
[tool.mypy]
ignore_missing_imports = true
follow_imports = "silent"