-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
104 lines (91 loc) · 2.3 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
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "xarray-einstats"
description = "Stats, linear algebra and einops for xarray"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [
{name = "ArviZ team", email = "[email protected]"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["version"]
dependencies = [
"numpy>=1.23",
"scipy>=1.9",
"xarray>=2022.09.0",
]
[tool.flit.module]
name = "xarray_einstats"
[tool.setuptools.dynamic]
version = {attr = "xarray_einstats.__version__"}
[project.urls]
source = "https://github.com/arviz-devs/xarray-einstats"
tracker = "https://github.com/arviz-devs/xarray-einstats/issues"
documentation = "https://xarray-einstats.readthedocs.io"
funding = "https://opencollective.com/arviz"
[project.optional-dependencies]
einops = [ "einops" ]
numba = [ "numba>=0.55" ]
test = [
"hypothesis",
"pytest",
"pytest-cov",
"packaging",
]
doc = [
"furo",
"myst-parser[linkify]",
"myst-nb",
"sphinx-copybutton",
"numpydoc",
"sphinx>=5",
"jupyter-sphinx",
"sphinx-design",
"watermark",
"matplotlib",
"sphinx-togglebutton",
]
[tool.black]
line-length = 100
[tool.isort]
profile = "black"
include_trailing_comma = true
use_parentheses = true
multi_line_output = 3
line_length = 100
skip = [
"src/xarray_einstats/__init__.py"
]
[tool.pydocstyle]
convention = "numpy"
[tool.pytest.ini_options]
testpaths = [
"tests",
]
[tool.coverage.run]
source = ["xarray_einstats"]
omit = ["tutorial.py"]
[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 about missing _attemp_default_dims in linalg
"dims = _attempt_default_dims",
]