forked from holoviz/panel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
75 lines (70 loc) · 1.89 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
[build-system]
requires = [
"param >=2.0.0",
"pyct >=0.4.4",
"setuptools >=42",
"bokeh >=3.3.0,<3.4.0",
"pyviz_comms >=0.7.4",
"requests",
"packaging",
"tqdm >=4.48.0",
"markdown",
"wheel"
]
[tool.ruff]
exclude = [
".git",
"__pycache__",
".tox",
".eggs",
"*.egg",
"doc",
"dist",
"build",
"_build",
"examples",
".ipynb_checkpoints",
"node_modules",
"apps",
]
line-length = 165
fix = true
[tool.ruff.lint]
ignore = [
"E402",
"E712",
"E731",
"E741",
"W605",
"E701", # Multiple statements on one line
"B006", # Do not use mutable data structures for argument defaults
]
select = [
"B",
"E",
"F",
"W",
"PIE",
"T20",
]
[tool.ruff.lint.per-file-ignores]
"panel/tests/ui/jupyter_server_test_config.py" = ["F821"]
"panel/compiler.py" = ["T201"]
"panel/io/convert.py" = ["T201"]
"panel/pane/vtk/synchronizable_*.py" = ["T201"]
[tool.codespell]
ignore-words-list = "nd,doubleclick,ser"
skip = "doc/generate_modules.py,examples/reference/templates/FastGridTemplate.ipynb,panel/eslint.js,panel/package-lock.json,panel/package.json"
write-changes = true
[tool.pytest.ini_options]
addopts = "-v --pyargs --doctest-ignore-import-errors --color=yes"
norecursedirs = "doc .git dist build _build .ipynb_checkpoints panel/examples"
xfail_strict = true
filterwarnings = [
# 2023-11: ChatBox and ChatRow are deprecated
"ignore:'pn.widgets.ChatBox' is deprecated and will be removed in version 1.4",
"ignore:'pn.widgets.ChatRow' is deprecated and will be removed in version 1.4",
# 2023-11: `pkg_resources` is deprecated
"ignore:Deprecated call to `pkg_resources.+?'zope:DeprecationWarning", # https://github.com/zopefoundation/meta/issues/194
"ignore: pkg_resources is deprecated as an API:DeprecationWarning:streamz.plugins", # https://github.com/python-streamz/streamz/issues/460
]