-
-
Notifications
You must be signed in to change notification settings - Fork 74
/
pyproject.toml
142 lines (130 loc) · 3.41 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[project]
name = "param"
dynamic = ["version"]
description = "Make your Python code clearer and more reliable by declaring Parameters."
readme = "README.md"
license = { text = "BSD-3-Clause" }
requires-python = ">=3.9"
authors = [
{ name = "HoloViz", email = "[email protected]" },
]
maintainers = [
{ name = "HoloViz", email = "[email protected]" },
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: Software Development :: Libraries",
]
dependencies = []
[project.optional-dependencies]
examples = [
"aiohttp",
"pandas",
"panel",
]
tests = [
"pytest",
"pytest-asyncio",
]
tests-deser = [
"xlrd",
"openpyxl",
"odfpy",
"pyarrow",
"tables",
]
tests-examples = [
"pytest",
"pytest-asyncio",
"pytest-xdist",
"nbval",
"param[examples]",
]
tests-full = [
"param[tests]",
"param[tests-examples]",
"param[tests-deser]",
"numpy",
"pandas",
"ipython",
"jsonschema",
"gmpy",
"cloudpickle",
"nest_asyncio",
]
all = [
"param[tests-full]",
]
[project.urls]
Homepage = "https://param.holoviz.org/"
Tracker = "https://github.com/holoviz/param/issues"
Releases = "https://github.com/holoviz/param/releases"
Source = "https://github.com/holoviz/param"
HoloViz = "https://holoviz.org/"
[tool.hatch.version]
source = "vcs"
raw-options = { version_scheme = "no-guess-dev" }
[tool.hatch.build.targets.wheel]
include = [
"/param",
"/numbergen",
]
[tool.hatch.build.targets.sdist]
include = [
"/param",
"/numbergen",
"/tests",
]
[tool.hatch.build.hooks.vcs]
version-file = "param/_version.py"
[tool.pytest.ini_options]
addopts = "--color=yes"
python_files = "test*.py"
filterwarnings = [
"error",
]
xfail_strict = "true"
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope="function"
[tool.coverage.report]
omit = ["param/version.py"]
[tool.ruff]
fix = true
include = ["*.py"]
exclude = ["version.py"]
[tool.ruff.lint]
select = ["D", "W", "E", "F"]
ignore = [
"D100", # Missing docstring in public module"
"D101", # Missing docstring in public class"
"D102", # Missing docstring in public method
"D103", # Missing docstring in public function
"D105", # Missing docstring in magic method"
"D205", # 1 blank line required between summary line and description
"D415", # First line should end with a period, question mark, or exclamation point
"D417", # Missing argument description in the docstring for `param_union`: `*parameterizeds`
"E402", # Module level import not at top of file
"E501", # Line too long
"E701", # Multiple statements on one line
"E712", # Comparison to true should be is
"E731", # Do not assign a lambda expression, use a def
"E741", # Ambiguous variable name
"F405", # From star imports
]
[tool.ruff.lint.pydocstyle]
convention = "numpy"