-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
120 lines (106 loc) · 2.72 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
113
114
115
116
117
118
119
120
[build-system]
requires = ["flit_core >=3.4,<4"]
build-backend = "flit_core.buildapi"
[project]
name = "arviz-plots"
readme = "README.md"
requires-python = ">=3.10"
license = {file = "LICENSE"}
authors = [
{name = "ArviZ team", email = "arvizdevs@gmail.com"}
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"Framework :: Matplotlib",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
dynamic = ["version", "description"]
dependencies = [
"arviz-base @ git+https://github.com/arviz-devs/arviz-base",
"arviz-stats[xarray] @ git+https://github.com/arviz-devs/arviz-stats",
]
[tool.flit.module]
name = "arviz_plots"
[project.urls]
source = "https://github.com/arviz-devs/arviz-plots"
tracker = "https://github.com/arviz-devs/arviz-plots/issues"
documentation = "https://arviz-plots.readthedocs.io"
funding = "https://opencollective.com/arviz"
[project.optional-dependencies]
matplotlib = ["matplotlib"]
bokeh = ["bokeh"]
plotly = ["plotly>5", "webcolors"]
test = [
"hypothesis",
"pytest",
"pytest-cov",
"h5netcdf",
]
doc = [
"sphinx-book-theme",
"myst-parser[linkify]",
"myst-nb",
"sphinx-copybutton",
"numpydoc",
"sphinx>=5,<8",
"sphinx-design",
"jupyter-sphinx",
"h5netcdf",
]
[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/arviz_plots/__init__.py"
]
[tool.pydocstyle]
convention = "numpy"
match_dir = "^(?!docs|.tox).*"
[tool.mypy]
python_version = "3.10"
warn_redundant_casts = true
warn_unused_configs = true
pretty = true
show_error_codes = true
show_error_context = true
show_column_numbers = true
disallow_any_generics = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_incomplete_defs = true
check_untyped_defs = true
disallow_untyped_decorators = true
no_implicit_optional = true
warn_unused_ignores = true
warn_return_any = true
no_implicit_reexport = true
# More strict checks for library code
[[tool.mypy.overrides]]
module = "arviz_plots"
disallow_untyped_defs = true
# Ignore certain missing imports
# [[tool.mypy.overrides]]
# module = "thirdparty.*"
# ignore_missing_imports = true
[tool.pytest.ini_options]
filterwarnings = ["error"]
addopts = "--durations=10"
testpaths = [
"tests",
]
[tool.coverage.run]
source = ["arviz_plots"]